Update copyright dates with scripts/update-copyrights.
[glibc.git] / ChangeLog
blob5e251835042a334ef71e0ba00a0468475a792024
1 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3         * All files with FSF copyright notices: Update copyright dates
4         using scripts/update-copyrights.
5         * intl/plural.c: Regenerated.
6         * locale/programs/charmap-kw.h: Likewise.
7         * locale/programs/locfile-kw.h: Likewise.
9 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11         [BZ #20593]
12         Update DNS RR type definitions.
13         * scripts/gen-rrtypes.py: New file.
14         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
15         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
16         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
17         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
18         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
19         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
20         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
21         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
22         ns_t_ta, ns_t_dlv.
23         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
24         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
25         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
26         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
27         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
28         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
29         Define.
30         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
31         entry for ns_t_zxfr.
33 2016-12-31  Florian Weimer  <fweimer@redhat.com>
35         [BZ #18784]
36         CVE-2015-5180
37         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
38         T_UNSPEC.  Adjust value.
39         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
40         * resolv/res_query.c (__libc_res_nquery): Likewise.
41         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
42         QTYPEs.
43         * resolv/tst-resolv-qtypes.c: New file.
44         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
45         (tst-resolv-qtypes): Link against libresolv and libpthread.
47 2016-12-31  Florian Weimer  <fweimer@redhat.com>
49         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
51 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
53         * manual/tunables.texi: New chapter.
54         * manual/Makefile (chapters): Add it.
55         * manual/probes.texi (@node): Point to the Tunables chapter.
57         * Makeconfig (have-tunables): Check for non-negative instead
58         of positive.
59         * configure.ac: Add 'valstring' as a valid value for
60         --enable-tunables.
61         * configure: Regenerate.
62         * elf/Makefile (have-tunables): Check for non-negative instead
63         of positive.
64         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
65         dl-tunables.c.
66         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
67         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
68         (tunables_strdup): Likewise.
69         (disable_tunables): Likewise.
70         (parse_tunables): Likewise.
71         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
72         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
73         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
74         (TUNABLES_FRONTEND_yes): New macro, define as
75         TUNABLES_FRONTEND_valstring by default.
76         * manual/install.texi: Document new acceptable values for
77         --enable-tunables.
78         * INSTALL: Regenerate.
80         * config.make.in (have-loop-to-function): Define.
81         * elf/Makefile (CFLAGS-dl-tunables.c): Add
82         -fno-tree-loop-distribute-patterns.
83         * elf/dl-tunables.c: Include libc-internals.h.
84         (GLIBC_TUNABLES): New macro.
85         (tunables_strdup): New function.
86         (parse_tunables): New function.
87         (min_strlen): New function.
88         (__tunables_init): Use the new functions and macro.
89         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
90         * malloc/tst-malloc-usable-tunables.c: New test case.
91         * malloc/tst-malloc-usable-static-tunables.c: New test case.
92         * malloc/Makefile (tests, tests-static): Add tests.
94         * manual/install.texi: Add --enable-tunables option.
95         * INSTALL: Regenerate.
96         * README.tunables: New file.
97         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
98         (before-compile): Generate dl-tunable-list.h early.
99         * config.h.in: Add HAVE_TUNABLES.
100         * config.make.in: Add have-tunables.
101         * configure.ac: Add --enable-tunables option.
102         * configure: Regenerate.
103         * csu/init-first.c (__libc_init_first): Move
104         __libc_init_secure earlier...
105         * csu/init-first.c (LIBC_START_MAIN):... to here.
106         Include dl-tunables.h, libc-internal.h.
107         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
108         binaries.
109         * elf/Makefile (dl-routines): Add dl-tunables.
110         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
111         namespace.
112         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
113         only when !HAVE_TUNABLES.
114         * elf/rtld.c (process_envvars): Likewise.
115         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
116         (_dl_sysdep_start): Call __tunables_init.
117         * elf/dl-tunable-types.h: New file.
118         * elf/dl-tunables.c: New file.
119         * elf/dl-tunables.h: New file.
120         * elf/dl-tunables.list: New file.
121         * malloc/tst-malloc-usable-static.c: New test case.
122         * malloc/Makefile (tests-static): Add it.
123         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
124         Define TUNABLE_NAMESPACE.
125         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
126         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
127         callback functions.
128         (ptmalloc_init): Set tunable values.
129         * scripts/gen-tunables.awk: New file.
130         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
131         (_dl_sysdep_start): Call __tunables_init.
133 2016-12-31  Florian Weimer  <fweimer@redhat.com>
135         * resolv/resolv.h (RES_BLAST): Deprecate.
136         * resolv/res_debug.c (p_option): Remove RES_BLAST.
137         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
138         to RES_BLAST.
140 2016-12-27  Florian Weimer  <fweimer@redhat.com>
142         [BZ #19582]
143         Deprecate RES_USE_INET6.
144         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
145         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
146         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
147         RES_USE_INET6.
148         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
149         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
150         (_nss_nisplus_gethostbyaddr_r): Likewise.
151         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
152         of res_use_inet6.
153         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
154         instead of RES_USE_INET6.
155         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
156         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
157         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
158         Likewise.
159         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
160         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
161         Likewise.
162         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
163         (_nss_dns_gethostbyname_r): Likewise.
164         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
165         alternate RES_USE_INET6 handling.
166         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
167         instead of RES_USE_INET6.
168         * resolv/res_init.c (res_setoptions): Likewise.
169         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
170         * resolv/resolv-internal.h: New file.
171         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
172         make the deprecation warning non-fatal.
173         * resolv/README (Using the resolver in multi-threaded code): Drop
174         reference to RES_USE_INET6.
175         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
176         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
178 2016-12-31  Florian Weimer  <fweimer@redhat.com>
180         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
181         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
182         tst-resolv-search.
183         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
184         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
185         with libresolv and libpthread.
186         * resolv/tst-bug18665.c: New file.
187         * resolv/tst-bug18665-tcp: Likewise.
188         * resolv/tst-res_use_inet6: Likewise.
189         * resolv/tst-resolv-basic: Likewise.
190         * resolv/tst-resolv-network: Likewise.
191         * resolv/tst-resolv-search: Likewise.
192         * support/Makefile (libsupport-routines): Add check_addrinfo,
193         check_dns_packet, check_hostent, check_netent, resolv_test,
194         support_format_address_family, support_format_addrinfo,
195         support_format_dns_packet, support_format_herrno,
196         support_format_hostent, support_format_netent, support_run_diff,
197         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
198         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
199         xstrdup, xwrite.
200         * support/check_addrinfo.c: New file.
201         * support/check_dns_packet.c: Likewise.
202         * support/check_hostent.c: Likewise.
203         * support/check_netent.c: Likewise.
204         * support/check_nss.h: Likewise.
205         * support/format_nss.h: Likewise.
206         * support/resolv_test.c: Likewise.
207         * support/resolv_test.h: Likewise.
208         * support/run_diff.h: Likewise.
209         * support/support_format_address_family.c: Likewise.
210         * support/support_format_addrinfo.c: Likewise.
211         * support/support_format_dns_packet.c: Likewise.
212         * support/support_format_herrno.c: Likewise.
213         * support/support_format_hostent.c: Likewise.
214         * support/support_format_netent.c: Likewise.
215         * support/support_run_diff.c: Likewise.
216         * support/xaccept.c: Likewise.
217         * support/xbind.c: Likewise.
218         * support/xconnect.c: Likewise.
219         * support/xfclose.c: Likewise.
220         * support/xfopen.c: Likewise.
221         * support/xgetsockname.c: Likewise.
222         * support/xlisten.c: Likewise.
223         * support/xmemstream.c: Likewise.
224         * support/xmemstream.h: Likewise.
225         * support/xpoll.c: Likewise.
226         * support/xpthread_once.c: Likewise.
227         * support/xrecvfrom.c: Likewise.
228         * support/xsendto.c: Likewise.
229         * support/xsetsockopt.c: Likewise.
230         * support/xstdio.h: Likewise.
231         * support/xstrdup.c: Likewise.
232         * support/support.h (xstrdup): Declare.
233         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
234         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
235         * support/xthread.h (xpthread_once): Likwise.
236         * support/xunistd.h (xwrite): Declare.
238 2016-12-31  Florian Weimer  <fweimer@redhat.com>
240         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
241         (test_verbose): Declare.
242         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
243         * support/support_test_main.c (default_options): Likewise.
244         (usage, support_test_main): Handle 'v'.
245         (test_verbose): Define.
246         * support/tst-support_record_failure.c (do_test): Use
247         test_verbose.
248         * support/tst-support_record_failure-2.sh (different_status): Add
249         --verbose test.
251 2016-12-31  Florian Weimer  <fweimer@redhat.com>
253         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
254         test failures are recorded.
255         * support/check.c (support_print_failure_impl): Call
256         support_record_failure.
257         (support_exit_failure_impl): Call support_record_failure if status
258         indicates failure.
259         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
260         * support/xasprintf.c (xasprintf): Likewise.
261         * support/xfork.c (xfork): Likewise.
262         * support/xpthread_check_return.c (xpthread_check_return):
263         Likewise.
264         * support/xsocket.c (xsocket): Likeweise.
265         * support/xwaitpid.c (xwaitpid): Likewise.
266         * support/support_record_failure.c (struct test_failures): Adjust
267         to coding style.
268         * support/support_test_verify_impl.c (support_test_verify_impl):
269         Adjust error messages.
270         * support/tst-support_record_failure-2.sh (different_status):
271         Adjust error messages.
273 2016-12-31  Florian Weimer  <fweimer@redhat.com>
275         * support/namespace.h: New file.
276         * support/support_become_root.c: Likewise.
277         * support/support_enter_network_namespace.c: Likewise.
278         * support/tst-support-namespace.c: Likewise.
279         * support/xsocket.c: Likewise.
280         * support/xsocket.h: Likewise.
281         * support/Makefile (libsupport-routines): Add support_become_root,
282         support_enter_network_namespace, xsocket.
283         (tests): Add tst-support-namespace.
285 2016-12-31  Florian Weimer  <fweimer@redhat.com>
287         [BZ #17252]
288         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
289         __USE_GNU.
291 2016-12-31  Torvald Riegel  <triegel@redhat.com>
293         [BZ #13165]
294         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
295         use new algorithm.
296         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
297         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
298         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
299         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
300         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
301         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
302         __condvar_cleanup_waiting, __condvar_dec_grefs,
303         __pthread_cond_wait_common): New.
304         (__condvar_cleanup): Remove.
305         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
306         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
307         Likewise.
308         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
309         Likewise.
310         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
311         * nptl/tst-cond1.c: Add comment.
312         * nptl/tst-cond20.c (do_test): Adapt.
313         * nptl/tst-cond22.c (do_test): Likewise.
314         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
315         structure.
316         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
317         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
318         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
319         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
320         Likewise.
321         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
322         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
323         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
324         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
325         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
326         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
327         Likewise.
328         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
329         Likewise.
330         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
331         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
332         (COND_CLOCK_BITS): Adapt.
333         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
334         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
335         __PTHREAD_COND_SHARED_MASK): New.
336         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
337         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
338         * nptl/nptl_lock_constants.pysym: Adapt.
339         * nptl/test-cond-printers.py: Adapt.
340         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
341         cond_compat_check_and_clear): Adapt.
342         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
343         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
344         (__pthread_cond_timedwait): ... and move here.
345         * nptl/DESIGN-condvar.txt: Remove file.
346         * nptl/lowlevelcond.sym: Likewise.
347         * nptl/pthread_cond_timedwait.c: Likewise.
348         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
349         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
350         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
351         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
352         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
353         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
354         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
355         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
356         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
357         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
358         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
359         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
360         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
361         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
362         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
363         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
365 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
367         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
368         (fromfp): New declaration.
369         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
370         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
372         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
373         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
374         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
375         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
376         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
377         * math/math.h: Include <bits/types.h>.
378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
379         constant and macro.
380         (FP_INT_DOWNWARD): Likewise.
381         (FP_INT_TOWARDZERO): Likewise.
382         (FP_INT_TONEARESTFROMZERO): Likewise.
383         (FP_INT_TONEAREST): Likewise.
384         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
385         (fromfpf): Likewise.
386         (fromfpl): Likewise.
387         (ufromfp): Likewise.
388         (ufromfpf): Likewise.
389         (ufromfpl): Likewise.
390         (fromfpx): Likewise.
391         (fromfpxf): Likewise.
392         (fromfpxl): Likewise.
393         (ufromfpx): Likewise.
394         (ufromfpxf): Likewise.
395         (ufromfpxl): Likewise.
396         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
397         s_fromfpxF and s_ufromfpxF.
398         * math/gen-fromfp-tests.py: New file.
399         * math/gen-fromfp-tests-inputs: Likewise.
400         * math/libm-test.inc: Include <stdint.h>
401         (check_intmax_t): New function.
402         (check_uintmax_t): Likewise.
403         (struct test_fiu_M_data): New type.
404         (struct test_fiu_U_data): Likewise.
405         (RUN_TEST_fiu_M): New macro.
406         (RUN_TEST_LOOP_fiu_M): Likewise.
407         (RUN_TEST_fiu_U): Likewise.
408         (RUN_TEST_LOOP_fiu_U): Likewise.
409         (fromfp_test_data): New array.
410         (fromfp_test): New function.
411         (fromfpx_test_data): New array.
412         (fromfpx_test): New function.
413         (ufromfp_test_data): New array.
414         (ufromfp_test): New function.
415         (ufromfpx_test_data): New array.
416         (ufromfpx_test): New function.
417         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
418         ufromfpx_test.
419         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
420         characters.
421         * math/test-tgmath-ret.c: Include <stdint.h>.
422         (rm): New variable.
423         (width): Likewise.
424         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
425         called function.
426         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
427         CHECK_RET_CONST_TYPE.
428         (CHECK_RET_CONST_DOUBLE): Likewise.
429         (CHECK_RET_CONST_LDOUBLE): Likewise.
430         (CHECK_RET_CONST): Take extra arguments and pass them to calls
431         macros.
432         (fromfp): New CHECK_RET_CONST call.
433         (ufromfp): Likewise.
434         (fromfpx): Likewise.
435         (ufromfpx): Likewise.
436         (do_test): Call check_return_fromfp, check_return_ufromfp,
437         check_return_fromfpx and check_return_ufromfpx.
438         * math/test-tgmath.c: Include <stdint.h>
439         (NCALLS): Increase to 138.
440         (F(compile_test)): Initialize i.  Call fromfp functions.
441         (F(fromfp)): New function.
442         (F(fromfpx)): Likewise.
443         (F(ufromfp)): Likewise.
444         (F(ufromfpx)): Likewise.
445         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
446         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
447         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
448         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
449         ufromfpxl.
450         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
451         ufromfp and ufromfpx.
452         * math/fromfp.h: New file.
453         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
454         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
455         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
456         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
457         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
458         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
459         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
460         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
461         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
462         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
463         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
464         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
465         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
466         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
467         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
468         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
469         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
470         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
471         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
472         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
473         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
474         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
475         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
476         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
477         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
478         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
479         ufromfp, fromfpx and ufromfpx.
480         (CFLAGS-nldbl-fromfp.c): New variable.
481         (CFLAGS-nldbl-fromfpx.c): Likewise.
482         (CFLAGS-nldbl-ufromfp.c): Likewise.
483         (CFLAGS-nldbl-ufromfpx.c): Likewise.
484         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
485         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
486         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
487         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
488         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
489         * sysdeps/nacl/libm.abilist: Update.
490         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
491         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
492         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
493         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
494         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
495         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
496         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
497         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
498         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
499         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
500         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
501         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
503         Likewise.
504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
505         Likewise.
506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
507         Likewise.
508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
509         Likewise.
510         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
511         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
512         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
513         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
514         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
516         Likewise.
517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
518         Likewise.
519         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
520         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
521         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
523 2016-12-30  Florian Weimer  <fweimer@redhat.com>
525         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
526         compat-gethnamaddr.
527         (CPPFLAGS): Remove.
528         * resolv/gethnamaddr.c: Rename ...
529         * resolv/compat-gethnamaddr.c: ... to this file.
530         (_endhtent): Make static.
531         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
532         symbol.
533         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
534         compat symbol.
535         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
536         symbol.
537         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
538         Turn into compat symbol.
539         * include/resolv.h (_endhtent): Remove declaration.
541 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
543         * bits/types.h (__intmax_t): New typedef.
544         (__uintmax_t): Likewise.
545         * sysdeps/generic/stdint.h: Include <bits/types.h>.
546         (intmax_t): Define using __intmax_t.
547         (uintmax_t): Define using __uintmax_t.
549         * support/Makefile (tests-special): Make definition conditional on
550         [$(run-built-tests) = yes].
551         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
552         on [$(run-built-tests) = yes].
554 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
556         * Rules (tests): Add tests-printers-programs to tests to be
557         built.
559 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
561         * sysvipc/Makefile (tests): Add test-sysvshm.
562         * sysvipc/test-sysvshm.c: New file.
564         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
565         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
566         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
567         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
568         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
569         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
570         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
571         Likewise.
572         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
573         Likewise.
574         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
575         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
576         is defined.
578         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
579         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
580         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
581         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
582         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
583         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
584         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
585         Likewise.
586         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
587         Likewise.
588         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
589         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
590         defined.
592         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
593         oldshmctl.
594         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
595         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
596         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
597         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
598         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
599         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
600         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
601         Likewise.
602         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
603         Likewise.
604         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
605         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
606         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
607         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
608         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
609         implementation.
610         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
611         if it is defined.
613         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
614         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
615         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
616         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
617         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
618         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
619         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
620         Likewise.
621         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
622         Likewise.
623         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
624         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
625         Define to __NR_osf_shmat.
626         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
627         defined.
629         * sysvipc/Makefile (tests): Add test-sysvsem.
630         * sysvipc/test-sysvsem.c: New file.
632         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
633         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
634         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
635         Likewise.
636         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
637         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
638         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
639         Likewise.
640         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
641         Likewise.
642         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
643         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
644         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
645         add a comment about s390 syscall difference from default one.
646         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
647         syscall if it is defined.
649         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
650         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
651         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
652         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
653         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
654         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
655         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
656         Likewise.
657         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
658         Likewise.
659         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
660         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
661         defined.
663         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
664         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
665         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
666         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
667         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
668         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
669         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
670         Likewise.
671         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
672         Likewise.
673         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
674         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
675         if it is defined.
677         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
678         oldsemctl.
679         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
680         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
681         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
682         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
683         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
684         implementation.
685         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
686         syscall if it is defined.
687         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
688         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
689         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
690         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
691         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
692         Likewise.
693         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
695         * sysvipc/Makefile (tests): Add test-sysvmsg.
696         * sysvipc/test-sysvmsg.c: New file.
697         * support/check.h (FAIL_UNSUPPORTED): New define.
699         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
700         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
701         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
702         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
703         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
704         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
705         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
706         Likewise.
707         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
708         Likewise.
709         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
710         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
711         define.
713         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
714         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
715         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
716         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
717         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
718         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
719         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
720         Likewise.
721         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
722         Likewise.
723         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
724         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
725         if defined.
727         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
728         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
729         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
730         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
731         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
732         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
733         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
734         Likewise.
735         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
736         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
737         Likewise.
738         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
739         if defined.
740         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
742         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
743         oldmsgctl.
744         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
745         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
746         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
747         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
748         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
749         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
750         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
751         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
752         Likewise.
753         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
754         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
755         implementation.
756         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
757         if defined.
759         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
760         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
761         definition and define its own.
762         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
763         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
764         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
765         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
766         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
767         definitions to common header.
768         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
769         operation from ipc_ops.h.
771         * sysdeps/unix/sysv/linux/kernel-features.h
772         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
773         * sysdeps/unix/sysv/linux/i386/kernel-features.h
774         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
776         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
777         * sysdeps/unix/sysv/linux/mips/kernel-features.h
778         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
779         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
780         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
781         * sysdeps/unix/sysv/linux/s390/kernel-features.h
782         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
783         * sysdeps/unix/sysv/linux/sh/kernel-features.h
784         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
785         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
786         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
788 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
790         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
791         overflow in pointer addition.
793 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
795         * sysdeps/powerpc/powerpc64/multiarch/Makefile
796         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
798         (strchr): Add __strchr_power8 to list of strchr functions.
799         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
800         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
801         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
802         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
803         (strchr): Add __strchr_power8 to ifunc list.
804         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
805         (__strchrnul): Add __strchrnul_power8 to ifunc list.
806         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
807         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
809 2016-12-28  Florian Weimer  <fweimer@redhat.com>
811         * support/Makefile (libsupport-routines): Add
812         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
813         (tests): Add tst-support_record_failure.
814         (tests-special): tst-support_record_failure-2.
815         (tst-support_record_failure-2.out): Depend on
816         tst-support_record_failure-2.sh and tst-support_record_failure.
817         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
818         (support_test_verify_impl, support_record_failure)
819         (support_report_failure, support_report_failure_reset): Declare.
820         * support/support_test_main.c (adjust_exit_status): New function.
821         (support_test_main): Call it to incorporate record test failures.
822         * support/support_test_verify_impl.c: New file.
823         * support/support_record_failure.c: Likewise.
824         * support/tst-support_record_failure.c: Likewise.
825         * support/tst-support_record_failure-2.sh: Likewise.
826         * support/xunistd.h: Likewise.
827         * support/xfork.c: Likewise.
828         * support/xwaitpid.c: Likewise.
830 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
832         * scripts/check-c++-types.sh: Add comments.
834 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
836         [BZ #19514]
837         * resolv/res_send.c: Fix typo in comment.
838         * sysdeps/i386/i386-mcount.S: Likewise.
839         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
840         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
841         * sysdeps/sparc/sparc-mcount.S: Likewise.
843 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
845         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
846         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
847         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
848         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
849         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
850         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
851         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
852         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
854 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
856         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
858 2016-12-27  Florian Weimer  <fweimer@redhat.com>
860         [BZ #17252]
861         * posix/unistd.h (getentropy): Declare.
863 2016-12-27  Florian Weimer  <fweimer@redhat.com>
865         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
866         Remove.
867         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
868         (cmd): Remove spoof, nospoof, spoofalert.
869         (parse_line): Ignore spoof-related lines.
870         (do_init): Do not process RESOLV_SPOOF_CHECK.
872 2016-12-27  Florian Weimer  <fweimer@redhat.com>
874         [BZ #20964]
875         sunrpc: Always obtain AF_INET addresses from NSS.
876         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
877         * sunrpc/rpc_gethostbyname.c: New file.
878         * sunrpc/Makefile (routines): Add it.
879         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
880         * sunrpc/clnt_simp.c (callrpc): Likewise.
881         * sunrpc/getrpcport.c (getrpcport): Likewise.
883 2016-12-27  Florian Weimer  <fweimer@redhat.com>
885         * sunrpc/rpcinfo.c: Remove.
886         * sunrpc/Makefile: Remove comments referring to rpcinfo.
888 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
890         [BZ# 19387]
891         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
892         addition.
893         * string/test-memchr.c (do_test): Remove alignment limitation.
894         (test_main): Add test that trigger BZ# 19387.
896 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
898         [BZ #7065]
899         Enable stack protectore if requested by ./configure.
900         * Makeconfig (+stack-protector): New variable.
901         (+cflags): Use it.
903 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
905         [BZ #7065]
906         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
907         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
908         (__rt_sigreturn_stub): Use inhibit_stack_protector.
909         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
910         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
912 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
914         [BZ #7065]
915         * login/Makefile (pt_chown-cflags): Remove.
916         * nscd/Makefile (CFLAGS-nscd): Likewise.
917         * resolv/Makefile (CFLAGS-libresolv): Likewise.
919 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
921         [BZ #7065]
922         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
923         non-libc-linking testcase.
925 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
926             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
927             Florian Weimer  <fweimer@redhat.com>
929         [BZ #7065]
930         PLT avoidance for __stack_chk_fail*.
931         * debug/Makefile (CFLAGS-stack_chk_fail.c)
932         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
933         * debug/stack_chk_fail.c (__stack_chk_fail): Add
934         __stack_chk_fail_local alias.
935         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
936         (__stack_chk_fail): Turn into hidden reference to
937         __stack_chk_fail_local.
939 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
941         [BZ #7065]
942         * configure.ac: Add check for unsupported stack-protection level.
943         (libc_cv_predef_stack_protector): Remove.
944         (no_ssp): New variable.
945         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
946         (stack_protector): Set to -fno-stack-protector similarly.
947         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
948         (libc_cv_asm_set_directive): Likewise.
949         (libc_cv_protected_data): Likewise.
950         (libc_cv_z_combreloc): Likewise.
951         (libc_cv_hashstyle): Likewise.
952         (libc_cv_has_glob_dat): Likewise.
953         (libc_cv_output_format): Likewise.
954         (libc_cv_output_format): Likewise.
955         (libc_cv_ehdr_start): Likewise.
956         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
957         (LIBC_LINKER_FEATURE): Likewise.
958         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
960 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
962         [BZ #7065]
963         * elf/Makefile (dummy-stack-chk-fail): New.
964         (librtld.map): Use it.
966 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
968         [BZ #7065]
969         Compile the dynamic linker without stack protection.
970         * elf/Makefile (elide-stack-protector): New.
971         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
972         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
973         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
974         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
976 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
978         [BZ #7065]
979         * config.make.in (have-ssp, no-stack-protector): New.
980         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
981         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
982         (CFLAGS-sbrk.op): Likewise.
983         (CFLAGS-brk.o): Likewise.
984         (CFLAGS-brk.op): Likewise.
985         * string/Makefile (CFLAGS-memcpy.c): Likewise.
986         (CFLAGS-wordcopy.c): Likewise.
988 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
990         [BZ #7065]
991         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
992         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
993         * include/libc-symbols.h (inhibit_stack_protector): New macro.
994         (__ifunc_resolver): Use it.
995         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
996         inhibit_stack_protector.
997         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
998         * elf/ifuncmain7.c (foo_ifunc): Likewise.
999         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1000         (foo_protected_ifunc): Likewise.
1001         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1002         (foo_protected_ifunc): Likewise.
1003         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1004         * sysdeps/nacl/nacl_interface_query.c
1005         (nacl_interface_query_ifunc): Likewise.
1006         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1007         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1008         Likewise.
1009         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1010         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1011         the generated vDSO syscall resolver.
1013 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1014             Florian Weimer  <fweimer@redhat.com>
1016         [BZ #7065]
1017         Initialize the stack guard earlier when linking statically.
1018         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1019         (__pthread_initialize_minimal): Declare.
1020         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1021         declaration.
1022         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1023         stack canary and apply_irel initialization up.  Call
1024         __pthread_initialize_minimal only if linked in.
1025         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1026         constant values.
1027         (__pthread_initialize_minimal): Remove.
1028         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1029         (__pthread_initialize_minimal_internal): Do not call
1030         __libc_setup_tls.
1032 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1034         [BZ #7065]
1035         * configure.ac (libc_cv_ssp): Move up.
1036         (libc_cv_ssp_strong): Likewise.
1037         (libc_cv_ssp_all): New.
1038         (stack_protector): Augment, adding -fstack-protector-all.
1039         (no_stack_protector): New.
1040         (STACK_PROTECTOR_LEVEL): New.
1041         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1042         * manual/install.texi (--enable-stack-protector): Document it.
1043         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1045 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1047         * README.pretty-printers: Must specify CPPFLAGS-* also.
1048         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1049         (CPPFLAGS-test-mutex-printers.c): Define.
1050         (CPPFLAGS-test-condattr-printers.c): Define.
1051         (CPPFLAGS-test-cond-printers.c): Define.
1052         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1053         (CPPFLAGS-test-rwlock-printers.c): Define.
1055         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1056         (tests): Add tst-cancel-getpwuid_r.
1057         * nss/tst-cancel-getpwuid_r.c: New file.
1059         [BZ #11941]
1060         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1061         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1062         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1063         tst-nodelete-dlclose.
1064         (modules-names): Add tst-nodelete-dlclose-dso and
1065         tst-nodelete-dlclose-plugin.
1066         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1067         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1068         ($(objpfx)tst-nodelete-dlclose): Define.
1069         ($(objpfx)tst-nodelete-dlclose.out): Define.
1071 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1073         * scripts/test_printers_common.py: Log GDB output in case of
1074         Python detection failure.
1076 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1078         * configure.ac: Check for python3 or python.
1079         * configure: Regenerated.
1080         * config.make.in (PYTHON): New variable.
1081         * benchtests/Makefile: Don't define PYTHON.
1082         (bench): Define target only if PYTHON was defined.
1083         * Rules: Don't define PYTHON.
1084         Define pretty printer targets only if PYTHON was defined.
1085         (tests-printers): Add to tests-unsupported if PYTHON is not
1086         found.
1087         (python-flags, python-invoke): Remove.
1088         (tests-printers-out): Use PYTHON instead of python-invoke.
1090 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1092         [BZ #20978]
1093         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1094         Compare name == NULL, not name != NULL.
1096         * manual/texinfo.tex: Update to version 2016-09-18.18 with
1097         trailing whitespace removed.
1098         * scripts/config.guess: Update to version 2016-10-02.
1099         * scripts/config.sub: Update to version 2016-11-19.
1100         * scripts/install-sh: Update to version 2016-01-11.22.
1101         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1102         * scripts/move-if-change: Update to version 2016-01-11 22:04.
1104 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
1106         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1107         (do_one_test) Restore original string so iteration works.
1108         * string/string-inlines.c (do_test): Create better input strings.
1109         (test_main) Reduce number of testruns.
1110         * string/string-inlines.c (__old_strsep_1c): New function.
1111         (__old_strsep_2c): Likewise.
1112         (__old_strsep_3c): Likewise.
1113         * string/strsep.c (__strsep): Remove case of small delim string.
1114         Call strcspn directly rather than strpbrk.
1115         * string/bits/string2.h (__strsep): Remove define.
1116         (__strsep_1c): Remove.
1117         (__strsep_2c): Remove.
1118         (__strsep_3c): Remove.
1119         (strsep): Remove.
1120         * sysdeps/unix/sysv/linux/internal_statvfs.c
1121         (__statvfs_getflags): Rename to __strsep.
1123 2016-12-21  Florian Weimer  <fweimer@redhat.com>
1125         * csu/libc-tls.c (_dl_tls_setup): Remove.
1126         * elf/dl-tls.c (_dl_tls_setup): Likewise.
1127         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1128         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1130 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1132         [BZ #7065]
1133         * sysdeps/x86_64/Makefile [$(subdir) = elf]
1134         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1136 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1137             Florian Weimer  <fweimer@redhat.com>
1139         [BZ #7065]
1140         * csu/Makefile (tests): Empty assignment and document it.
1141         (tests-static): Remove.
1142         * csu/tst-empty.c: Move to...
1143         * misc/tst-empty.c: ... here.  Switch to new test driver.
1144         * csu/tst-atomic.c: Move to...
1145         * misc/tst-atomic.c: ... here.  Switch to new test driver.
1146         * csu/tst-atomic-long.c: Move to...
1147         * misc/tst-atomic-long.c: ... here.
1148         * misc/Makefile (tests): Add tst-empty, tst-atomic,
1149         tst-atomic-long.
1150         (tests-static): Add tst-empty.
1152 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
1154         * manual/nss.texi: Change incorrect @vtable to @table.
1155         * manual/arith.texi: Convert @tables of variables to @vtables
1156         and remove unnecessary indexing.
1157         * manual/filesys.texi: Likewise.
1158         * manual/llio.texi: Likewise.
1159         * manual/memory.texi: Likewise.
1160         * manual/process.texi: Likewise.
1161         * manual/resource.texi: Likewise.
1162         * manual/search.texi: Likewise.
1163         * manual/signal.texi: Likewise.
1164         * manual/socket.texi: Likewise.
1165         * manual/stdio.texi: Likewise.
1166         * manual/sysinfo.texi: Likewise.
1167         * manual/syslog.texi: Likewise.
1168         * manual/terminal.texi: Likewise.
1169         * manual/time.texi: Likewise.
1170         * manual/users.texi: Likewise.
1172 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1174         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1175         (roundeven): New declaration.
1176         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1177         macro.
1178         * math/Versions (roundeven): New libm symbol at version
1179         GLIBC_2.25.
1180         (roundevenf): Likewise.
1181         (roundevenl): Likewise.
1182         * math/Makefile (libm-calls): Add s_roundevenF.
1183         * math/libm-test.inc (roundeven_test_data): New array.
1184         (roundeven_test): New function.
1185         (main): Call roundeven_test.
1186         * math/test-tgmath.c (NCALLS): Increase to 134.
1187         (F(compile_test)): Call roundeven.
1188         (F(roundeven)): New function.
1189         * manual/arith.texi (Rounding Functions): Document roundeven,
1190         roundevenf and roundevenl.
1191         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1192         * include/math.h (roundeven): Use libm_hidden_proto.
1193         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1194         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1195         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1196         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1197         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1198         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1199         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1200         roundeven.
1201         (CFLAGS-nldbl-roundeven.c): New variable.
1202         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1203         * sysdeps/nacl/libm.abilist: Update.
1204         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1206         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1207         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1212         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1213         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1217         Likewise.
1218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1219         Likewise.
1220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1221         Likewise.
1222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1223         Likewise.
1224         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1225         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1226         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1227         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1228         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1232         Likewise.
1233         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1234         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1237 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1239         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1240         preprocessor indentation inside #if.
1242 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1244         * math/libm-test.inc (fmt_ftostr): New function.
1245         (print_float, check_float_internal): Replace some uses of
1246         FTOSTR with uses of fmt_ftostr.
1247         (print_max_error, print_complex_max_error, print_function_ulps)
1248         (print_complex_function_ulps): Remove uses of the macros
1249         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1250         * math/test-double.h (FTOSTR): Define to strfromd.
1251         (PRINTF_EXPR): Delete.
1252         (PRINTF_XEXPR): Likewise.
1253         (PRINTF_NEXPR): Likewise.
1254         * math/test-float.h (FTOSTR): Define to strfromf.
1255         (PRINTF_EXPR): Delete.
1256         (PRINTF_XEXPR): Likewise.
1257         (PRINTF_NEXPR): Likewise.
1258         * math/test-ldouble.h (FTOSTR): Define to strfroml.
1259         (PRINTF_EXPR): Delete.
1260         (PRINTF_XEXPR): Likewise.
1261         (PRINTF_NEXPR): Likewise.
1263 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1265         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1266         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1267         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1268         (__lll_lock_elision): Decrement adapt_count while unlocking
1269         instead of before locking.
1270         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1271         (__lll_trylock_elision): Likewise.
1272         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1273         (__lll_unlock_elision): Likewise.
1275 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1277         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1278         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1279         Use __libc_tbegin_retry macro.
1281 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1283         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1284         Add -msoft-float.
1285         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1286         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1287         Use __libc_t* transaction macros instead of __builtin_t*.
1288         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1289         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1291 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1293         * sysdeps/unix/sysv/linux/s390/elision-lock.c
1294         (__lll_lock_elision): Use atomics to load / store adapt_count.
1295         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1296         (__lll_trylock_elision): Likewise.
1298 2016-12-20  Florian Weimer  <fweimer@redhat.com>
1300         Do not require memset elimination in explicit_bzero test.
1301         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1302         (enum test_expectation): Add NO_EXPECTATIONS.
1303         (subtests): NO_EXPECTATIONS for ordinary clear.
1304         (check_test_buffer): Handle NO_EXPECTATIONS.
1305         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1307 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1309         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1310         (fmaxmag): New declaration.
1311         (fminmag): Likewise.
1312         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1313         macro.
1314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1315         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1316         (fmaxmagf): Likewise.
1317         (fmaxmagl): Likewise.
1318         (fminmag): Likewise.
1319         (fminmagf): Likewise.
1320         (fminmagl): Likewise.
1321         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1322         * math/s_fmaxmag_template.c: New file.
1323         * math/s_fminmag_template.c: Likewise.
1324         * math/libm-test.inc (fmaxmag_test_data): New array.
1325         (fmaxmag_test): New function.
1326         (fminmag_test_data): New array.
1327         (fminmag_test): New function.
1328         (main): Call fmaxmag_test and fminmag_test.
1329         * math/test-tgmath.c (NCALLS): Increase to 132.
1330         (F(compile_test)): Call fmaxmag and fminmag.
1331         (F(fminmag)): New function.
1332         (F(fmaxmag)): Likewise.
1333         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1334         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1335         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1336         fminmag.
1337         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1338         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1339         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1340         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1341         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1342         and fminmag.
1343         (CFLAGS-nldbl-fmaxmag.c): New variable.
1344         (CFLAGS-nldbl-fminmag.c): Likewise.
1345         * sysdeps/nacl/libm.abilist: Update.
1346         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1349         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1350         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1353         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1354         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1355         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1359         Likewise.
1360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1361         Likewise.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1363         Likewise.
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1365         Likewise.
1366         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1367         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1368         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1369         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1370         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1372         Likewise.
1373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1374         Likewise.
1375         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1376         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1379 2016-12-19  Torvald Riegel  <triegel@redhat.com>
1381         [BZ #20973]
1382         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1383         wake-up in robust mutexes.
1384         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1386 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1388         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1389         (CFLAGS-bench-fmaxf.c): New rule.
1390         (CFLAGS-bench-fminf.c): Likewise.
1391         * benchtests/fmaxf-inputs: New file.
1392         * benchtests/fminf-inputs: Likewise.
1394         * benchtests/Makefile (bench-math): Add fmin and fmax.
1395         (CFLAGS-bench-fmax.c): New rule.
1396         (CFLAGS-bench-fmin.c): Likewise.
1397         * benchtests/fmax-inputs: New file.
1398         * benchtests/fmin-inputs: Likewise.
1400         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1401         parenthesis.
1402         (CMDLINE_PROCESS): Define using function instead of macro.
1403         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1404         of test-skeleton.
1405         * benchtests/bench-memchr.c: Likewise.
1406         * benchtests/bench-memcmp.c: Likewise.
1407         * benchtests/bench-memcpy-large.c: Likewise.
1408         * benchtests/bench-memcpy.c: Likewise.
1409         * benchtests/bench-memmem.c: Likewise.
1410         * benchtests/bench-memmove-large.c: Likewise.
1411         * benchtests/bench-memmove.c: Likewise.
1412         * benchtests/bench-memset-large.c: Likewise.
1413         * benchtests/bench-memset.c: Likewise.
1414         * benchtests/bench-rawmemchr.c: Likewise.
1415         * benchtests/bench-strcasecmp.c: Likewise.
1416         * benchtests/bench-strcasestr.c: Likewise.
1417         * benchtests/bench-strcat.c: Likewise.
1418         * benchtests/bench-strchr.c: Likewise.
1419         * benchtests/bench-strcmp.c: Likewise.
1420         * benchtests/bench-strcpy.c: Likewise.
1421         * benchtests/bench-strcpy_chk.c: Likewise.
1422         * benchtests/bench-strlen.c: Likewise.
1423         * benchtests/bench-strncasecmp.c: Likewise.
1424         * benchtests/bench-strncmp.c: Likewise.
1425         * benchtests/bench-strncpy.c: Likewise.
1426         * benchtests/bench-strnlen.c: Likewise.
1427         * benchtests/bench-strpbrk.c: Likewise.
1428         * benchtests/bench-strrchr.c: Likewise.
1429         * benchtests/bench-strsep.c: Likewise.
1430         * benchtests/bench-strspn.c: Likewise.
1431         * benchtests/bench-strstr.c: Likewise.
1432         * benchtests/bench-strtok.c: Likewise.
1434 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1436         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1437         stepping identification.
1438         (init_cpu_features): Add handle of Haswell.
1440 2016-11-25  Jim Meyering  <meyering@fb.com>
1442         [BZ #20386]
1443         Let gcc detect assert(a = 1) errors.
1444         * assert/assert.h (assert): Rewrite, retaining the old definintion
1445         when required, but otherwise putting the expression as-is in an "if"
1446         expression (hence, with no added parentheses) within a statement
1447         expression.
1449 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1451         * benchtests/Makefile (binaries-benchset): Depend on libsupport
1452         DSO.
1454 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
1456         * Rules (python-flags, python-invoke): New.
1457         ($(test-printers-out)): Use $(python-flags).
1459 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1461         * manual/arith.texi (Math Error Reporting): Document that sNaN
1462         arguments are not considered domain errors.
1464 2016-12-16  Zack Weinberg <zackw@panix.com>
1465             Florian Weimer <fweimer@redhat.com>
1466             Nick Mathewson <nickm@torproject.org>
1468         * string/explicit_bzero.c: New routine.
1469         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1470         * string/Makefile (routines, strop-tests, tests): Add them.
1471         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1472         * string/string.h [__USE_MISC]: Declare explicit_bzero.
1474         * debug/explicit_bzero_chk.c: New routine.
1475         * debug/Makefile (routines): Add it.
1476         * debug/tst-chk1.c: Test fortification of explicit_bzero.
1477         * string/bits/string3.h: Fortify explicit_bzero.
1479         * manual/string.texi: Document explicit_bzero.
1480         * NEWS: Mention addition of explicit_bzero.
1482         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1483         data before returning, using explicit_bzero.
1484         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1485         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1486         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1488         * include/string.h: Redirect internal uses of explicit_bzero
1489         to __explicit_bzero_chk[_internal].
1490         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1491         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1492         * sysdeps/arm/nacl/libc.abilist
1493         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1494         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1495         * sysdeps/unix/sysv/linux/arm/libc.abilist
1496         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1497         * sysdeps/unix/sysv/linux/i386/libc.abilist
1498         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1499         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1500         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1501         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1502         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1503         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1504         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1505         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1506         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1511         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1512         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1513         * sysdeps/unix/sysv/linux/sh/libc.abilist
1514         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1515         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1518         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1519         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1520         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1521         Add entries for explicit_bzero and __explicit_bzero_chk.
1523 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1525         * math/fenv.h
1526         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1527         (FE_SNANS_ALWAYS_SIGNAL): New macro.
1528         * math/test-fe-snans-always-signal.c: New file.
1529         * math/Makefile (tests): Add test-fe-snans-always-signal.
1530         (CFLAGS-test-fe-snans-always-signal.c): New variable.
1531         * manual/arith.texi (Infinity and NaN): Document
1532         FE_SNANS_ALWAYS_SIGNAL.
1534 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1536         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1537         bracket.
1539 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1541         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1542         before calling execv.
1544 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1546         [BZ# 20971]
1547         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1548         overflow in pointer addition.
1549         * string/test-memchr.c (do_test): Add an argument to pass as
1550         the size on memchr.
1551         (test_main): Add check for SIZE_MAX.
1553 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1555         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1556         (libm-calls): Add w_scalblnF.
1557         * math/w_scalbln.c: Remove.
1558         * math/w_scalblnf.c: Likewise.
1559         * math/w_scalblnl.c: Likewise.
1560         * math/w_scalbln_template.c: New file with type-generic
1561         implementation based on math/w_scalbln.c.
1562         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1563         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1565 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1567         [BZ #20947]
1568         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1569         either is a signaling NaN.
1570         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
1571         follow fmaxl more closely.
1572         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1573         when either is a signaling NaN.
1574         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1575         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1576         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1577         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1578         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1579         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1580         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1581         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1582         (fmin_test_data): Likewise.
1584 2016-12-15  Andreas Schwab  <schwab@suse.de>
1586         * support/support_test_main.c (support_test_main): Don't shadow
1587         file-local variable test_pid.
1589 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1591         [BZ #20947]
1592         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1593         either is a signaling NaN.
1594         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1596 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1598         [BZ #20947]
1599         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1600         when either is a signaling NaN.
1601         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1603         * bits/long-double.h: New file.
1604         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1605         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1606         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1607         * sysdeps/mips/bits/long-double.h: Likewise.
1608         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1609         * math/Makefile (headers): Add bits/long-double.h.
1610         * misc/sys/cdefs.h: Include <bits/long-double.h>.
1611         * stdlib/strtold.c: Include <bits/long-double.h> instead of
1612         <bits/wordsize.h>.
1613         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1614         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1615         * math/math.h: Do not include <bits/mathdef.h>.
1616         * sysdeps/aarch64/bits/mathdef.h: Remove file.
1617         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1618         inclusion.
1619         * sysdeps/ia64/bits/mathdef.h: Remove file.
1620         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1621         * sysdeps/mips/bits/mathdef.h: Likewise.
1622         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1623         * sysdeps/s390/bits/mathdef.h: Likewise.
1624         * sysdeps/sparc/bits/mathdef.h: Likewise.
1625         * sysdeps/x86/bits/mathdef.h: Likewise.
1626         * sysdeps/s390/s390-32/bits/wordsize.h
1627         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1628         conditional code.
1629         * sysdeps/s390/s390-64/bits/wordsize.h
1630         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1631         Likewise.
1632         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1633         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1634         Likewise.
1635         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1636         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1637         Likewise.
1638         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1639         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1640         Likewise.
1642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1643         <linux/falloc.h>.
1644         (FALLOC_FL_KEEP_SIZE): Remove.
1645         (FALLOC_FL_PUNCH_HOLE): Likewise.
1646         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1647         (FALLOC_FL_ZERO_RANGE): Likewise.
1649 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1651         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1653 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1655         * sysdeps/unix/sysv/linux/renameat.c: New file.
1656         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1658         * sysdeps/unix/sysv/linux/rename.c: New file.
1659         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1661 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1663         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1664         * string/strtok.c (strtok): Change to tailcall __strtok_r.
1665         * string/strtok_r.c (__strtok_r): Optimize for performance.
1666         * string/string-inlines.c (__old_strtok_r_1c): New function.
1667         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1669 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1671         * math/Makefile (gen-libm-calls): Add w_log1pF.
1672         (libm-calls): Remove w_log1pF.
1673         * math/w_log1p.c: Remove.
1674         * math/w_log1pf.c: Likewise.
1675         * math/w_log1pl.c: Likewise.
1676         * math/w_log1p_template.c: New file with type-generic
1677         implementation based on math/w_log1p.c.
1678         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1679         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1681 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1683         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1685 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1687         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1688         kernel version to 4.9.
1690 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
1692         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1693         ($(inst_libdir)/libm.a): Fix rule to create the target only.
1695 2016-12-13  Andreas Schwab  <schwab@suse.de>
1697         * sysdeps/powerpc/dl-procinfo.c: Don't define
1698         _dl_powerpc_platforms.
1699         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1700         constants instead of referencing _dl_powerpc_platforms.
1701         (_dl_platform_string): Remove.
1703 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1705         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1707 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1709         * Rules (binaries-shared-tests, binaries-pie-tests)
1710         (binaries-static-tests): Link with $(link-extra-libs-tests).
1711         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1712         Remove $(link-extra-libs-tests).
1714 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1716         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1717         (sysdep_routines): Add strncmp_power9.
1718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1719         (strncmp): Add __strncmp_power9 to list of strncmp functions.
1720         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1721         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1722         (strncmp): Add __strncmp_power9 to ifunc list.
1723         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1725 2016-12-12  Florian Weimer  <fweimer@redhat.com>
1727         [BZ #17252]
1728         Add getentropy, getrandom.
1729         * stdlib/sys/random.h: New file.
1730         (headers): Add it.
1731         * stdlib/Makefile (routines): Add getentropy, getrandom.
1732         (tests): Add tst-getrandom.
1733         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1734         * stdlib/getentropy.c: New file.
1735         * stdlib/getrandom.c: Likewise.
1736         * stdlib/tst-getrandom.c: Likewise.
1737         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1738         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1739         * manual/crypt.texi (Unpredictable Bytes): New section.
1740         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1741         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1742         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1743         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1744         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1745         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1746         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1747         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1748         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1749         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1750         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1751         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1752         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1753         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1754         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1755         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1757         Likewise.
1758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1759         Likewise.
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1762         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1763         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1764         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1765         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1769         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1770         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1771         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1773 2016-12-10  Florian Weimer  <fweimer@redhat.com>
1775         [BZ #20956]
1776         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1777         as additional compiler barriers.
1778         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1779         (fn2, do_test): Declare with external linkage.
1780         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1781         (do_test): Declare with external linkage.
1782         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1783         (do_test): Declare with external linkage.
1784         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1785         (do_test): Declare with external linkage.
1787 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
1789         * support/support_test_main.c (support_test_main): Use correct
1790         timeout.
1792 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
1793             Florian Weimer  <fweimer@redhat.com>
1795         [BZ #16421]
1796         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1797         and __u6_addr32 members.
1798         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1799         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1800         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1801         Use __u6_addr32.
1802         * inet/tst-checks.c: Use <support/test-driver.c>
1803         * inet/tst-checks-posix.c: New file.
1804         * inet/Makefile (tests): Add it.
1805         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1807 2016-12-09  Florian Weimer  <fweimer@redhat.com>
1809         New subdirectory support for build and test infrastructure.
1810         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
1811         setting install-lib.
1812         * Makeconfig (link-extra-libs-tests): Define.
1813         (+link-pie-tests, +link-static-tests, +link-tests): Use
1814         link-extra-libs-tests.
1815         (rpath-dirs, all-subdirs): Add support.
1816         (built-modules): Add libsupport.
1817         (libsupport): Define.
1818         * support: New directory.
1819         * support/Makefile: New file.
1820         * support/check.c: Likewise.
1821         * support/check.h: Likewise.
1822         * support/delayed_exit.c: Likewise.
1823         * support/ignore_stderr.c: Likewise.
1824         * support/oom_error.c: Likewise.
1825         * support/set_fortify_handler.c: Likewise.
1826         * support/support.h: Likewise.
1827         * support/temp_file-internal.h: Likewise.
1828         * support/temp_file.c: Likewise.
1829         * support/test-driver.c: Likewise.
1830         * support/test-driver.h: Likewise.
1831         * support/test_main.c: Likewise.
1832         * support/write_message.c: Likewise.
1833         * support/xasprintf.c: Likewise.
1834         * support/xcalloc.c: Likewise.
1835         * support/xmalloc.c: Likewise.
1836         * support/xpthread_barrier_destroy.c: Likewise.
1837         * support/xpthread_barrier_init.c: Likewise.
1838         * support/xpthread_barrier_wait.c: Likewise.
1839         * support/xpthread_cancel.c: Likewise.
1840         * support/xpthread_check_return.c: Likewise.
1841         * support/xpthread_cond_wait.c: Likewise.
1842         * support/xpthread_create.c: Likewise.
1843         * support/xpthread_detach.c: Likewise.
1844         * support/xpthread_join.c: Likewise.
1845         * support/xpthread_mutex_lock.c: Likewise.
1846         * support/xpthread_mutex_unlock.c: Likewise.
1847         * support/xpthread_sigmask.c: Likewise.
1848         * support/xpthread_spin_lock.c: Likewise.
1849         * support/xpthread_spin_unlock.c: Likewise.
1850         * support/xrealloc.c: Likewise.
1851         * support/xsignal.h: Likewise.
1852         * support/xthread.h: Likewise.
1853         * support_tempfile.h: Likewise.
1854         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1855         (TEST_DATA_LIMIT): Remove unused macro.
1856         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
1857         <support/check.h>.
1858         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1859         (ignore_stderr, set_fortify_handler): Remove.  Now in
1860         <support/support.h>.
1861         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
1862         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1863         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1864         (xpthread_join): Remove.  Now in <support/xthread.h>.
1865         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1866         Introduce legacy wrappers.
1867         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1868         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1869         (write_message): Remove.
1870         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
1871         test-skeleton.c.
1872         * io/test-open-tmpfile: Likewise.
1873         * io/tst-posix_fallocate-common.c: Likewise.
1874         * libio/tst-fseek.c: Likewise.
1875         * malloc/tst-malloc-backtrace.c: Likewise.
1876         * malloc/tst-malloc-fork-deadlock.c: Likewise.
1877         * malloc/tst-malloc-thread-exit.c: Likewise.
1878         * nptl/tst-cancel7.c: Likewise.
1879         * nptl/tst-cleanup0.c: Likewise.
1880         * posix/tst-posix_fadvise-common.c: Likewise.
1881         * rt/tst-shm.c: Likewise.
1882         * time/bug-getdate1.c: Likewise.
1883         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1884         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
1885         * elf/Makefile (tst-piemod1.so): Link against libsupport.
1887 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
1889         * Rules [$(run-built-tests) != no] (tests-expected): Add
1890         $(tests-printers).
1891         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
1893 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1895         [BZ #20539]
1896         * math/Makefile (install-lib-ldscripts): Add libm.a.
1897         (install_subdir): Remove.
1898         (install-others): Add.
1899         ($(inst_libdir)/libm.a): Add rule for installation as
1900         linker script.
1901         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
1903 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
1905         * INSTALL: Regenerated.
1906         * Makeconfig: Add comments and whitespace to make the control flow
1907         clearer.
1908         (+link-printers-tests, +link-pie-printers-tests,
1909         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
1910         built-rtld-LDFLAGS, link-libc-rpath,
1911         link-libc-tests-after-rpath-link,
1912         link-libc-printers-tests): New.
1913         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
1914         link-libc-tests): Use the new variables as required.
1915         * Makerules ($(py-const)): New rule.
1916         generated: Add $(py-const).
1917         * README.pretty-printers: New file.
1918         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
1919         (others): Depend on $(py-const).
1920         (tests): Depend on $(tests-printers-programs) or
1921         $(tests-printers-out),
1922         as required.  Pass $(tests-printers) to merge-test-results.sh.
1923         * manual/install.texi: Add requirements for testing the pretty
1924         printers.
1925         * nptl/Makefile (gen-py-const-headers, pretty-printers,
1926         tests-printers, CFLAGS-test-mutexattr-printers.c
1927         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
1928         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
1929         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
1930         * nptl/nptl-printers.py: New file.
1931         * nptl/nptl_lock_constants.pysym: Likewise.
1932         * nptl/test-cond-printers.c: Likewise.
1933         * nptl/test-cond-printers.py: Likewise.
1934         * nptl/test-condattr-printers.c: Likewise.
1935         * nptl/test-condattr-printers.py: Likewise.
1936         * nptl/test-mutex-printers.c: Likewise.
1937         * nptl/test-mutex-printers.py: Likewise.
1938         * nptl/test-mutexattr-printers.c: Likewise.
1939         * nptl/test-mutexattr-printers.py: Likewise.
1940         * nptl/test-rwlock-printers.c: Likewise.
1941         * nptl/test-rwlock-printers.py: Likewise.
1942         * nptl/test-rwlockattr-printers.c: Likewise.
1943         * nptl/test-rwlockattr-printers.py: Likewise.
1944         * scripts/gen-py-const.awk: Likewise.
1945         * scripts/test_printers_common.py: Likewise.
1946         * scripts/test_printers_exceptions.py: Likewise.
1948 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
1950         * scripts/build-many-glibcs.py (Context.__init__): Take strip
1951         argument.
1952         (Glibc.build_glibc): Strip installed shared libraries if
1953         requested.
1954         (get_parser): Add --strip option.
1955         (main): Update Context call.
1957 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1958             Dominik Vogt  <vogt@linux.vnet.ibm.com>
1960         [BZ #20847]
1961         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1962         array bounds for else branch.
1963         (__execvpe): Style fixes.
1964         * posix/tst-vfork3.c (run_script): New function.
1965         (create_script): Likewise.
1966         (do_test): Use run_script internal function.
1967         (do_prepare): Use create_script internal function.
1969 2016-12-07  Andreas Schwab  <schwab@suse.de>
1971         * sysdeps/unix/sysv/linux/x86/elision-conf.h
1972         (__elision_available): Don't declare.
1973         * sysdeps/unix/sysv/linux/x86/elision-conf.c
1974         (__elision_available): Don't define.
1975         (elision_init): Don't set __elision_available.
1977 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
1979         [BZ #20940]
1980         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
1981         return Inf for arguments Inf and sNaN.
1982         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
1983         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1984         Likewise.
1985         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1986         Likewise.
1987         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1988         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
1989         for arguments Inf and sNaN.  When returning a NaN, compute it by
1990         arithmetic on the arguments.
1991         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
1992         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
1993         arguments.
1995 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
1997         [BZ #20916]
1998         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
1999         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2000         to compute result.
2001         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2002         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2004 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2006         * include/atomic.h (__atomic_check_size_ls): New.
2007         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2008         atomic_store_release): Use it.
2009         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2010         (elision_adapt, ELIDE_LOCK): Use atomics.
2011         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2012         atomics and improve code comments.
2013         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2014         (__lll_trylock_elision): Likewise.
2016 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2018         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2019         programs.
2021 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2023         [BZ #20916]
2024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2025         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2026         arguments to compute result.
2027         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2028         1 for arguments (sNaN, 0) or (1, sNaN).
2029         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2030         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2032         [BZ #20919]
2033         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2034         NaN first argument when raised to power 0.
2035         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2036         raising to power zero.
2037         * math/w_powf.c (__powf): Likewise.
2038         * math/w_powl.c (__powl): Likewise.
2039         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2040         pow (0, 0) or pow (NaN, 0).
2042 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2044         [BZ #20918]
2045         * configure.ac: Test for static NSS cryptographic libraries and set
2046         libc_cv_static_nss_crypt.
2047         * configure: Regenerate.
2048         * config.make.in (static-nss-crypt): Define.
2049         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2050         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2051         (CFLAGS-tst-linkall-static.c): Define.
2052         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2053         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2054         ($(objpfx)tst-linkall-static): Define.
2055         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2056         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2058 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2060         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2061         (one-hundred, tst-tls-many-dynamic-modules): Define.
2062         (modules-names): Add $(tst-tls-many-dynamic-modules).
2063         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2064         macros.
2065         (tst-tls-manydynamic): Link against libdl, libpthread.
2066         (tst-tls-manydynamic.out): The test needs the test modules at run
2067         time.
2068         * elf/tst-tls-manydynamic.c: New file.
2069         * elf/tst-tls-manydynamic.h: Likewise.
2070         * elf/tst-tls-manydynamicmod.c: Likewise.
2072 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2074         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2075         (TLS_DTV_UNALLOCATED): Add.
2076         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2077         offsets.
2079 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2081         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2083 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2085         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2086         Add -fno-optimize-sibling-calls.
2088 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2090         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2091         New declaration.
2092         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2093         macro.
2094         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2095         New macro.
2096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2098         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2099         (llogbf): Likewise.
2100         (llogbl): Likewise.
2101         * math/Makefile (gen-libm-calls): Add w_llogbF.
2102         (tests): Add test-fp-llogb-constants.
2103         * math/w_llogb_template.c: New file.  Based on
2104         math/w_ilogb_template.c.
2105         * math/libm-test.inc (llogb_test_data): New array.
2106         (llogb_test): New function.
2107         (main): Call llogb_test.
2108         * math/test-fp-llogb-constants.c: New file.  Based on
2109         math/test-fp-ilogb-constants.c.
2110         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2111         (do_test): Call check_return_llogb.
2112         * math/test-tgmath.c (NCALLS): Increase to 126.
2113         (F(compile_test)): Call llogb.
2114         (F(llogb)): New function.
2115         * manual/math.texi (Exponents and Logarithms): Document llogb,
2116         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2117         * manual/libm-err-tab.pl (@all_functions): Add llogb.
2118         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2119         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2120         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2121         (CFLAGS-nldbl-llogb.c): New variable.
2122         * sysdeps/nacl/libm.abilist: Update.
2123         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2124         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2125         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2126         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2127         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2128         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2129         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2130         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2131         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2132         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2133         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2134         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2136         Likewise.
2137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2138         Likewise.
2139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2140         Likewise.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2142         Likewise.
2143         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2144         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2145         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2146         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2147         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2149         Likewise.
2150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2151         Likewise.
2152         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2153         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2154         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2156 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2158         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2159         _Float128 instead of long double.
2160         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2162         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2163         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2164         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2165         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2166         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2167         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2168         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2169         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2170         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2171         Likewise.
2173 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2175         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2176         Remove redirection to __strrchr_ppc.
2178 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2180         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2181         (sysdep_routines): Add strcmp_power9.
2182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2183         (strcmp): Add __strcmp_power9 to list of strcmp functions.
2184         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2185         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2186         (strcmp): Add __strcmp_power9 to ifunc list.
2187         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2189 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2191         * bits/fp-logb.h: New file.
2192         * sysdeps/ia64/bits/fp-logb.h: Likewise.
2193         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2194         * sysdeps/x86/bits/fp-logb.h: Likewise.
2195         * math/Makefile (headers): Add bits/fp-logb.h.
2196         * math/math.h: Include <bits/fp-logb.h>.
2197         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2198         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2199         * bits/mathdef.h (FP_ILOGB0): Remove.
2200         (FP_ILOGBNAN): Likewise.
2201         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2202         (FP_ILOGBNAN): Likewise.
2203         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2204         (FP_ILOGBNAN): Likewise.
2205         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2206         (FP_ILOGBNAN): Likewise.
2207         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2208         (FP_ILOGBNAN): Likewise.
2209         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2210         (FP_ILOGBNAN): Likewise.
2211         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2212         (FP_ILOGBNAN): Likewise.
2213         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2214         (FP_ILOGBNAN): Likewise.
2215         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2216         (FP_ILOGBNAN): Likewise.
2217         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2218         (FP_ILOGBNAN): Likewise.
2220         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
2221         time module.
2222         (Context.__init__): Initialize self.logsdir_old.
2223         (Context.run_builds): Handle bot action.
2224         (Context.bot_cycle): Copy logs directory before running builds.
2225         (Context.bot_run_self): Take argument for whether to check
2226         subprocess result.  Flush stdout before running subprocess.
2227         (Context.bot): New function.
2228         (get_parser): Allow bot action.
2230 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
2232         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2233         Import email.mime.text, email.utils and smtplib modules.
2234         (Context.__init__): Initialize self.bot_config_json.
2235         (Context.run_builds): Handle bot-cycle action.
2236         (Context.load_bot_config_json): New function.
2237         (Context.part_build_old): Likewise.
2238         (Context.bot_cycle): Likewise.
2239         (Context.bot_build_mail): Likewise.
2240         (Context.bot_run_self): Likewise.
2241         (get_parser): Allow bot-cycle action.
2243 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2245         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2246         Remove redirection to __stpcpy_ppc.
2248 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2250         Remove __libc_memalign from ld.so because it is unused.
2251         * elf/dl-minimal.c: Update comment on the malloc implementation.
2252         (malloc): Renamed from __libc_memalign, replacing the original
2253         malloc implementation.  Replace the align parameter with
2254         MALLOC_ALIGNMENT.
2255         * elf/Versions (ld): Update comment and remove __libc_memalign.
2256         * sysdeps/nacl/ld.abilist: Likewise.
2257         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2258         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2259         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2260         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2261         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2262         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2263         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2264         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2265         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2266         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2267         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2268         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2280         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2281         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2282         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2283         * sysdeps/generic/localplt.data (ld.so): Likewise.
2284         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2285         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2286         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2287         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2288         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2289         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2290         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2291         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2292         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2294         (ld.so): Likewise.
2295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2296         (ld.so): Likewise.
2297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2298         Likewise.
2299         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2300         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2301         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2302         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2303         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2305 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2307         [BZ #16628]
2308         Implement _dl_catch_error, _dl_signal_error in libc.so.
2309         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2310         (catch_hook): Define as thread-local or regular variable,
2311         depending on DL_ERROR_BOOTSTRAP.
2312         (CATCH_HOOK): Remove.
2313         (dl_signal_error, _dl_catch_error): Use
2314         catch_hook.  Add hidden definition for libc.
2315         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
2316         for DL_ERROR_BOOTSTRAP only.
2317         * elf/dl-error.c: New file.
2318         * elf/dl-error-minimal.c: Likewise.
2319         * elf/tst-latepthread.c: Likewise.
2320         * elf/tst-latepthreadmod.c: Likewise.
2321         * elf/Makefile (routines): Add dl-error.
2322         (dl-routines): Remove dl-error.
2323         (rtld-routines): Add dl-error-minimal.
2324         [build-shared] (tests): Add tst-latepthread.
2325         (module-names): Add tst-latepthreadmod.
2326         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2327         symbol.
2328         (tst-latepthreadmod.so): Link against libpthread.
2329         (tst-latepthread): Link against libdbl.
2330         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2331         _dl_catch_error.
2332         [ld] (GLIBC_PRIVATE): Likewise.
2333         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2334         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2335         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2336         directly.
2337         * elf/dl-tsd.c: Remove file.
2338         * elf/rtld.c (_rtld_global_ro): Remove initializers for
2339         _dl_catch_error, _dl_signal_error.
2340         (_dl_initial_error_catch_tsd): Remove definition.
2341         (do_preload): Remove initialization of dl_error_catch_tsd.
2342         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2343         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2344         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2345         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2346         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2347         set dl_error_catch_tsd.
2348         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2349         _dl_error_catch_tsd member.
2350         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2351         members.
2352         (_dl_initial_error_catch_tsd): Remove declaration.
2353         (_dl_dprintf): Provide definition for use outside of ld.so.
2354         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2355         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
2356         prototype for libc.
2357         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2358         _dl_catch_error.
2359         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2360         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2361         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2362         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2363         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2364         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2365         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2366         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2367         Likewise.
2368         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2370         (ld.so): Likewise.
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2372         (ld.so): Likewise.
2373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2374         Likewise.
2375         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2376         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2377         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2378         Likewise.
2379         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2380         Likewise.
2381         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2383 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2385         [BZ #4099]
2386         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2387         _IO_BUFSIZ (8192).
2389 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
2391         * PROJECTS: Remove file.
2393 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2395         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2397 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
2398             Steve Ellcey  <sellcey@caviumnetworks.com>
2400         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2401         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2402         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2403         fxstatat.
2404         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2405         lxstat.
2406         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2407         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2408         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2409         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2410         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2411         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2412         __xstat.
2414 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2416         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2417         Define.
2418         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2419         definition.
2421 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2423         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2424         version and turn into strong alias.  Remove compat symbol.
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2427         (__longjmp): Remove.
2429 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
2431         * bits/fp-fast.h: New file.
2432         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2433         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2434         * math/Makefile (headers): Add bits/fp-fast.h.
2435         * math/math.h: Include <bits/fp-fast.h>.
2436         * bits/mathdef.h (FP_FAST_FMA): Remove.
2437         (FP_FAST_FMAF): Likewise.
2438         (FP_FAST_FMAL): Likewise.
2439         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2440         (FP_FAST_FMAF): Likewise.
2441         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2442         (FP_FAST_FMAF): Likewise.
2443         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2444         (FP_FAST_FMAF): Likewise.
2445         (FP_FAST_FMAL): Likewise.
2446         * sysdeps/arm/bits/mathdef.h: Remove file.
2447         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2448         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2449         * sysdeps/tile/bits/mathdef.h: Likewise.
2451 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2453         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
2454         * math/w_ilogb.c: Remove.
2455         * math/w_ilogbf.c: Likewise.
2456         * math/w_ilogbl.c: Likewise.
2457         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2458         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2459         * math/Makefile (gen-libm-calls): Add w_ilogbF.
2460         (libm-calls): Remove w_ilogbF.
2461         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2462         (LDOUBLE_ilogbl_libm_version): New macro.
2464         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2466         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2467         [!__STRICT_ANSI__ && !__cplusplus].
2469 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2471         [BZ #20750]
2472         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2473         of PIC.
2475 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2476             Yury Norov  <ynorov@caviumnetworks.com>
2477             Steve Ellcey  <sellcey@caviumnetworks.com>
2479         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2480         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2481         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2482         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2483         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2484         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2485         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2486         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2487         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2488         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2489         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2490         to get correct reg name for ILP32.
2491         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2492         (RELA_SIZE): New Macro.
2493         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2494         to support ILP32.
2495         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2496         cast for ILP32 mode.
2497         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2498         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2499         * sysdeps/aarch64/memset.S (__memset): Ditto.
2500         * sysdeps/aarch64/strchr.S (strchr): Ditto.
2501         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2502         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2503         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2504         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2505         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2506         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2507         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2508         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2509         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2510         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2511         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2512         change PTR_MANGLE call to use register numbers instead of names.
2513         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2514         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2515         ILP32 mode, change PTR_MANGLE calls to use register numbers.
2516         * sysdeps/aarch64/start.S (_start): Ditto.
2517         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2518         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2519         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2520         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2521         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2522         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2523         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2524         Make defined values dependent on __ILP32__.
2525         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2526         (sem_t): Change __align type.
2527         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2528         PTR_SIZE): New Macros.
2529         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2530         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2531         Set when in ILP32 mode.
2532         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2533         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2534         Set elf flags for ILP32.
2535         (add_system_dir): Set ILP32 library directories.
2536         * sysdeps/unix/sysv/linux/aarch64/init-first.c
2537         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2538         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2539         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2540         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2541         New Macros.
2542         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2544 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2546         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2547         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2548         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2550 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2552         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2553         <asm/cachectl.h>.
2555 2016-11-27  Zack Weinberg  <zackw@panix.com>
2557         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2558         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2560 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2562         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2563         error_t to fix usage in C++ programs.
2565 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
2567         * scripts/build-many-glibcs.py: Import datetime module.
2568         (Context.__init__): Load JSON build state.  Initialize list of
2569         status logs.
2570         (Context.run_builds): Update saved build state.
2571         (Context.add_makefile_cmdlist): Update list of status logs.
2572         (Context.load_build_state_json): New function.
2573         (Context.store_build_state_json): Likewise.
2574         (Context.clear_last_build_state): Likewise.
2575         (Context.update_build_state): Likewise.
2576         (CommandList.status_logs): Likewise.
2578 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
2580         * scripts/build-many-glibcs.py (Context.__init__): Save text of
2581         script being executed.
2582         (Context.get_script_text): New function.
2583         (Context.exec_self): Likewise.
2584         (Context.checkout): Re-exec script if changed by checkout process.
2586 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2588         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2589         (setpayloadsig): New declaration.
2590         * math/Versions (setpayloadsig): New libm symbol at version
2591         GLIBC_2.25.
2592         (setpayloadsigf): Likewise.
2593         (setpayloadsigl): Likewise.
2594         * math/Makefile (libm-calls): Add s_setpayloadsigF.
2595         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2596         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2597         (setpayloadsig_test_data): New array.
2598         (setpayloadsig_test): New function.
2599         (main): Call setpayloadsig_test.
2600         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2601         setpayloadsigf and setpayloadsigl.
2602         * manual/libm-err-tab.pl: Update comment on interfaces without
2603         ulps tabulated.
2604         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2605         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2606         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2607         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2608         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2609         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2610         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2611         setpayloadsig.
2612         (CFLAGS-nldbl-setpayloadsig.c): New variable.
2613         * sysdeps/nacl/libm.abilist: Update.
2614         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2615         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2616         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2617         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2618         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2619         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2620         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2621         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2622         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2623         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2624         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2625         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2627         Likewise.
2628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2629         Likewise.
2630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2631         Likewise.
2632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2633         Likewise.
2634         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2636         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2637         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2638         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2640         Likewise.
2641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2642         Likewise.
2643         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2644         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2645         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2647         * scripts/build-many-glibcs.py: Import json module.
2648         (Context.__init__): Take replace_sources argument.  Load
2649         versions.json.
2650         (Context.load_versions_json): New function.
2651         (Context.store_json): Likewise.
2652         (Context.store_versions_json): Likewise.
2653         (Context.set_component_version): Likewise.
2654         (Context.checkout): Update versions.json.  Check for and handle
2655         changes of version.  Prefer previously explicitly specified
2656         version to default version.
2657         (Context.checkout_vcs): Return a revision identifier.
2658         (Context.git_checkout): Likewise.
2659         (Context.gcc_checkout): Likewise.
2660         (get_parser): Add --replace-sources option.
2661         (main): Pass replace_sources argument to Context call.
2663 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2665         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2666         * nptl/allocatestack.c (allocate_stack): Likewise.
2667         (__reclaim_stacks): Likewise.
2668         (setxid_signal_thread): Obtain pid through syscall.
2669         * nptl/nptl-init.c (sigcancel_handler): Likewise.
2670         (sighandle_setxid): Likewise.
2671         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2672         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2673         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2674         Likewise.
2675         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2676         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2677         comment.
2678         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2679         * nptl/descr.h (struct pthread): Change comment about pid value.
2680         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2681         pid assert.
2682         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2683         Do not set pid value.
2684         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2685         pid cache check.
2686         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2687         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2688         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2689         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2690         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2691         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2692         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2693         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2694         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2695         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2696         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2697         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2698         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2699         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2700         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2701         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2702         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2703         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2704         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2705         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2706         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2707         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2708         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2709         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2710         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2713         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2714         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2715         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2716         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2717         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2718         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2719         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2720         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2721         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2722         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2723         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2724         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2725         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2726         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2727         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2728         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2731         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2732         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2733         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2734         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2735         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2736         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2737         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2738         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2739         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2740         struct access.
2741         (clone_test): Remove function.
2742         (do_test): Rewrite to take in consideration pid is not cached anymore.
2744 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2746         * bits/flt-eval-method.h: New file.
2747         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2748         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2749         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2750         * math/Makefile (headers): Add bits/flt-eval-method.h.
2751         * math/math.h: Include <bits/flt-eval-method.h>.
2752         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2753         [__USE_ISOC99] (double_t): Likewise.
2754         * bits/mathdef.h (float_t): Remove.
2755         (double_t): Likewise.
2756         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2757         (double_t): Likewise.
2758         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2759         (double_t): Likewise.
2760         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2761         (double_t): Likewise.
2762         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2763         (double_t): Likewise.
2764         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2765         (double_t): Likewise.
2766         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2767         (double_t): Likewise.
2768         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2769         (double_t): Likewise.
2770         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2771         (double_t): Likewise.
2772         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2773         (double_t): Likewise.
2774         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2775         (double_t): Likewise.
2776         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2777         (double_t): Likewise.
2778         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2779         (double_t): Likewise.
2780         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2781         (double_t): Likewise.
2783 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
2785         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2786         instead of PIC.
2788 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2790         [BZ #20859]
2791         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2792         (-0x7fffffff) instead of 0x80000001.
2793         * math/test-fp-ilogb-constants.c: New file.
2794         * math/Makefile (tests): Add test-fp-ilogb-constants.
2796 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
2798         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2799         (_init): Use it in place of hardcoded R_MIPS_JALR.
2800         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2801         (_init): Use it in place of hardcoded R_MIPS_JALR.
2802         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2803         (_init): Use it in place of hardcoded R_MIPS_JALR.
2805 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2807         [BZ #20787]
2808         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2809         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2810         (double_t): Do not define to double if [__x86_64__] when
2811         __FLT_EVAL_METHOD__ is nonzero.
2812         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2813         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2814         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2815         test-flt-eval-method-387 and test-flt-eval-method-sse.
2816         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2817         variable.
2818         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2820 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
2822         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2823         use of -fno-isolate-erroneous-paths options for tilepro.
2825 2016-11-23  Florian Weimer  <fweimer@redhat.com>
2827         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2828         structure initialization is no longer needed.
2830 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2832         [BZ #20855]
2833         * bits/mathdef.h (float_t): Define to float.
2834         * math/test-flt-eval-method.c: New file.
2835         * math/Makefile (tests): Add test-flt-eval-method.
2836         (CFLAGS-test-flt-eval-method.c): New variable.
2838 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
2840         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2841         and __fstatfs.  Make them aliases of __fstatfs64 if
2842         STATFS_IS_STATFS64 is set to non-zero.
2843         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2844         and __statfs64.
2845         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2846         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2847         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2848         for __statfs and statfs.
2849         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2850         to 0.
2851         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2852         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2853         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2854         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2855         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2856         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2859         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2860         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2861         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2862         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2864 2016-11-22  Andreas Schwab  <schwab@suse.de>
2866         * misc/mkstemp.c: Include <fcntl.h>.
2867         * misc/mkstemps.c: Likewise.
2868         * misc/mkostemp.c: Likewise.
2869         * misc/mkostemps.c: Likewise.
2871 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
2873         [BZ #20847]
2874         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2875         array bounds.
2876         (__execvpe): Likewise.
2878 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
2880         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
2881         -fno-isolate-erroneous-paths options for tilepro.
2883 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
2885         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
2886         to 0 when in 32 bit mode.
2887         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
2888         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2889         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2890         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2892         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2893         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
2894         XSTAT_IS_XSTAT64 test.
2895         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
2896         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
2897         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
2898         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
2899         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
2900         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
2901         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
2902         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
2903         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
2904         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
2905         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
2907 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
2909         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2910         (setpayload): New declaration.
2911         * math/Versions (setpayload): New libm symbol at version
2912         GLIBC_2.25.
2913         (setpayloadf): Likewise.
2914         (setpayloadl): Likewise.
2915         * math/Makefile (libm-calls): Add s_setpayloadF.
2916         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
2917         test_Ff_b1_data.
2918         (RUN_TEST_Ff_b1): New macro.
2919         (RUN_TEST_LOOP_Ff_b1): Likewise.
2920         (canonicalize_test_data): Update type.
2921         (setpayload_test_data): New array.
2922         (setpayload_test): New function.
2923         (main): Call setpayload_test.
2924         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
2925         setpayloadf and setpayloadl.
2926         * manual/libm-err-tab.pl: Update comment on interfaces without
2927         ulps tabulated.
2928         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
2929         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
2930         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
2931         Likewise.
2932         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
2933         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
2934         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
2935         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
2937         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
2938         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
2939         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
2940         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
2941         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2942         setpayload.
2943         (CFLAGS-nldbl-setpayload.c): New variable.
2944         * sysdeps/nacl/libm.abilist: Update.
2945         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2946         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2947         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2948         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2949         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2950         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2951         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2952         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2953         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2954         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2955         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2956         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2958         Likewise.
2959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2960         Likewise.
2961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2962         Likewise.
2963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2964         Likewise.
2965         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2966         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2967         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2968         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2969         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2971         Likewise.
2972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2973         Likewise.
2974         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2975         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2976         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2978 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2980         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
2981         * include/unistd.h: Extend comment about __access_noerrno return
2982         semantics.
2983         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
2984         (access_common): Correct typo for EACCES.
2986 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
2988         * sysdeps/tile/math-tests.h: New file.
2990         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
2991         (__old_set_dataplane): Rename from set_dataplane and make a
2992         compatibility symbol.
2993         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
2994         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
2995         sys/dataplane.h.
2997 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
2999         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3000         script quote words in command output to log suitably for input to
3001         the shell.
3003 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3004             Maciej W. Rozycki  <macro@imgtec.com>
3006         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3007         `.Lno_weak_fn' label.
3008         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3009         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3011 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3012             Yury Norov  <ynorov@caviumnetworks.com>
3014         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3015         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3016         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3017         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3018         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3019         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3020         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3021         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3022         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3023         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3024         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3025         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3026         (sysdep_routines): Remove oldgetrlimit64.
3027         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3028         (sysdep_routines): Likewise.
3029         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3030         (sysdep_routines): Likewise.
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3032         [$(subdir) = resource] (sysdep_routines): Likewise.
3033         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3034         [$(subdir) = resource] (sysdep_routines): Likewise.
3035         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3036         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3037         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3038         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3039         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3040         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3041         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3042         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3043         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3044         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3045         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3046         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3047         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3048         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3049         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3050         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3051         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3052         setrlimit and getrlimit.
3053         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3054         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3055         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3058         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3059         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3060         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3061         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3062         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3063         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3064         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3065         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3066         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3067         (__old_getrlimit64): Add compatibility symbol.
3068         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3070 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3072         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3073         newly built gmp, mpfr and mpc.
3075         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3077 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3079         * conform/Makefile (linknamespace-libs): Rename to
3080         linknamespace-libs-thr.
3081         (linknamespace-libs-posix): New variable.
3082         (linknamespace-libs-xsi): Likewise.
3083         (linknamespace-libs-XPG3): Include libcrypt.a.
3084         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3085         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3086         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3087         (linknamespace-libs-XOPEN2K): Likewise.
3088         (linknamespace-libs-XOPEN2K8): Likewise.
3089         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3091         [BZ #20829]
3092         * stdio-common/Versions (__snprintf): Add to version
3093         GLIBC_PRIVATE.
3094         * include/stdio.h (__snprintf): Use libc_hidden_proto.
3095         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3096         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3097         of snprintf.
3098         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3100 2016-11-16  Zack Weinberg  <zackw@panix.com>
3102         * string/string.h: Remove obsolete comment stating that
3103         strcoll_l and strxfrm_l have not yet been standardized.
3105 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3107         * hurd/hurd.h (__hurd_fail_noerrno): New function.
3108         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3109         __access_noerrno.
3110         * io/access.c (__access_noerrno): New function.
3111         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3112         (hurd_fail_seterrno): Likewise.
3113         (access_common): Likewise.
3114         (__access_noerrno): Likewise.
3115         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3116         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3117         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3118         macro.
3120 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3122         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3123         Only declare fpregs if [__SH_FPU_ANY__].
3125 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
3127         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3128         Make code unconditional.
3129         [!(__SH4__ || __SH4A__)]: Remove conditional code.
3131 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
3133         * manual/sysinfo.texi (S_APPEND): Delete.
3134         (S_IMMUTABLE): Likewise.
3136 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
3137             Magnus Granberg  <zorry@gentoo.org>
3138             Mike Frysinger  <vapier@gentoo.org>
3140         [BZ #20662]
3141         * configure.ac (libc_cv_predef_stack_protector): Also check for
3142         __stack_chk_fail_local symbols.
3143         * configure: Regenerated.
3145 2016-11-15  Florian Weimer  <fweimer@redhat.com>
3147         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3148         (libc_hidden_def): Remove redefinition.
3149         (__sigsetjmp): Add hidden definition.
3150         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3151         (libc_hidden_def): Remove redefinition.
3152         (__sigsetjmp): Add hidden definition.
3154 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
3156         * scripts/build-many-glibcs.py (os.path): Do not import.
3157         (Context): Inherit explicitly from object.  Remove blank line
3158         between class and docstring.
3159         (Config): Likewise.
3160         (Glibc): Likewise.
3161         (Command): Likewise.
3162         (CommandList): Likewise.
3163         (Context.write_files): Store chmod mode in a variable.
3165         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3166         LIBC_SLIBDIR_RTLDDIR for tilegx32.
3167         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3169 2016-11-14  Zack Weinberg  <zackw@panix.com>
3171         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3172         creating or re-creating it.
3174         * string/bits/string2.h: Fix typo in comment.
3176 2016-11-14  Zack Weinberg  <zackw@panix.com>
3178         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3179         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3180         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3181         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3182         of redirected function names.
3184         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3185         as well.  Document that MESSAGE must be a single string literal.
3187 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
3189         * scripts/build-many-glibcs.py: New file.
3191         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3192         (do_test): Disable -Wmaybe-uninitialized around uses of
3193         except_mask.
3195         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3197 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
3199         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3200         (atomic_store_release): Provide tilepro-specific implementations.
3202 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
3204         * math/math.h (__MATH_TG): New macro.
3205         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3206         [__USE_ISOC99] (signbit): Likewise.
3207         [__USE_ISOC99] (isfinite): Likewise.
3208         [__USE_ISOC99] (isnan): Likewise.
3209         [__USE_ISOC99] (isinf): Likewise.
3210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3212         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3213         __MATH_TG and __MATH_EVAL_FMT2.
3214         * sysdeps/generic/math_private.h (fabs_tg): Define using
3215         __MATH_TG.
3216         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3217         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3218         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3219         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3220         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3221         macro.
3222         (__iscanonical): Likewise.
3223         (iscanonical): Define using __MATH_TG.
3225 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3227         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3228         guards.
3230         * sysdeps/unix/sysv/linux/access.c: New file.
3231         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3233 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
3235         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3236         and __WORDSIZE32_PTRDIFF_LONG.
3238 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3240         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3242 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3244         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3245         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3246         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3247         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3248         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3250         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3251         * sysdeps/unix/sysv/linux/truncate.c: New file.
3252         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3253         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3254         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3255         Remove.
3256         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3257         Likewise.
3259         * posix/tst-truncate-common.c: New file.
3260         * posix/tst-truncate.c: Use tst-truncate-common.c.
3261         * posix/tst-truncate64.c: Likewise and add LFS tests.
3262         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3263         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3264         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3265         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3266         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3268         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3269         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3270         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3271         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3272         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3273         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3274         Remove.
3275         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3276         Likewise.
3278 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
3280         [BZ #20790]
3281         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3282         to MAXLINESIZE.
3283         * sunrpc/bug20790.x: New file.
3284         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3285         variable.
3286         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3287         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3289         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3291         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3293         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3294         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
3295         calloc, realloc, free, memalign and __libc_memalign rather than
3296         making them optional.
3298         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3299         for libc.so.
3301 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3303         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3304         ptw-lseek64.
3305         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3306         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
3307         Likewise.
3308         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3309         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3310         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3311         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3312         * sysdeps/unix/sysv/linux/lseek.c: New file.
3313         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3314         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3315         __libc_lseek64 from auto-generation.
3316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3317         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3319 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3321         * nptl/tst-basic1.c (tf, do_test): Use write_message.
3322         * nptl/tst-cleanup1.c (do_test): Likewise.
3323         * nptl/tst-cleanup3.c (do_test): Likewise.
3324         * nptl/tst-key1.c (do_test): Likewise.
3325         * nptl/tst-key2.c (tf, do_test): Likewise.
3326         * nptl/tst-key3.c (tf, do_test): Likewise.
3327         * nptl/tst-stdio1.c (do_test): Likewise.
3328         * nptl/tst-stdio2.c (do_test): Likewise.
3330         * nptl/tst-kill3.c (handler): Use write_message in place of write.
3331         * nptl/tst-kill6.c (handler): Likewise.
3332         * nptl/tst-tls2.c (CB): Likewise.
3333         * nptl/tst-tls3.c (CB): Likewise.
3335 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
3337         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3339 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
3340             Steve Ellcey  <sellcey@caviumnetworks.com>
3342         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3343           __ASSUME_ST_INO_64_BIT as 0
3344         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3345         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3346           over the code where __ASSUME_ST_INO_64_BIT is used.
3347         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3348         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3349         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3351 2016-11-07  Florian Weimer  <fweimer@redhat.com>
3353         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3354         Document ABI exposure of the __kind offset.
3355         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3356         Mention reason for the __kind offset exposure in the ABI.
3357         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3358         Likewise.
3359         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3360         Likewise.
3361         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3362         Likewise.
3363         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3364         (struct __pthread_mutex_s): Likewise.
3365         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3366         Likewise.
3367         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3368         Likewise.
3369         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3370         Likewise.
3371         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3372         Likewise.
3373         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3374         Likewise.
3375         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3376         Likewise.
3377         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3378         (struct __pthread_mutex_s): Likewise.
3379         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3380         (struct __pthread_mutex_s): Likewise.
3381         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3382         Likewise.
3384 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
3386         * test-skeleton.c: Document do_test usage.
3388 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
3390         * iconv/gconv.h (__gconv_info): Define __data element using a
3391         zero-length array.
3393 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
3395         * math/test-tgmath2.c: Split up test function.
3397 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3399         * Rules (tests-expected): New variable, depending on
3400         $(run-built-tests).
3401         (tests): Pass $(tests-expected) to merge-test-results.sh, not
3402         $(tests).
3404         * Rules [$(run-built-tests) = no] (tests): Do not depend on
3405         $(tests-unsupported).
3407 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3409         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3410         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
3412 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3414         [BZ #20768]
3415         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3416         __fegetenv instead of fegetenv.
3418         [BZ #14139]
3419         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3420         (find_files): Obtain platform name from libm-test-ulps-name and
3421         store in %pplatforms.
3422         (canonicalize_platform): Remove.
3423         (print_platforms): Use $pplatforms directly.
3424         (by_platforms): Do not allow for platforms missing from
3425         %pplatforms.
3426         * sysdeps/aarch64/libm-test-ulps-name: New file.
3427         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3428         * sysdeps/arm/libm-test-ulps-name: Likewise.
3429         * sysdeps/generic/libm-test-ulps-name: Likewise.
3430         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3431         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3432         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3433         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3434         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3435         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3436         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3437         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3438         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3439         * sysdeps/nios2/libm-test-ulps-name: Likewise.
3440         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3441         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3442         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3443         * sysdeps/sh/libm-test-ulps-name: Likewise.
3444         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3445         * sysdeps/tile/libm-test-ulps-name: Likewise.
3446         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3448         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3450         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3451         (test-xfail-check-execstack): New variable.
3453         * sysdeps/mips/localplt.data: New file.
3455 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
3456             Steve Ellcey  <sellcey@caviumnetworks.com>
3458         * bits/wordsize.h: Add documentation.
3459         * sysdeps/aarch64/bits/wordsize.h : New file
3460         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3461         definitions.
3462         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3463         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3464         with #if instead of #ifdef.
3465         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3466         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3467         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3468         Add or change defines.
3469         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3470         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3471         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3472         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3473         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3474         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3475         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3476         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3477         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3478         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3479         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3480         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3481         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3482         * sysdeps/x86/bits/wordsize.h: Likewise.
3484 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
3485             Kevin Petit  <kevin.petit@arm.com>
3487         * sysdeps/aarch64/memchr.S (__memchr): New file.
3489 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3491         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3493 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
3495         [BZ #19398]
3496         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3497         $(linknamespace-symlists-tests).
3499 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
3501         * time/tst-strptime2.c: Ignore -Wformat-length warning.
3503 2016-11-02  Florian Weimer  <fweimer@redhat.com>
3504             Carlos O'Donell  <carlos@redhat.com>
3506         [Bug #20729]
3507         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3508         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
3509         for -Os related change.
3511 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
3513         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3515 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
3517         [BZ #19673]
3518         * manual/math.texi (Exponents and Logarithms): Correct description
3519         of clog10.
3521 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
3523         [Bz #20729]
3524         * locale/weight.h: Include libc-internal.h.
3525         * locale/weightwc.h: Likewise.
3526         * nptl/nptl_dbP.h: Likewise.
3528 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
3530         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3531         when it is MACH_PORT_NULL.
3533 2016-10-31  Andreas Schwab  <schwab@suse.de>
3535         [BZ #20707]
3536         * posix/glob.c (glob): Initialize pglob before checking for
3537         GLOB_BRACE.  Don't call glob recursively if pattern contains no
3538         valid brace expression despite GLOB_BRACE.
3539         * posix/globtest.sh: Test it.
3541 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3543         [BZ #20729]
3544         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3545         Define.
3546         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3547         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3548         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3549         for seq2.back_us and seq1.back_us only for -Os compiles.
3550         * locale/weightwc.h (findix): Likewise.
3551         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3552         DB_GET_FIELD_ADDRESS only for -Os compiles.
3553         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3554         for slen only for -Os compiles.
3555         * string/strcoll_l.c (get_next_seq): Ignore
3556         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3557         for -Os compiles.
3559         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3560         * include/crypt.h: New file.
3562 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3564         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3565         from test-skeleton.c.
3566         (statclass): Replace calls to write with calls to write_message.
3568 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3570         * math/math.h
3571         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3572         New macro.
3573         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3574         Likewise.
3575         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3576         Likewise.
3577         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3578         SNANL.
3579         * math/test-double.h (snan_value_MACRO): New macro.
3580         * math/test-float.h (snan_value_MACRO): Likewise.
3581         * math/test-ldouble.h (snan_value_MACRO): Likewise.
3582         * math/libm-test.inc (issignaling_test_data): Add tests of
3583         snan_value_MACRO.
3585 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3587         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3588         behavior when eliding a lock not held by the current thread.
3589         * sysdeps/powerpc/nptl/elide.h: Likewise.
3591 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3593         [BZ #20728]
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3595         branch to _exit() by a function call.
3597 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3599         * malloc/malloc.c: Update chunk layout comments.
3600         (chunk_main_arena): Update comment.
3602 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3604         * crypt/sha256.c, crypt/sha256-block.c,
3605         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3606         sha256_process_block to __sha256_process_block.
3607         * crypt/sha512.c, crypt/sha512-block.c,
3608         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3609         sha512_process_block to __sha512_process_block.
3611 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3613         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3615         * math/test-nan-overflow.c: Include stdlib.h for malloc.
3617 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
3619         [BZ #20019]
3620         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3621         definition in unrelocated shared library.
3622         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3624 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3626         [BZ #20729]
3627         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3628         * sysdeps/unix/sysv/linux/i386/Makefile
3629         (uses-6-syscall-arguments): Define.
3630         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3631         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3632         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3633         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3634         Likewise.
3635         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3636         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3637         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3638         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3639         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3640         (CFLAGS-fallocate64.os): Likewise.
3641         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3642         (CFLAGS-pthread_rwlock_timedrdlock.os)
3643         (CFLAGS-pthread_rwlock_timedwrlock.o)
3644         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3645         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3646         (CFLAGS-sem_timedwait.os): Likewise.
3648 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3650         * elf/tst-linkall-static.c: New file.
3651         * elf/Makefile (tests-static): Add tst-linkall-static.
3652         (tst-linkall-static): Link against static libraries.
3654 2016-10-27  Florian Weimer  <fweimer@redhat.com>
3656         * malloc/malloc.c (sysmalloc): Initialize previous size field of
3657         mmaped chunks.
3659 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3661         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3662         members to mchunk_prev_size, mchunk_size.
3663         (chunk_main_arena): Reverse sense and rename from
3664         chunk_non_main_arena.
3665         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3666         mchunk_size instead of size.
3667         (set_non_main_arena): Define.
3668         (chunksize): Use chunksize_nomask instead of direct member access.
3669         (chunksize_nomask): Define.
3670         (next_chunk): Use chunksize instead of direct member access.
3671         (prev_size, set_prev_size): Define.
3672         (prev_chunk): Use prev_size instead of direct member access.
3673         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3674         (inuse_bit_at_offset, set_inuse_bit_at_offset)
3675         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3676         (mchunk_prev_size, mchunk_size): Poison tokens.
3677         (unlink): Use chunksize_nomask, prev_size accessors.
3678         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3679         (do_check_free_chunk): Use prev_size accessor.
3680         (sysmalloc): Use set_prev_size, set_head accessors.
3681         (munmap_chunk, mremap_chunk): Use prev_size accessor.
3682         (__libc_free): Use chunksize_nomask accessor.
3683         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3684         chunk_main_arena accessors.
3685         (_int_free): Use chunksize_nomask, prev_size accessors.
3686         (malloc_consolidate): Use chunksize, prev_size accessors.
3687         (_int_realloc): Use chunksize_nomask accessor.
3688         (_int_memalign): Use set_prev_size accessor.
3689         (__malloc_info): Use chunksize_nomask accessor.
3690         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3691         accessors.
3692         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3693         (heap_trim): Use chunksize_nomask, prev_size accessors.
3695 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3697         [BZ #19380]
3698         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3699         for inexact results.
3700         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3701         of inexact result where mpfr_subnormalize is the only inexact
3702         step.
3703         * stdlib/tst-strtod-round-data.h: Regenerated.
3704         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3705         Define to 0.
3706         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3708 2016-10-27  David S. Miller  <davem@davemloft.net>
3710         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3712 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3714         * malloc/malloc.c (do_set_mallopt_check): New function.
3715         (do_set_mmap_threshold): Likewise.
3716         (do_set_mmaps_max): Likewise.
3717         (do_set_top_pad): Likewise.
3718         (do_set_perturb_byte): Likewise.
3719         (do_set_trim_threshold): Likewise.
3720         (do_set_arena_max): Likewise.
3721         (do_set_arena_test): Likewise.
3722         (__libc_mallopt): Use them.
3724 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3726         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3727         (canonicalize): New declaration.
3728         * math/Versions (canonicalize): New libm symbol at version
3729         GLIBC_2.25.
3730         (canonicalizef): Likewise.
3731         (canonicalizel): Likewise.
3732         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3733         * math/s_canonicalize_template.c: New file.
3734         * math/libm-test.inc: Update comment on functions tested and
3735         testing of NaN payloads.
3736         (TEST_NAN_PAYLOAD): New macro.
3737         (NO_TEST_INLINE): Update value.
3738         (XFAIL_TEST): Likewise.
3739         (ERRNO_UNCHANGED): Likewise.
3740         (ERRNO_EDOM): Likewise.
3741         (ERRNO_ERANGE): Likewise.
3742         (IGNORE_RESULT): Likewise.
3743         (NON_FINITE): Likewise.
3744         (TEST_SNAN): Likewise.
3745         (NO_TEST_MATHVEC): Likewise.
3746         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3747         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3748         (struct test_Ffp_b1_data): New type.
3749         (RUN_TEST_Ffp_b1): New macro.
3750         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3751         (canonicalize_test_data): New array.
3752         (canonicalize_test): New function.
3753         (main): Call canonicalize_test.
3754         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3755         canonicalizef and canonicalizel.
3756         * manual/libm-err-tab.pl: Update comment on interfaces without
3757         ulps tabulated.
3758         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3759         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3760         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3761         canonicalize.
3762         (CFLAGS-nldbl-canonicalize.c): New variable.
3763         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3764         to ...
3765         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3766         ... here.
3767         (do_test): Also test canonicalizel.
3768         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3769         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3770         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3771         file.
3772         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3773         Use libm_hidden_def.
3774         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3775         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3776         (do_test): Also test canonicalizel.
3777         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3778         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3779         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3780         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3781         libm_hidden_def.
3782         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3783         macro.
3784         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3785         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3786         * sysdeps/nacl/libm.abilist: Update.
3787         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3788         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3789         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3790         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3791         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3792         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3793         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3794         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3795         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3796         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3797         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3798         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3800         Likewise.
3801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3804         Likewise.
3805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3806         Likewise.
3807         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3808         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3809         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3810         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3811         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3813         Likewise.
3814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3815         Likewise.
3816         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3817         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3818         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3820         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3821         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3822         getpayload.
3823         (CFLAGS-nldbl-getpayload.c): New variable.
3825 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3827         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3828         integer from the format string.
3830 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3832         [BZ #19473]
3833         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3834         declarations.
3835         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3836         weak aliases.
3837         * malloc/hooks.c (__malloc_get_state): Remove definition.
3838         (malloc_get_state): New stub implementation as
3839         compatibility symbol.
3840         (malloc_set_state): Rename from __malloc_set_state.  Turn into
3841         compat symbol.
3842         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3843         malloc_set_state.
3844         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3846 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3848         * iconvdata/iso646.c (enum variant): Drop illegal_var.
3849         (names): Turn into concatenation of strings.
3850         (gconv_init): Adapt iteration over names.
3852 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3854         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3855         make const.
3856         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3857         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3858         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3859         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3860         character in sbconv.
3861         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3862         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3863         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3865 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3867         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3869         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
3870         (M_TRIM_THRESHOLD): Likewise.
3872         * manual/memory.texi (M_ARENA_TEST): Add documentation.
3873         (M_ARENA_MAX): Likewise.
3874         * malloc/malloc.c: Remove obsolete comment.
3876         * manual/memory.texi: Add environment variable alternatives to
3877         setting mallopt parameters.
3879 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
3881         * include/atomic.h
3882         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
3883         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
3885 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3887         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
3888         * stdlib/tst-strfrom.h: New file.
3889         * stdlib/tst-strfrom.c: New file.
3890         * stdlib/tst-strfrom-locale.c: New file.
3892         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
3893         * stdlib/bug-strtod2.c: Likewise.
3894         * stdlib/tst-strtod-round-skeleton.c: Likewise.
3895         * stdlib/tst-strtod6.c: Likewise.
3896         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
3898 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3900         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
3901         * manual/arith.texi: Document strfromd, strfromf, strfroml.
3902         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
3903         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
3904         * stdlib/stdlib.h (strfromd): New declaration.
3905         (strfromf): Likewise.
3906         (strfroml): Likewise.
3907         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
3908         strfrom.
3909         * stdlib/strfromd.c: New file.
3910         * stdlib/strfromf.c: Likewise.
3911         * stdlib/strfroml.c: Likewise.
3912         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
3913         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
3914         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
3915         * sysdeps/arm/nacl/libc.abilist: Update.
3916         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3917         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3920         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3921         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3922         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3923         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3924         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3925         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3926         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3927         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3928         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3929         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
3931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3936         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3937         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3943         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3945 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
3947         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
3948         instead of cmpli.
3949         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
3950         instead of cmpli.
3952 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
3954         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
3955         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3956         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3957         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3958         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3959         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3961 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3963         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
3964         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3965         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
3966         SYSCALL_LL64_PRW.
3967         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3968         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
3969         __ASSUME_PRW_DUMMY_ARG.
3970         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
3971         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3972         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3973         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3974         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
3975         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
3977 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
3979         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
3981 2016-10-22  Florian Weimer  <fweimer@redhat.com>
3983         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
3984         "C++", to override a potential extern "C" directive around the
3985         header file inclusion.
3987 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
3989         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
3991 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3993         * sysdeps/powerpc/fpu/fenv_private.h:
3994         (_FPU_MASK_ALL): Rename to...
3995         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
3996         XE FPSCR bits.
3998         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4000         (_FPU_MASK_ROUNDING): Rename to...
4001         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4002         NI bits.
4004         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4005         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4006         bits and rounding bits.
4008         (__libc_feholdbits_ppc): New inline function to mask, set,
4009         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4010         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4011         (libc_feholdexcept_setround_ppc): Likewise.
4013         (__libc_femergeenv_ppc): New function to dynamically mask both
4014         old and new FP environments and merge.
4015         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4016         (libc_feresetround_ppc): Likewise.
4017         (libc_feupdateenv_test_ppc): Likewise.
4018         (libc_feupdateenv_ppc): Likewise.
4020         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4021         of ISA RN bits, and update macro names.
4022         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4023         effectively the same as the previously mentioned function.
4025         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4026         usage with fe_resetround_ppc.
4028         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4029         to be used.
4030         (libc_feholdexcept_setround_ctxf): Likewise.
4031         (libc_feholdexcept_setround_ctxl): Likewise.
4033 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4035         [BZ #20715]
4036         * math/math.h [__cplusplus] (iszero): Define as function template.
4037         * math/Makefile [CXX] (tests): Add test-math-iszero.
4038         (CFLAGS-test-math-iszero.cc): Set.
4039         * math/test-math-iszero.cc: New file.
4041 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4043         [BZ #20660]
4044         * sysdeps/arm/e_sqrt.c: New file.
4045         * sysdeps/arm/e_sqrtf.c: Likewise.
4047 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4049         [BZ #20718]
4050         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4051         not use floating-point comparisons to test sign.
4052         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4053         Likewise.
4055         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4056         (getpayload): New declaration.
4057         * math/Versions (getpayload): New libm symbol at version
4058         GLIBC_2.25.
4059         (getpayloadf): Likewise.
4060         (getpayloadl): Likewise.
4061         * math/Makefile (libm-calls): Add s_getpayloadF.
4062         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4063         (struct test_f_f_data): Add comment.
4064         (RUN_TEST_fp_f): New macro.
4065         (RUN_TEST_LOOP_fp_f): Likewise.
4066         (getpayload_test_data): New array.
4067         (getpayload_test): New function.
4068         (main): Call getpayload_test.
4069         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4070         descriptor.
4071         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4072         getpayloadf and getpayloadl.
4073         * manual/libm-err-tab.pl: Update comment on interfaces without
4074         ulps tabulated.
4075         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4076         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4077         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4078         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4079         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4080         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4081         * sysdeps/nacl/libm.abilist: Update.
4082         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4083         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4084         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4085         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4086         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4087         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4088         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4089         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4090         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4091         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4092         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4093         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4095         Likewise.
4096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4097         Likewise.
4098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4099         Likewise.
4100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4101         Likewise.
4102         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4103         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4104         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4105         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4106         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4108         Likewise.
4109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4110         Likewise.
4111         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4112         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4113         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4115 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4117         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4118         tst-fallocate{64}.
4119         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4120         on syscall return.
4122 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
4124         [BZ #20689]
4125         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4126         usable.
4128 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
4130         * sysdeps/generic/nan-high-order-bit.h: New file.
4131         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4132         * sysdeps/mips/nan-high-order-bit.h: Likewise.
4133         * sysdeps/hppa/math_private.h: Remove file.
4134         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4135         not define here.
4136         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4137         <nan-high-order-bit.h>.
4138         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4139         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4140         <nan-high-order-bit.h>.
4141         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4142         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4143         <nan-high-order-bit.h>.
4144         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4145         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4146         <nan-high-order-bit.h>.
4147         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4148         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4149         <nan-high-order-bit.h>.
4150         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4151         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4152         <nan-high-order-bit.h>.
4153         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4154         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4155         <nan-high-order-bit.h>.
4156         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4157         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4158         <nan-high-order-bit.h>.
4159         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4160         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4161         <nan-high-order-bit.h>.
4162         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4163         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4164         <nan-high-order-bit.h>.
4165         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4166         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4167         <nan-high-order-bit.h>.
4168         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4169         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4170         <nan-high-order-bit.h>.
4171         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4172         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4173         <nan-high-order-bit.h>.
4174         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4175         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4176         <nan-high-order-bit.h>.
4177         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4178         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4179         <nan-high-order-bit.h>.
4180         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4181         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4182         <nan-high-order-bit.h>.
4183         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4184         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4185         <nan-high-order-bit.h>.
4186         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4187         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4188         <nan-high-order-bit.h>.
4189         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4191 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4193         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4195 2016-09-22  John David Anglin  <dave.anglin@bell.net>
4197         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4198         abort-instr.h.
4199         (EFAULT): Remove conditional define.
4200         (ENOSYS): Likewise.
4201         (atomic_compare_and_exchange_val_acq): Use instruction nullification
4202         instead of conditional branch instructions.
4204 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
4206         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4207         (totalordermag): New declaration.
4208         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4209         New macro.
4210         * math/Versions (totalordermag): New libm symbol at version
4211         GLIBC_2.25.
4212         (totalordermagf): Likewise.
4213         (totalordermagl): Likewise.
4214         * math/Makefile (libm-calls): Add s_totalordermagF.
4215         * math/libm-test.inc (totalordermag_test_data): New array.
4216         (totalordermag_test): New function.
4217         (main): Call totalordermag_test.
4218         * math/test-tgmath.c (NCALLS): Increase to 125.
4219         (F(compile_test)): Call totalordermag.
4220         (F(totalordermag)): New function.
4221         * manual/arith.texi (FP Comparison Functions): Document
4222         totalordermag, totalordermagf and totalordermagl.
4223         * manual/libm-err-tab.pl: Update comment on interfaces without
4224         ulps tabulated.
4225         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4226         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4227         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4228         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4229         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4230         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4231         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4232         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4233         totalordermag.
4234         (CFLAGS-nldbl-totalordermag.c): New variable.
4235         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4236         (do_test): Also test totalordermagl.
4237         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4238         Likewise.
4239         * sysdeps/nacl/libm.abilist: Update.
4240         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4241         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4242         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4243         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4244         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4245         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4246         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4247         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4248         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4249         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4250         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4251         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4253         Likewise.
4254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4255         Likewise.
4256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4257         Likewise.
4258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4259         Likewise.
4260         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4261         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4262         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4263         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4264         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4266         Likewise.
4267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4268         Likewise.
4269         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4270         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4271         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4273 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
4275         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4276         boolean.
4278 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
4280         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4281         raising FE_INVALID with feraisexcept in case where part of
4282         argument is infinite, subtract that part of argument from itself.
4283         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4284         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4285         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4287 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4289         * math/libm-test.inc (totalorder_test_data): Add more tests.
4291 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4293         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4294         Undefine weak_alias and add a comment why mips64 require
4295         versioning.
4297 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4299         [BZ #20647]
4300         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4301         maximum CPUID level is less than 2.
4303 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4305         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4306         (totalorder): New declaration.
4307         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4308         New macro.
4309         * math/Versions (totalorder): New libm symbol at version
4310         GLIBC_2.25.
4311         (totalorderf): Likewise.
4312         (totalorderl): Likewise.
4313         * math/Makefile (libm-calls): Add s_totalorderF.
4314         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4315         string.
4316         * math/libm-test.inc (PAYLOAD_DIG): New macro.
4317         (qnan_value_pl): Likewise.
4318         (snan_value_pl): Likewise.
4319         (qnan_value): Define using qnan_value_pl.
4320         (snan_value): Define using snan_value_pl.
4321         (struct test_ff_i_data): Add comment about which tests use this
4322         structure.
4323         (RUN_TEST_ff_b): New macro.
4324         (RUN_TEST_LOOP_ff_b): Likewise.
4325         (totalorder_test_data): New array.
4326         (totalorder_test): New function.
4327         (main): Call totalorder_test.
4328         * math/test-tgmath.c (NCALLS): Increase to 122.
4329         (F(compile_test)): Call totalorder.
4330         (F(totalorder)): New function.
4331         * manual/arith.texi (FP Comparison Functions): Document
4332         totalorder, totalorderf and totalorderl.
4333         * manual/libm-err-tab.pl: Update comment on interfaces without
4334         ulps tabulated.
4335         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4336         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4337         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4338         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4339         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4340         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4341         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4342         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4343         totalorder.
4344         (CFLAGS-nldbl-totalorder.c): New variable.
4345         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4346         file.
4347         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4348         Add test-totalorderl-ldbl-128ibm.
4349         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4350         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4351         test-totalorderl-ldbl-96.
4352         * sysdeps/nacl/libm.abilist: Update.
4353         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4354         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4355         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4356         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4357         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4360         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4361         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4362         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4363         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4364         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4366         Likewise.
4367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4368         Likewise.
4369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4370         Likewise.
4371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4372         Likewise.
4373         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4374         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4375         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4376         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4377         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4379         Likewise.
4380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4381         Likewise.
4382         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4383         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4384         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4386 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4388         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4389         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4390         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4391         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4392         remove ENOSYS implementation.
4393         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4394         Consolidate all Linux implementations.
4396 2016-10-11  Florian Weimer  <fweimer@redhat.com>
4398         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4399         * resolv/herror.c (herror): Cast away const-ness.
4400         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4401         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4403 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
4405         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4406         instead of M_NAN + M_NAN.
4407         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4409 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4411         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4412         unused variable 'p'.
4414 2016-10-09  Alan Modra  <amodra@gmail.com>
4415             Andreas Schwab  <schwab@linux-m68k.org>
4417         [BZ #20554]
4418         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4419         [PIC && !SHARED]: Set up PIC register for PLT call.
4421 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
4423         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4424         conditional on value of [__FLT_EVAL_METHOD__].
4425         * math/test-iseqsig-excess-precision.c: New file.
4426         * math/Makefile (tests): Add test-iseqsig-excess-precision.
4428 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4430         * math/s_iseqsig_template.c: Include math-private.h.
4432         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4433         * posix/tst-posix_fadvise.c: New file.
4434         * posix/tst-posix_fadvise64.c: Likewise.
4435         * posix/tst-posix_fadvise-common.c: Likewise.
4436         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4437         (__ASSUME_FADVISE64_64_6ARG): Define.
4438         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4439         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4440         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4441         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4442         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4443         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4444         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4445         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4446         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4447         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4448         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4449         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4452         Likewise.
4453         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4454         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4455         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4456         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4457         Alias to __posix_fadvise64_l32.
4458         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4459         Add compat definition to posix_fadvise64.
4460         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4461         Add versioned definition to posix_fadvise64.
4462         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4463         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4464         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4465         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4466         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4468         * io/Makefile (tests): Add tst-posix_fallocate and
4469         tst-posix_fallocate64.
4470         * io/tst-posix_fallocate-common.c: New file.
4471         * io/tst-posix_fallocate.c: Likewise.
4472         * io/tst-posix_fallocate64.c: Likewise.
4473         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4474         file.
4475         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4476         Likewise.
4477         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4478         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4479         Likewise.
4480         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4481         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4482         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4483         SYSCALL_LL to pass both offset and len arguments.
4484         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4485         Likewise.
4486         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4487         __libc_pwrite64 alias used by posix_fallocate64.
4489         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4490         tst-fallocate64.
4491         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4492         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4493         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4494         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4495         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4496         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4497         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4498         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4499         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4500         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4501         macro on offset argument.
4502         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4503         SYSCALL_LL64 on offset argument.
4505         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4506         tst-fallocate64.
4507         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4508         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4509         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4510         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4511         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4512         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4513         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4514         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4515         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4516         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4517         macro on offset argument.
4518         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4519         SYSCALL_LL64 on offset argument.
4520         * test-skeleton.c (FAIL_RET): Add macro.
4521         (FAIL_EXIT): Likewise.
4522         (FAIL_EXIT1): Likewise.
4523         (_FAIL): Likewise.
4525 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4527         [BZ #20629]
4528         resolv: Remove RES_USEBSTRING and its implementation.
4529         * resolv/resolv.h (RES_USEBSTRING): Remove.
4530         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4531         (digitvalue, encode_bitstring, decode_bitstring): Remove.
4532         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4533         (labellen): Remove extended label types support.
4534         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4535         * resolv/res_init.c (res_setoptions): Likewise.
4536         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4538 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4540         resolv: Remove RES_NOIP6DOTINT and its implementation.
4541         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4542         (RES_NOIP6DOTINT): Remove.
4543         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4544         handling.
4545         * resolv/res_debug.c (p_option): Likewise.
4546         * resolv/res_init.c (res_setoptions): Likewise.
4547         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4549 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4551         resolv: Deprecate unimplemented flags.
4552         * misc/sys/cdefs.h (__glibc_macro_warning1)
4553         (__glibc_macro_warning): Define.
4554         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4555         (RES_KEEPTSIG): Mark as deprecated.
4556         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4557         RES_NOCHECKNAME, RES_KEEPTSIG.
4558         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4560 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4562         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4563         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4564         Use strong_alias to create symbols for glibc verison 2.19.
4566 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4568         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4570 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4572         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4574 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4576         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4578 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4580         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4581         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4582         in header for using it as type for ifunc function because __GI_* symbols
4583         for ppc32 do not target the ifunc symbols.
4584         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4586 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4588         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4589         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4590         libc_ifunc_hidden_def.
4591         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4592         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4593         Redirect ifunced function in header for using it as type of ifunc'ed
4594         function. Redefine libc_hidden_def to use fallback non ifunc'ed
4595         function for __GI_* symbol.
4596         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4597         * include/libc-symbols.h
4598         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4600 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4602         [BZ #20478]
4603         * sysdeps/s390/multiarch/ifunc-resolve.h
4604         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4605         to create ifunc symbols.
4606         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4607         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4608         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4609         for using it as type for ifunc function.
4610         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4611         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4612         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4613         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4614         * sysdeps/s390/multiarch/strcat.c: Likewise.
4615         * sysdeps/s390/multiarch/strchr.c: Likewise.
4616         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4617         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4618         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4619         * sysdeps/s390/multiarch/strlen.c: Likewise.
4620         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4621         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4622         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4623         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4624         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4625         * sysdeps/s390/multiarch/strspn.c: Likewise.
4626         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4627         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4628         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4629         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4630         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4631         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4632         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4633         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4634         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4635         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4636         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4637         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4639 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4641         * include/libc-symbols.h (__ifunc_resolver):
4642         New macro is used by __ifunc* macros.
4643         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4644         depending on HAVE_GCC_IFUNC.
4645         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4646         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4648         Redirect ifunced function in header for using as type for ifunc function.
4649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4655         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4656         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4657         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4658         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4659         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4660         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4662         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4668         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4669         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4670         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4671         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4672         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4673         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4674         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4675         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4676         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4677         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4678         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4679         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4680         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4681         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4683         Add libc_hidden_def() and use libc_ifunc_hidden() macro
4684         instead of libc_ifunc() macro.
4685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4688 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4690         * config.h.in (HAVE_GCC_IFUNC): New undef.
4691         * configure.ac: Add check if gcc supports attribute ifunc feature.
4692         * configure: Regenerated.
4693         * manual/install.texi: Add recommendation for gcc with
4694         indirect-function support.
4695         * INSTALL: Regenerated.
4697 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
4699         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4700         macro.
4701         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4702         (__iseqsig): New declaration.
4703         * math/s_iseqsig_template.c: New file.
4704         * math/Versions (__iseqsigf): New libm symbol at version
4705         GLIBC_2.25.
4706         (__iseqsig): Likewise.
4707         (__iseqsigl): Likewise.
4708         * math/libm-test.inc (iseqsig_test_data): New array.
4709         (iseqsig_test): New function.
4710         (main): Call iseqsig_test.
4711         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4712         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4713         * manual/libm-err-tab.pl: Update comment on interfaces without
4714         ulps tabulated.
4715         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4716         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4717         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4718         * sysdeps/nacl/libm.abilist: Update.
4719         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4720         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4721         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4722         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4723         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4724         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4725         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4726         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4727         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4728         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4729         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4732         Likewise.
4733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4734         Likewise.
4735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4736         Likewise.
4737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4738         Likewise.
4739         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4740         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4741         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4742         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4743         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4745         Likewise.
4746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4747         Likewise.
4748         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4749         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4750         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4752 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4754         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4755         do_sincos_2, sloww, sloww1): Update comments.
4757         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4758         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4760         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4761         K boolean and rename it.
4762         (__sin): Adjust.
4763         (__cos): Adjust.
4765 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4766             Siddhesh Poyarekar  <siddhesh@sourceware.org>
4768         * manual/nss.texi: Fix typos in the manual.
4770 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4772         * manual/contrib.texi: Fix typos in the manual.
4774         * manual/maint.texi: Fix typos in the manual.
4776         * manual/install.texi: Fix typos in the manual.
4777         * INSTALL: Regenerated.
4779         * manual/lang.texi: Fix typos in the manual.
4781         * manual/probes.texi: Fix typos in the manual.
4783         * manual/threads.texi: Fix typos in the manual.
4785         * manual/debug.texi: Fix typos in the manual.
4787         * manual/crypt.texi: Fix typos in the manual.
4789         * manual/conf.texi: Fix typos in the manual.
4791         * manual/sysinfo.texi: Fix typos in the manual.
4793         * manual/users.texi: Fix typos in the manual.
4795         * manual/job.texi: Fix typos in the manual.
4797         * manual/process.texi: Fix typos in the manual.
4799         * manual/argp.texi: Fix typos in the manual.
4800         * manual/getopt.texi: Likewise.
4801         * manual/startup.texi: Likewise.
4803         * manual/signal.texi: Fix typos in the manual.
4805         * manual/setjmp.texi: Fix typos in the manual.
4807         * manual/resource.texi: Fix typos in the manual.
4809         * manual/time.texi: Fix typos in the manual.
4811         * manual/arith.texi: Fix typos in the manual.
4813         * manual/math.texi: Fix typos in the manual.
4815         * manual/syslog.texi: Fix typos in the manual.
4817         * manual/terminal.texi: Fix typos in the manual.
4819         * manual/socket.texi: Fix typos in the manual.
4821         * manual/filesys.texi: Fix typos in the manual.
4823         * manual/llio.texi: Fix typos in the manual.
4825         * manual/stdio.text: Fix typos in the manual.
4827 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4829         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4830         instead of K1.
4832         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4833         SHIFT_QUADRANT and make it bool.
4834         (do_sincos_2): Likewise.
4835         (sloww): Likewise.
4836         (sloww1): Likewise.
4837         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4838         (__cos): Likewise.
4840 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4842         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4844 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
4846         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4847         Define to __WORDSIZE, not conditional on [LONG_MAX ==
4848         0x7fffffffL].
4849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4851 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4853         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4854         inline by __inline__.
4855         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4856         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4857         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4858         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4859         sigset_t from signal.h.
4860         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4861         which is already required.
4863 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4865         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4867 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
4869         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
4870         (struct tcp_repair_window): New type.
4872 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4874         * libio/tst-memstream3.c: Include string.h.
4876 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4878         [BZ #18241]
4879         [BZ #20181]
4880         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
4881         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
4882         write position is at the end the buffer.
4883         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
4884         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
4885         (_IO_str_seekoff): Set correct offset from negative displacement and
4886         set EINVAL for invalid ones.
4887         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
4888         buffer length.
4889         (_IO_wstr_switch_to_get_mode): New function.
4890         (_IO_wstr_seekoff): Set correct offset from negative displacement and
4891         set EINVAL for invalid ones.
4892         * libio/tst-memstream3.c: New file.
4893         * libio/tst-wmemstream3.c: Likewise.
4894         * manual/examples/memstrm.c: Remove warning when priting size_t.
4896 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
4898         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
4899         macro to use __builtin_fma.
4900         * sysdeps/x86_64/fpu/dla.h: Remove file.
4902         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4903         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
4904         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
4906 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
4908         [BZ #20292]
4909         * elf/Makefile (routines): Add dl-addr-obj.
4910         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
4911         tst-_dl_addr_inside_object.
4912         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
4913         [ifeq (yesyes,$(have-fpie)$(build-shared))]
4914         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
4915         [ifeq (yesyes,$(have-fpie)$(build-shared))]
4916         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
4917         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
4918         * elf/dl-open.c: Likewise.
4919         * elf/dl-addr-obj.c: New file.
4920         * elf/tst-_dl_addr_inside_object.c: New file.
4922 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
4924         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
4925         <bits/iscanonical.h>.
4926         * bits/iscanonical.h: New file.
4927         * math/s_iscanonicall.c: Likewise.
4928         * math/Versions (__iscanonicall): New libm symbol at version
4929         GLIBC_2.25.
4930         * math/libm-test.inc (iscanonical_test_data): New array.
4931         (iscanonical_test): New function.
4932         (main): Call iscanonical_test.
4933         * math/Makefile (headers): Add bits/iscanonical.h.
4934         (type-ldouble-routines): Add s_iscanonicall.
4935         * manual/arith.texi (Floating Point Classes): Document
4936         iscanonical.
4937         * manual/libm-err-tab.pl: Update comment on interfaces without
4938         ulps tabulated.
4939         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
4940         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
4941         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
4942         Likewise.
4943         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4944         test-iscanonical-ldbl-128ibm.
4945         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
4946         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
4947         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
4948         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
4949         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4950         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4951         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4953         Likewise.
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4955         Likewise.
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4957         Likewise.
4958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4959         Likewise.
4960         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4961         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4963 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4965         * string/bits/string3.h: Remove C++ style comments.
4967 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4969         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
4970         instead of ternary condition.
4971         (do_sincos_2): Likewise.
4972         (__sin): Likewise.
4973         (__cos): Likewise.
4974         (slow): Likewise.
4975         (sloww): Likewise.
4976         (sloww1): Likewise.
4977         (bsloww): Likewise.
4978         (bsloww1): Likewise.
4980         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
4981         instead of ternary condition.
4982         (do_sin_slow): Likewise.
4983         (do_sincos_1): Likewise.
4984         (do_sincos_2): Likewise.
4985         (__cos): Likewise.
4986         (sloww): Likewise.
4987         (sloww1): Likewise.
4988         (sloww2): Likewise.
4989         (bsloww): Likewise.
4990         (bsloww1): Likewise.
4991         (bsloww2): Likewise.
4993         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
4994         check from here...
4995         (slow2): ... and here...
4996         (__sin): ... to here.
4998 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5000         * math/math.h
5001         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5002         Cast argument to its own type.
5003         * math/test-iszero-excess-precision.c: New file.
5004         * math/Makefile (tests): Add test-iszero-excess-precision.
5005         (CFLAGS-test-iszero-excess-precision.c): New variable.
5007 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5009         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5010         field, add err field.
5011         (__spawni_child): Report error through err member instead of pipe.
5012         (__spawnix): Likewise.
5014 2016-09-28  Zack Weinberg  <zackw@panix.com>
5016         * scripts/check-installed-headers.sh: Generalize treatment of
5017         sys/elf.h to all target architectures.
5019         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5020         deleted typedef ucontext_t.
5022 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5024         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5025         (__INTERNAL_SYSCALL1): Likewise.
5026         (__INTERNAL_SYSCALL2): Likewise.
5027         (__INTERNAL_SYSCALL3): Likewise.
5028         (__INTERNAL_SYSCALL4): Likewise.
5029         (__INTERNAL_SYSCALL5): Likewise.
5030         (__INTERNAL_SYSCALL6): Likewise.
5031         (__INTERNAL_SYSCALL7): Likewise.
5032         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5033         (__INTERNAL_SYSCALL_NARGS): Likewise.
5034         (__INTERNAL_SYSCALL_DISP): Likewise.
5035         (INTERNAL_SYSCALL_CALL): Likewise.
5036         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5037         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5038         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5039         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5040         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5041         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5042         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5043         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5044         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5045         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5046         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5047         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5048         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5050 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5052         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5053         macro.
5054         * math/libm-test.inc (iszero_test_data): New array.
5055         (iszero_test): New function.
5056         (main): Call iszero_test.
5057         * manual/arith.texi (Floating Point Classes): Document iszero.
5058         * manual/libm-err-tab.pl: Update comment on interfaces without
5059         ulps tabulated.
5061 2016-09-23  Zack Weinberg  <zackw@panix.com>
5063         * scripts/check-installed-headers.sh: New script.
5064         * Rules: In each directory that defines header files to be installed,
5065         run check-installed-headers.sh on them as a special test.
5066         * Makefile: Likewise for the headers installed at top level.
5068         * include/aliases.h, include/alloca.h, include/argz.h
5069         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5070         * include/elf.h, include/envz.h, include/err.h
5071         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5072         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5073         * include/link.h, include/malloc.h, include/mcheck.h
5074         * include/mntent.h, include/netinet/ether.h
5075         * include/nss.h, include/obstack.h, include/printf.h
5076         * include/pty.h, include/resolv.h, include/rpc/auth.h
5077         * include/rpc/auth_des.h, include/rpc/auth_unix.h
5078         * include/rpc/clnt.h, include/rpc/des_crypt.h
5079         * include/rpc/key_prot.h, include/rpc/netdb.h
5080         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5081         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5082         * include/rpc/rpc_msg.h, include/rpc/svc.h
5083         * include/rpc/svc_auth.h, include/rpc/xdr.h
5084         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5085         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5086         * include/rpcsvc/ypupd.h, include/shadow.h
5087         * include/stdio_ext.h, include/sys/epoll.h
5088         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5089         * include/sys/prctl.h, include/sys/profil.h
5090         * include/sys/statfs.h, include/sys/sysctl.h
5091         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5092         * sysdeps/arm/nacl/include/bits/setjmp.h
5093         * sysdeps/mips/include/sys/asm.h
5094         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5095         * sysdeps/unix/sysv/linux/include/sys/timex.h
5096         * sysdeps/x86/fpu/include/bits/fenv.h:
5097         Add #ifndef _ISOMAC guard around internal declarations.
5098         Add multiple-inclusion guard if not already present.
5100 2016-09-23  Zack Weinberg  <zackw@panix.com>
5102         * sysdeps/generic/sys/ucontext.h
5103         * sysdeps/arm/sys/ucontext.h
5104         * sysdeps/i386/sys/ucontext.h
5105         * sysdeps/m68k/sys/ucontext.h
5106         * sysdeps/mips/sys/ucontext.h
5107         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5108         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5109         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5110         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5111         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5112         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5113         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5114         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5115         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5116         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5117         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5118         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5119         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5120         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5121         Include both bits/sigcontext.h and bits/sigstack.h.
5122         Fix grammar error in comment, if present.
5124         * bits/sigstack.h
5125         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5126         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5127         * sysdeps/unix/sysv/linux/bits/sigstack.h
5128         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5129         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5130         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5131         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5132         * bits/sigcontext.h
5133         * sysdeps/mach/hurd/i386/bits/sigcontext.h
5134         * sysdeps/unix/sysv/linux/bits/sigcontext.h
5135         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5136         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5137         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
5138         as well as signal.h, if this was not already allowed.  Request
5139         definition of size_t if necessary.  Minimize semantically-null
5140         differences across files.
5142 2016-09-23  Zack Weinberg  <zackw@panix.com>
5144         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5145         Remove all logic conditional on __need macros.  Move all the
5146         conditionally defined types to their own headers...
5147         * time/bits/types/clock_t.h: Define clock_t here.
5148         * time/bits/types/clockid_t.h: Define clockid_t here.
5149         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5150         * time/bits/types/struct_timespec.h: Define struct timespec here.
5151         * time/bits/types/struct_timeval.h: Define struct timeval here.
5152         * time/bits/types/struct_tm.h: Define struct tm here.
5153         * time/bits/types/time_t.h: Define time_t here.
5154         * time/bits/types/timer_t.h: Define timer_t here.
5155         * time/Makefile: Install the new headers.
5157         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5158         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5159         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5160         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5161         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5162         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5163         * sysdeps/unix/sysv/linux/bits/resource.h
5164         * sysdeps/unix/sysv/linux/bits/timex.h
5165         * sysdeps/unix/sysv/linux/mips/bits/resource.h
5166         * sysdeps/unix/sysv/linux/net/ppp_defs.h
5167         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5168         * sysdeps/unix/sysv/linux/sys/acct.h
5169         * sysdeps/unix/sysv/linux/sys/timerfd.h
5170         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5171         * time/sys/time.h, time/sys/timeb.h
5172         Use the new bits/types headers.
5174         * include/time.h: Remove __need logic.
5175         * include/bits/time.h
5176         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5177         * include/bits/types/time_t.h, include/bits/types/timer_t.h
5178         * include/bits/types/struct_itimerspec.h
5179         * include/bits/types/struct_timespec.h
5180         * include/bits/types/struct_timeval.h
5181         * include/bits/types/struct_tm.h:
5182         New wrapper headers.
5184 2016-09-23  Zack Weinberg  <zackw@panix.com>
5186         * sysdeps/mach/hurd/net/if_ppp.h
5187         * sysdeps/unix/sysv/linux/net/if_ppp.h:
5188         Only define struct ifpppstatsreq and struct ifpppcstatsreq
5189         if __USE_MISC is defined, to ensure struct ifreq is declared.
5191         * inet/netinet/ether.h: Condition all function prototypes
5192         on __USE_MISC, to ensure struct ether_addr is declared.
5194         * socket/bits/types/struct_osockaddr.h: New header.
5195         * include/bits/types/struct_osockaddr.h: New wrapper.
5196         * socket/Makefile: Install the new header.
5197         * socket/sys/socket.h, inet/protocols/talkd.h:
5198         Refer to bits/types/struct_osockaddr.h for the definition of
5199         struct osockaddr.
5201 2016-09-23  Zack Weinberg  <zackw@panix.com>
5203         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5204         * inet/protocols/routed.h, inet/protocols/talkd.h
5205         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5206         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5207         * sysdeps/generic/netinet/if_ether.h
5208         * sysdeps/generic/netinet/in_systm.h
5209         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5210         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5211         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5212         * sysdeps/mach/hurd/net/if_arp.h
5213         * sysdeps/mach/hurd/net/if_ppp.h
5214         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5215         * sysdeps/unix/sysv/linux/bits/in.h
5216         * sysdeps/unix/sysv/linux/net/ethernet.h
5217         * sysdeps/unix/sysv/linux/net/if_arp.h
5218         * sysdeps/unix/sysv/linux/net/if_ppp.h
5219         * sysdeps/unix/sysv/linux/net/if_shaper.h
5220         * sysdeps/unix/sysv/linux/net/route.h
5221         * sysdeps/unix/sysv/linux/netinet/if_ether.h
5222         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5223         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5224         * sysdeps/unix/sysv/linux/netipx/ipx.h
5225         * sysdeps/unix/sysv/linux/sys/acct.h
5226         * include/arpa/nameser.h, include/resolv.h:
5227         Change all uses of u_char to unsigned char,
5228         u_short and ushort to unsigned short, u_int and uint to unsigned int,
5229         u_long and ulong to unsigned long, u_int8_t to uint8_t,
5230         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5231         and u_int64_t and u_quad_t to uint64_t.
5233         * mach/sys/reboot.h: Remove two casts of integer literals
5234         to the types they already have.
5236         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5237         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5238         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5239         from referring to 'unsigned char' to 'uint8_t' for consistency with
5240         the macro definition below.
5242         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5243         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5244         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5245         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5246         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5247         * sysdeps/unix/sysv/linux/sys/acct.h
5248         * include/arpa/nameser.h, include/resolv.h:
5249         Fix indentation disrupted by mechanical edits.
5251         * inet/protocols/talkd.h, resolv/arpa/nameser.h
5252         * sysdeps/generic/netinet/in_systm.h
5253         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5254         * sysdeps/gnu/netinet/udp.h
5255         * sysdeps/unix/sysv/linux/net/ethernet.h
5256         * sysdeps/unix/sysv/linux/net/if_arp.h
5257         * sysdeps/unix/sysv/linux/net/if_ppp.h
5258         * sysdeps/unix/sysv/linux/net/if_shaper.h
5259         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5260         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5261         * sysdeps/unix/sysv/linux/netipx/ipx.h
5262         * sysdeps/unix/sysv/linux/sys/acct.h
5263         Include stdint.h for uintNN_t definitions.
5264         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5266 2016-09-23  Zack Weinberg  <zackw@panix.com>
5268         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5269         * sysdeps/unix/sysv/linux/netrose/rose.h:
5270         Include sys/socket.h and netax25/ax25.h.
5272         * inet/netinet/icmp6.h, inet/netinet/ip6.h
5273         * resolv/arpa/nameser_compat.h:
5274         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5276         * sysdeps/unix/sysv/linux/sys/quota.h:
5277         Use __caddr_t instead of caddr_t.
5278         * sysdeps/unix/sysv/linux/sys/timerfd.h:
5279         Use __clockid_t instead of clockid_t.
5281         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5283         * argp/argp.h: Check whether _LIBC is defined before expanding it.
5284         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5285         expanding it.
5287         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5288         Define __glibc_c99_flexarr_available to 1 when the compiler
5289         supports C99-compatible flexible array members, 0 otherwise.
5290         * sysdeps/unix/sysv/linux/bits/socket.h
5291         * sysdeps/mach/hurd/bits/socket.h
5292         * bits/socket.h: Use __glibc_c99_flexarr_available in
5293         definitions of struct cmsghdr and CMSG_DATA.
5295 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5297         * manual/nss.texi (NSS Modules Interface): Adjust function return
5298         type to enum nss_status.  Document errnop argument.  Clarify
5299         h_errnop semantics.  Fix cross-reference formatting.
5300         (NSS Module Function Internals): Mention that *errnop needs to be
5301         set on failure, but not to zero.
5303 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5305         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5306         (get_random_name): New functions.
5307         (check_wrapper_flags_mode): Use linkat to give the new file a name
5308         determined by get_random_name.
5309         (do_test): Add calls to test open64 and openat64.
5311 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5313         * test-skeleton.c: Remove #include <stdarg.h>.
5315 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
5317         [BZ #19826]
5318         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5319         initialization of static TLS entries.
5320         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5321         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5323 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5325         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5326         _hurd_malloc_fork_prepare.
5327         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5328         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5329         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5330         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5331         (_hurd_fork_child_hook): Drop malloc_fork_child.
5332         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5333         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5334         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5335         after locking locks (notably hurd_dtable_lock). Call
5336         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5337         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5338         __malloc_fork_unlock_child.
5339         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5341 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
5343         * soft-fp/extendhftf2.c: New.
5344         * soft-fp/fixhfti.c: Likewise.
5345         * soft-fp/fixunshfti.c: Likewise.
5346         * soft-fp/floattihf.c: Likewise.
5347         * soft-fp/floatuntihf.c: Likewise.
5348         * soft-fp/half.h: Likewise.
5349         * soft-fp/trunctfhf2.c: Likewise.
5351 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
5353         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5354         macro.
5355         * math/libm-test.inc (issubnormal_test_data): New array.
5356         (issubnormal_test): New function.
5357         * manual/arith.texi (Floating Point Classes): Document
5358         issubnormal.
5359         * manual/libm-err-tab.pl: Update comment on interfaces without
5360         ulps tabulated.
5362         * sysdeps/generic/stdint.h: Define
5363         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5364         <bits/libc-header-start.h> instead of including <features.h>.
5365         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5367         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5369         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5370         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5372         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5373         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5374         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5375         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5376         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5380         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5381         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5382         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5384         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5386         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5387         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5388         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5398         * manual/arith.texi (Integers): Document these macros for types
5399         specified by width properties.
5400         * manual/lang.texi (Width of Type): Document these macros for
5401         other standard typedefs.
5402         * stdlib/tst-width-stdint.c: New file.
5403         * stdlib/Makefile (tests): Add tst-width-stdint.
5405 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5407         [BZ #20016]
5408         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5409         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5410         Move ...
5411         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5412         ... here, as compatibility symbols in a new file.
5413         * resolv/Makefile (libresolv-routines): Add compat-hooks.
5414         * resolv/res_init.c (__res_vinit): Adjust member names.
5415         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5416         * resolv/resolv.h (res_sendhookact, res_send_qhook)
5417         (res_send_rhook): Remove.
5418         (struct __res_state): Rename qhook, rhook members.
5420 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5422         malloc: Use __libc_lock wrappers.
5423         * malloc/arena.c (list_lock, free_list_lock): Define using
5424         __libc_lock_define_initialized.
5425         (arena_lock): Adjust formatting.
5426         * malloc/malloc.c (struct malloc_state): Define mutex using
5427         __libc_lock_define.
5428         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5429         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5430         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5431         (mutex_unlock, mutex_trylock): Remove.
5432         (__pthread_initialize): Remove unused macro.
5433         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5434         (mutex_unlock, mutex_trylock): Remove.
5436 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5438         [BZ #20592]
5439         Remove RR type classification macros.
5440         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5441         (ns_t_udp_p, ns_t_xfr_p): Remove.
5443 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5445         Remove misleading version information.
5446         * resolv/arpa/nameser.h (__NAMESER): Remove.
5447         * resolv/arpa/nameser_compat.h (__BIND): Remove.
5449 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5451         Remove the always-defined BIND_4_COMPAT macro.
5452         * resolv/arpa/nameser.h: Unconditionally include
5453         <arpa/nameser_compat.h>.
5454         (BIND_4_COMPAT): Remove.
5455         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5457 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5459         [BZ #20591]
5460         Remove obsolete DNSSEC support.
5461         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5462         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5463         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5464         (ns_verify_tcp, ns_verify_tcp_init): Remove.
5465         (ns_cert_types): Add comment.
5466         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5467         separately.
5468         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5469         (dst_s_dns_key_id): Remove.
5470         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5471         variables.
5473 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5475         [BZ #20524]
5476         * manual/string.texi (String/Array Comparison): Clarify the
5477         strverscmp behavior.
5479 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5481         * test-skeleton.c (xasprintf): Add function.
5482         * io/tst-open-tmpfile.c: New test.
5483         * io/Makefile (tests): Add it.
5485 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5487         Avoid running $(CXX) during build to obtain header file paths.
5488         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5489         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5490         * Makerules (cstdlib, cmath): Remove variables.  Use
5491         $(c++-cstdlib-header), $(c++-cmath-header) instead.
5492         * configure: Regenerate.
5494 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5496         * Makeconfig (all-object-suffixes): Include .op only if
5497         $(build-profile).
5499 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5501         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5502         conditionals.  Do not define PATH_MAX.
5504 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5506         * posix/Makefile (tests): Add tst-spawn3.
5507         * posix/tst-spawn3.c: New file.
5508         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5509         if it is already opened for open action.
5511         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5512         all signals when executing the clone vfork child.
5513         (SIGALL_SET): Remove macro.
5515         * nptl/Makefile (tests): Add tst-exec5.
5516         * nptl/tst-exec5.c: New file.
5517         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5518         asynchronous cancellation.
5520 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5522         * hurd/exc2signal.c: #include <hurd/signal.h>
5523         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5524         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
5525         accordingly.
5526         * mach/mach_error.c (mach_error): Fix old-style function definition.
5527         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5529 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5531         * math/Makefile (libm-calls): Remove s_nanF.
5532         (gen-libm-calls): Add s_nanF.
5534         * math/s_nan.c: Refactor into ...
5535         * math/s_nan_template.c: New file.
5537         * math/s_nanf.c: Removed.
5538         * math/s_nanl.c: Removed.
5539         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5540         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5542         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5543         (LDOUBLE_nanl_libm_version): New macro.
5545         * sysdeps/generic/math-type-macros-double.h:
5546         (M_STRTO_NAN): New macro.
5547         * sysdeps/generic/math-type-macros-float.h: Likewise.
5548         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5550         * sysdeps/generic/math-type-macros.h: Document
5551         M_STRTO_NAN.
5553 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5555         * math/s_nanf.c: Remove __nanf undef.
5556         * math/s_nan.c: Remove __nan undef.
5557         * math/s_nanl.c: Remove __nanl undef.
5559         * sysdeps/generic/math_private.h (__nan): Remove macro
5560         override.
5561         (__nanf): Likewise.
5562         (__nanl): Likewise.
5564 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5566         * math/Makefile (gen-all-calls): New variable.
5567         (generated): Replace gen-libm-calls with gen-all-calls.
5568         (gen-libm-templates.stmp): Likewise.  Also, ensure
5569         the output directory exists or is created and add
5570         dependency on the Makefile.
5571         (calls): Move s_ldexpF into gen-calls.
5572         (gen-calls): New variable.
5574         * math/s_ldexpf.c: Removed.
5575         * math/s_ldexpl.c: Removed.
5576         * math/s_ldexp.c: Refactored into ...
5577         * math/s_ldexp_template.c: New file.
5579         * sysdeps/generic/math-type-macros-double.h: Remove
5580         redundant fall-through definition of declare_mgen_alias.
5581         (declare_mgen_alias_2): New macro.
5583         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5584         New macro for function aliased to two exported symbols.
5586         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5587         new template file.
5588         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5590 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5592         * Makeconfig (all-object-suffixes): Remove .og.
5593         * Makerules (elide-routines.og): Remove.
5594         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5595         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5596         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5598 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5600         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5601         .os objects.
5603 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5605         [BZ #20615]
5606         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5607         fpu directory by non-fpu.
5608         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5609         on non-fpu directory from a fpu directory.
5611 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
5613         * include/limits.h: Define
5614         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5615         <bits/libc-header-start.h> instead of including <features.h>.
5616         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5617         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5618         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5619         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5620         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5625         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5627         * manual/lang.texi (Width of Type): Document these macros.
5628         * stdlib/tst-width.c: New file.
5629         * stdlib/Makefile (tests): Add tst-width.
5631 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5633         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5634         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5636 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5638         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5639         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5640         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5642 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5644         [BZ #18243]
5645         * rt/Makefile (test): Add tst-shm-cancel.
5646         * rt/tst-shm-cancel.c: New file.
5647         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5649         [BZ #18243]
5650         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5651         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5652         definition.
5653         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5654         uncontended case.
5655         * nptl/sem_wait.c (__new_sem_wait): Likewise.
5656         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5657         (tf): Fix check for uncontended case.
5658         (do_test): Likewise.
5659         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5660         (tf): Fix check for uncontended case.
5661         (do_test): Likewise.
5662         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5663         (tf): Fix check for uncontended case.
5664         (do_test): Likewise.
5665         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5666         (tf): Fix check for uncontended case.
5667         (do_test): Likewise.
5669         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5670         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5672         [BZ #15765]
5673         * nptl/Makefile (tests): Add tst-sem16.
5674         * nptl/tst-sem16.c: New file.
5675         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5677         * nptl/sem_open.c (sem_open): Init pad value to 0.
5678         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5679         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5681 2016-09-15  Florian Weimer  <fweimer@redhat.com>
5683         [BZ #20611]
5684         * inet/Makefile (routines): Add inet6_scopeid_pton.
5685         (tests): Add tst-inet6_scopeid_pton.
5686         * inet/inet6_scopeid_pton.c: New file.
5687         * inet/net-internal.h: Likewise.
5688         * inet/tst-inet6_scopeid_pton.c: New test.
5689         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5690         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5693 2016-09-14  Florian Weimer  <fweimer@redhat.com>
5695         Remove support for compiling wrappers with PTW.
5696         * sysdeps/nptl/Makeconfig: Drop ptw- support.
5697         * nptl/Makefile (pthread-compat-wrappers): Define.
5698         (libpthread-routines): Use pthread-compat-wrappers.
5699         * sysdeps/unix/sysv/linux/alpha/Makefile
5700         (libpthread-routines, libpthread-shared-only-routines): Remove
5701         ptw- prefix.
5702         * sysdeps/s390/nptl/Makefile
5703         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5704         * sysdeps/ia64/nptl/Makefile
5705         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5706         * sysdeps/nacl/Makefile (libpthread-routines): Use
5707         pthread-compat-wrappers to filter the routines list instead of the
5708         ptw- prefix.
5710 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5712         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5713         with L() and remove explicit suffix, convert real literals
5714         which can be equivalentally substituted with integers, and
5715         transform -L(x) to L(-x).
5717         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5718         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5719         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5720         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5721         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5722         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5723         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5724         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5725         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5726         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5727         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5728         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5729         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5730         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5731         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5732         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5733         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5734         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5735         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5736         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5737         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5738         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5739         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5740         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5741         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5742         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5743         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5744         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5745         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5746         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5747         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5748         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5749         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5750         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5751         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5752         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5753         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5754         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5755         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5756         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5757         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5758         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5759         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5760         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5761         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5762         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5763         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5764         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5765         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5766         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5768 2016-09-13  Florian Weimer  <fweimer@redhat.com>
5770         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5772 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5774         * malloc/Makefile (tests): Remove individual static test names
5775         and just add all of tests-static.
5777         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5779 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5781         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5782         file.
5784         * sysdeps/sparc/fpu/fegetmode.c: New file.
5785         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5787         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5788         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5790         * sysdeps/s390/fpu/fegetmode.c: New file.
5791         * sysdeps/s390/fpu/fesetmode.c: Likewise.
5793         * sysdeps/powerpc/fpu/fegetmode.c: New file.
5794         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5795         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5796         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5797         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5798         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5800         * sysdeps/mips/fpu/fegetmode.c: New file.
5801         * sysdeps/mips/fpu/fesetmode.c: Likewise.
5803         * sysdeps/m68k/fpu/fegetmode.c: New file.
5804         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5806         * sysdeps/ia64/fpu/fegetmode.c: New file.
5807         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5809         * sysdeps/hppa/fpu/fegetmode.c: New file.
5810         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5812         * sysdeps/arm/fegetmode.c: New file.
5813         * sysdeps/arm/fesetmode.c: Likewise.
5815         * sysdeps/alpha/fpu/fegetmode.c: New file.
5816         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5818         * sysdeps/aarch64/fpu/fegetmode.c: New file.
5819         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5821         * math/fegetmode.c: New file.
5822         * math/fesetmode.c: Likewise.
5823         * sysdeps/i386/fpu/fegetmode.c: Likewise.
5824         * sysdeps/i386/fpu/fesetmode.c: Likewise.
5825         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5826         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5827         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5829         declaration.
5830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5831         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5832         typedef.
5833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5834         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5835         (femode_t): New typedef.
5836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5837         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5838         (femode_t): New typedef.
5839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5840         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5841         (femode_t): New typedef.
5842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5843         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5844         (femode_t): New typedef.
5845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5846         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5847         (femode_t): New typedef.
5848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5849         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5850         (femode_t): New typedef.
5851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5852         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5853         (femode_t): New typedef.
5854         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5855         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5856         (femode_t): New typedef.
5857         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5858         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5859         (femode_t): New typedef.
5860         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5861         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5862         (femode_t): New typedef.
5863         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5864         declaration.
5865         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5866         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5867         (femode_t): New typedef.
5868         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5869         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5870         (femode_t): New typedef.
5871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5872         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5873         (femode_t): New typedef.
5874         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5875         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5876         (femode_t): New typedef.
5877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5878         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5879         (femode_t): New typedef.
5880         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5881         * manual/arith.texi (FE_DFL_MODE): Document macro.
5882         (fegetmode): Document function.
5883         (fesetmode): Likewise.
5884         * math/Versions (fegetmode): New libm symbol at version
5885         GLIBC_2.25.
5886         (fesetmode): Likewise.
5887         * math/Makefile (libm-support): Add fegetmode and fesetmode.
5888         (tests): Add test-femode and test-femode-traps.
5889         * math/test-femode-traps.c: New file.
5890         * math/test-femode.c: Likewise.
5891         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
5892         alias for __fe_dfl_env.
5893         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
5894         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
5895         (__fe_dfl_mode): Likewise.
5896         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
5897         version GLIBC_2.25.
5898         * sysdeps/nacl/libm.abilist: Update.
5899         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5900         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5901         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5902         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5903         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5904         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5905         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5906         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5907         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5908         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5909         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5910         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5912         Likewise.
5913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5914         Likewise.
5915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5916         Likewise.
5917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5918         Likewise.
5919         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5920         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5921         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5923         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5925         Likewise.
5926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5927         Likewise.
5928         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5929         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5930         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5932 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5934         [BZ #20495]
5935         [BZ #20508]
5936         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
5937         processors, set Use_dl_runtime_resolve_slow and set
5938         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
5939         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
5940         New.
5941         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
5942         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
5943         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
5944         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
5945         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
5946         if Use_dl_runtime_resolve_opt is set.  Use
5947         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
5948         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
5949         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
5950         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
5951         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
5952         New.
5953         (_dl_runtime_resolve_opt): Likewise.
5954         (_dl_runtime_profile): Define only if _dl_runtime_profile is
5955         defined.
5957 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5959         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
5960         __libc_memalign with "+ RELA R_390_GLOB_DAT".
5962 2016-09-06  Florian Weimer  <fweimer@redhat.com>
5964         Convert malloc to __libc_lock.  Automated part, using this Perl
5965         s/// command:
5966           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
5967             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
5968         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
5969         conversion.
5971 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
5973         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
5974         (linknamespace-symlists-tests): Likewise.
5975         (linknamespace-header-tests): Likewise.
5977 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
5979         [BZ #19810]
5980         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
5981         * elf/tst-noload.c: New test case.
5982         * elf/Makefile (tests): Add tst-noload.
5984 2016-09-02  Roland McGrath  <roland@hack.frob.com>
5986         * sysdeps/nacl/dup.c: Add libc_hidden_def.
5988         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
5989         not any more.
5991         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
5993 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5995         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
5996         (do_cos_slow): Likewise.
5997         (do_sin): Likewise.
5998         (do_sin_slow): Likewise.
5999         (slow): Likewise.
6000         (slow1): Likewise.
6001         (slow2): Likewise.
6002         (sloww): Likewise.
6003         (sloww1): Likewise.
6004         (sloww2): Likewise.
6005         (bsloww): Likewise.
6006         (bsloww1): Likewise.
6007         (bsloww2): Likewise.
6008         (cslow2): Likewise.
6010         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6012         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6013         arguments.  Consolidate input partitioning from callers here.
6014         (do_cos_slow): Likewise.
6015         (do_sin): Likewise.
6016         (do_sin_slow): Likewise.
6017         (do_sincos_1): Remove the no longer necessary input partitioning.
6018         (do_sincos_2): Likewise.
6019         (__sin): Likewise.
6020         (__cos): Likewise.
6021         (slow1): Likewise.
6022         (slow2): Likewise.
6023         (sloww1): Likewise.
6024         (sloww2): Likewise.
6025         (bsloww1): Likewise.
6026         (bsloww2): Likewise.
6027         (cslow2): Likewise.
6029 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6031         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6032         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6033         outside of allocated array.
6035 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6037         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6038         instead of MB_CUR_MAX to avoid variable-length array.
6040 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6042         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6043         (type-double-routines): Add k_rem_pio2.
6044         (type-float-routines): Add k_rem_pio2f.
6046         * sysdeps/generic/math_private.h:
6047         (__kernel_rem_pio2l): Removed.
6049         * math/k_rem_pio2l.c: Removed.
6050         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6051         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6052         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6053         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6055 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6057         * math/Makefile (gen-libm-calls): Add s_fmin
6058         (libm-calls): Remove above.
6060         * math/s_fmin.c: Refactor into ...
6061         * math/s_fmin_template.c: New file.
6063         * math/s_fminf.c: Removed.
6064         * math/s_fminl.c: Removed.
6065         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6066         (LDOUBLE_fmin_libm_version): New macro.
6068         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6069         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6071 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6073         * math/Makefile: (gen-libm-calls): Add s_fmax.
6074         (libm-calls): Remove above.
6076         * math/s_fmax.c: Refactor into ...
6077         * math/s_fmax_template.c: New file.
6078         * math/s_fmaxf.c: Removed.
6079         * math/s_fmaxl.c: Removed.
6081         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6082         (LDOUBLE_fmaxl_libm_version): New macro.
6084         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6085         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6087         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6088         s_fmin.c to pick the aarch64 version of the file.
6089         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6090         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6092 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6094         * math/Makefile: (gen-libm-calls): Add s_nextdown.
6095         (libm-calls): Remove above.
6097         * math/s_nextdown.c: Refactor into ...
6098         * math/s_nextdown_template.c: New file.
6099         * math/s_nextdownf.c: Removed.
6100         * math/s_nextdownl.c: Removed.
6102         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6104 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6106         * math/Makefile (gen-libm-calls): Add s_fdim.
6107         (libm-calls): Move to above.
6109         * math/s_fdim.c: Renamed and refactored into to ...
6110         * math/s_fdim_template.c: New file.
6111         * math/s_fdiml.c: Removed.
6112         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6113         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6115         * sysdeps/generic/math-type-macros-double.h:
6116         (declare_mgen_alias): Don't declare if already declared.
6117         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6118         Likewise.
6120         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6121         (declare_mgen_alias): Don't declare if already declared.
6122         (M_LIBM_NEED_COMPAT): Likewise.
6123         (declare_mgen_libm_compat): Likewise.
6124         (LDOUBLE_fdiml_libm_version): New macro.
6126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6127         Include math/s_fdim.c now that ldbl-opt version is not needed.
6128         (declare_mgen_alias): New macro to disable aliasing.
6130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6131         (declare_mgen_alias): Likewise.
6132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6133         (declare_mgen_alias): Likewise.
6134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6135         (declare_mgen_alias): Likewise.
6136         (M_LIBM_NEED_COMPAT): Likewise.
6138 2016-09-01  Florian Weimer  <fweimer@redhat.com>
6140         [BZ #20525]
6141         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6142         Include <linux/quota.h>.
6143         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6144         and btodb.
6145         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6146         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6147         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6148         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6149         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6150         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6151         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6152         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6153         types.
6154         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6155         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6157 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6159         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6160         (gammal_positive): Fix spacing.
6161         (__ieee754_gammal_r): Likewise.
6163 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6165         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6166         (_Float128): Define as long double, always.
6167         (L): Apply long double type suffix, always.
6169         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6170         _Float128, excepting comments.
6172         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6173         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6174         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6175         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6176         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6177         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6178         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6179         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6180         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6181         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6182         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6183         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6184         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6185         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6186         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6187         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6188         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6189         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6190         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6191         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6192         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6193         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6194         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6195         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6196         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6197         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6198         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6199         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6200         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6201         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6202         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6203         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6204         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6205         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6206         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6207         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6208         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6209         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6210         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6211         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6212         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6213         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6214         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6215         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6216         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6217         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6218         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6219         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6220         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6221         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6222         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6223         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6224         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6225         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6226         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6227         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6228         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6229         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6230         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6231         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6232         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6233         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6234         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6235         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6236         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6237         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6238         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6239         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6241         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6242         _Float128, and include math_private.h.
6243         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6245         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6246         long double semantics.
6247         (_Float128): Likewise.
6248         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6249         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6250         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6251         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6253 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6255         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6256         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6257         * sysdeps/s390/configure: Regenerated.
6258         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6259         instruction for raising over-/underflow if z196 zarch is supported
6260         by default.
6261         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6263 2016-08-30  Svante Signell  <svante.signell@gmail.com>
6265         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6266         it point to a dumb buffer for RPC to fill it.
6268 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6270         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6271         instead of if/else.
6272         (do_sin_slow): Likewise.
6273         (do_sincos_1): Use fabs instead of if/else.
6274         (do_sincos_2): Likewise.
6275         (__sin): Likewise.
6276         (__cos): Likewise.
6277         (slow2): Likewise.
6278         (sloww): Likewise.
6279         (sloww1): Likewise.  Drop argument M.
6280         (sloww2): Use fabs instead of if/else.
6281         (bsloww): Likewise.
6282         (bsloww1): Likewise.
6283         (bsloww2): Likewise.
6285         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6286         fall through comment.
6287         (do_sincos_1): Likewise.
6289         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6290         Consolidate switch cases 0 and 2.
6292 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6294         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6295         (libm-calls): Remove the above.
6297         * math/s_cexp_template.c: Update using type-generic macros.
6298         * math/s_clog10_template.c: Likewise.
6299         * math/s_cpow_template.c: Likewise.
6300         * math/s_clog_template.c: Likewise.
6301         * math/s_cproj_template.c: Likewise.
6302         * math/s_csqrt_template.c: Likewise.
6304         * math/s_cexp.c: Removed.
6305         * math/s_cexpf.c: Removed.
6306         * math/s_cexpl.c: Removed.
6307         * math/s_clog10.c: Removed.
6308         * math/s_clog10f.c: Removed.
6309         * math/s_clog10l.c: Removed.
6310         * math/s_cpow.c: Removed.
6311         * math/s_cpowf.c: Removed.
6312         * math/s_cpowl.c: Removed.
6313         * math/s_clog.c: Removed.
6314         * math/s_clogf.c: Removed.
6315         * math/s_clogl.c: Removed.
6316         * math/s_cproj.c: Removed.
6317         * math/s_cprojf.c: Removed.
6318         * math/s_cprojl.c: Removed.
6319         * math/s_csqrt.c: Removed.
6320         * math/s_csqrtf.c: Removed.
6321         * math/s_csqrtl.c: Removed.
6323         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6324         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6325         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6326         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6327         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6328         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6330         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6331         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6332         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6333         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6334         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6335         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6336         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6337         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6338         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6339         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6340         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6342         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6343         version.
6345         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6346         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6347         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6348         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6350 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6352         * s_cexp_template.c: Copy of s_cexp.c.
6353         * s_clog_template.c: Copy of s_clog.c.
6354         * s_clog10_template.c: Copy of s_clog10.c.
6355         * s_cpow_template.c: Copy of s_cpow.c.
6356         * s_cproj_template.c: Copy of s_cproj.c.
6357         * s_csqrt_template.c: Copy of s_csqrt.c.
6359 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6361         [BZ #20517]
6362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6363         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6364         exported.
6366 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
6368         * math/fetestexceptflag.c: New file.
6369         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
6370         Stefan Liebler.
6371         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6372         (fetestexceptflag): New function declaration.
6373         * manual/arith.texi (fetestexceptflag): Document function.
6374         * math/Versions (fetestexceptflag): New libm symbol at version
6375         GLIBC_2.25.
6376         * math/Makefile (libm-support): Add fetestexceptflag.
6377         (tests): Add test-fetestexceptflag.
6378         * math/test-fetestexceptflag.c: New file.
6379         * sysdeps/nacl/libm.abilist: Update.
6380         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6383         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6384         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6385         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6386         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6387         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6388         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6389         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6390         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6391         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6393         Likewise.
6394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6395         Likewise.
6396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6397         Likewise.
6398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6399         Likewise.
6400         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6401         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6402         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6403         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6406         Likewise.
6407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6408         Likewise.
6409         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6410         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6411         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6413 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6415         [BZ #20432]
6416         Avoid strong references to malloc-internal symbols when linking
6417         statically, to support statically interposed mallocs.
6418         * include/libc-symbols.h (call_function_static_weak): New macro.
6419         * malloc/Makefile (tests): Add tst-interpose-nothread,
6420         tst-interpose-thread, tst-interpose-static-nothread,
6421         tst-interpose-static-thread.
6422         (tests-static): Add tst-interpose-static-nothread,
6423         tst-interpose-static-thread.
6424         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6425         tst-interpose-aux-thread.o.
6426         (test-extras): Add tst-interpose-aux-nothread,
6427         tst-interpose-aux-thread.
6428         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6429         tst-interpose-aux-nothread.o.
6430         (tst-interpose-thread, tst-interpose-static-thread): Link with
6431         tst-interpose-aux-thread.o and libthread.
6432         * malloc/tst-interpose-aux-nothread.c: New file.
6433         * malloc/tst-interpose-aux-thread.c: Likewise.
6434         * malloc/tst-interpose-aux.c: Likewise.
6435         * malloc/tst-interpose-aux.h: Likewise.
6436         * malloc/tst-interpose-nothread.c: Likewise.
6437         * malloc/tst-interpose-skeleton.c: Likewise.
6438         * malloc/tst-interpose-static-nothread.c: Likewise.
6439         * malloc/tst-interpose-static-thread.c: Likewise.
6440         * malloc/tst-interpose-thread.c: Likewise.
6441         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6442         * sysdeps/mach/hurd/fork.c (__fork): Only call
6443         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6444         __malloc_fork_unlock_child if defined.
6445         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6447 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6449         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6450         timespec C99 designated initialization.
6452 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6454         [BZ #19946]
6455         Avoid expected SIGALRM signals.
6456         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6457         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6458         (xpthread_create, xpthread_detach, xpthread_join)
6459         (delayed_exit_thread, delayed_exit): New functions.
6460         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6461         (tf): Use xpthread_cond_wait.
6462         (do_test): Likewise.  Replace alarm with delayed_exit.
6463         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6464         (do_test): Call delayed_exit.  Report failure.
6465         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6466         (do_test): Call delayed_exit.
6467         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6468         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
6469         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6470         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
6471         error.
6472         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6473         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
6474         error.
6475         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6476         (do_test): Call delayed_exit.
6477         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6478         (do_test): Call delayed_exit.
6479         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6480         (do_test): Call delayed_exit instead of alarm.  Use
6481         xpthread_mutex_lock.
6482         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6483         (do_test): Call delayed_exit instead of alarm.  Use
6484         xpthread_mutex_lock.
6485         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6486         (do_test): Call delayed_exit instead of alarm.
6487         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6488         (do_test): Call delayed_exit instead of alarm.  Use
6489         xpthread_spin_lock.
6490         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6491         (do_test): Call delayed_exit instead of alarm.  Use
6492         xpthread_join.
6494 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6496         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6497         adjust CFA when allocating register save area on re-aligned
6498         stack.
6500 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6502         * string/tst-cmp.c: New test.
6503         * string/Makefile (tests): Add it.
6505 2016-08-25  Mark Wielaard  <mark@klomp.org>
6507         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6508         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
6509         (check_tree_recurse): Use newly defined accessors.
6510         (check_tree): Likewise.
6511         (maybe_split_for_insert): Likewise.
6512         (__tfind): Likewise.
6513         (__tdelete): Likewise.
6514         (trecurse): Likewise.
6515         (tdestroy_recurse): Likewise.
6516         (__tsearch): Likewise. And add asserts for malloc alignment.
6517         (__twalk): Cast root to node in case CHECK_TREE is defined.
6519 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6521         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6523 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6525         * math/Makefile (libm-gen-calls): Add
6526         catan, catanh, ctan, ctanh.
6527         (libm-calls): Remove the above.
6529         * math/s_catan_template.c: Update using type-generic macros.
6530         * math/s_catanh_template.c: Likewise.
6531         * math/s_ctan_template.c: Likewise.
6532         * math/s_ctanh_template.c: Likewise.
6534         * math/s_catanf.c: Removed.
6535         * math/s_catan.c: Removed.
6536         * math/s_catanl.c: Removed.
6537         * math/s_catanhf.c: Removed.
6538         * math/s_catanh.c: Removed.
6539         * math/s_catanhl.c: Removed.
6540         * math/s_ctanf.c: Removed.
6541         * math/s_ctan.c: Removed.
6542         * math/s_ctanl.c: Removed.
6543         * math/s_ctanhf.c: Removed.
6544         * math/s_ctanh.c: Removed.
6545         * math/s_ctanhl.c: Removed.
6547         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6548         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6549         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6550         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6551         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6552         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6554         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6555         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6556         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6557         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6559 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6561         * s_catan_template.c: Copy of s_catan.c.
6562         * s_catanh_template.c: Copy of s_catanh.c.
6563         * s_ctan_template.c: Copy of s_ctan.c.
6564         * s_ctanh_template.c: Copy of s_ctanh.c.
6566 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6568         * math/Makefile (gen-libm-calls): Move
6569         casin, casinh, csin, csinh here.
6570         (libm-calls): Remove the above.
6572         * math/s_casin_template.c: Update using type-generic macros.
6573         * math/s_casinh_template.c: Likewise.
6574         * math/s_csin_template.c: Likewise.
6575         * math/s_csinh_template.c: Likewise.
6576         * math/k_casinh_template.c: Likewise.
6578         * math/s_casinf.c: Removed.
6579         * math/s_casin.c: Removed.
6580         * math/s_casinl.c: Removed.
6581         * math/s_casinh.c: Removed.
6582         * math/s_casinhf.c: Removed.
6583         * math/s_casinhl.c: Removed.
6584         * math/s_csin.c: Removed.
6585         * math/s_csinf.c: Removed.
6586         * math/s_csinl.c: Removed.
6587         * math/s_csinh.c: Removed.
6588         * math/s_csinhf.c: Removed.
6589         * math/s_csinhl.c: Removed.
6590         * math/k_casinh.c: Removed.
6591         * math/k_casinhf.c: Removed.
6592         * math/k_casinhl.c: Removed.
6594         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6595         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6596         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6597         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6599         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6600         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6601         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6602         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6603         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6604         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6605         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6606         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6608         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6609         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6610         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6611         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6613         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6614         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6615         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6616         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6618 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6620         * s_casin_template.c: Copy of s_casin.c.
6621         * s_casinh_template.c: Copy of s_casinh.c.
6622         * s_csin_template.c: Copy of s_csin.c.
6623         * s_csinh_template.c: Copy of s_csinh.c.
6624         * k_casinh_template.c: Copy of k_casinh.c.
6626 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6628         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6630 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6632         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6633         (mul_split) Remove, rename as mul_splitl, remove
6634         redundant float.h include, and include via mul_splitl.h
6636         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6637         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6638         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6639         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6640         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6642         * math/mul_splitl.h: New file.
6644         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6645         Move into mul_split.h, and remove redundant float.h include.
6647         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6648         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6649         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6650         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6652         * math/mul_split.h: New file.
6654 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6656         * math/Makefile (libm-gen-calls): Move
6657         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6658         (libm-calls): Remove above.
6660         * math/s_cacos_template.c: Update using type-generic macros.
6661         * math/s_cacosh_template.c: Likewise.
6662         * math/s_ccos_template.c: Likewise.
6663         * math/s_ccosh_template.c: Likewise.
6665         * math/s_cacosf.c: Removed.
6666         * math/s_cacos.c: Removed.
6667         * math/s_cacosl.c: Removed.
6668         * math/s_cacoshf.c: Removed.
6669         * math/s_cacosh.c: Removed.
6670         * math/s_cacoshl.c: Removed.
6671         * math/s_ccosf.c: Removed.
6672         * math/s_ccos.c: Removed.
6673         * math/s_ccosl.c: Removed.
6674         * math/s_ccoshf.c: Removed.
6675         * math/s_ccosh.c: Removed.
6676         * math/s_ccoshl.c: Removed.
6678         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6679         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6680         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6681         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6682         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6683         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6685         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6686         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6687         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6688         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6690         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6691         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6692         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6693         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6695 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6697         * s_cacos_template.c: Copy of s_cacos.c.
6698         * s_cacosh_template.c: Copy of s_cacosh.c.
6699         * s_ccos_template.c: Copy of s_ccos.c.
6700         * s_ccosh_template.c: Copy of s_ccosh.c.
6702 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6704         * stdlib/tst-strtod-round-skeleton.c:
6705         Refactored from tst-strtod-round.c.
6707         (L_): New macro to apply literal modifier.
6708         (FNPFX): New macro to select str or wcs prefix.
6709         (CHAR): New macro to choose wchar_t or char.
6710         (STRM): New macro to choose printf for tested character type.
6712         (STRTO): New macro to choose appropriate string -> real function.
6713         (FNPFXS): Stringitized version of FNPFX.
6714         (STR): Support for above macro.
6715         (STRX): Likewise.
6717         (TEST): Update with above macros.
6718         (test): Likewise.
6719         (GEN_ONE_TEST): Likewise.
6720         (test_in_one_mode): Likewise.
6722         * stdlib/tst-strtod-round.c: New file.
6723         * wcsmbs/tst-wcstod-round.c: New file.
6725         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6726         (tst-wcstod-round): Add libm depencency for fesetround.
6728 2016-08-19  Zack Weinberg  <zackw@panix.com>
6730         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6732 2016-08-18  Torvald Riegel  <triegel@redhat.com>
6734         [BZ #20477]
6735         * resolv/res_hconf.c (do_init): Use atomic access.
6736         * resolv/res_hconf.h: Add comments.
6737         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6738         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6739         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6741 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6744         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6746         Likewise.
6748 2016-08-18  Florian Weimer  <fweimer@redhat.com>
6750         [BZ #16907]
6751         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6752         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6753         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6754         (__attribute__): Remove definition.
6756 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6758         * sysdeps/ieee754/ldbl-128/e_asinl.c:
6759         Remove unused sqrtl declaration.
6761 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6763         * math/Makefile: (gen-libm-templates.stmp): New rule.
6764         (libm-calls): Move carg conj cimag and cabs into ...
6765         (gen-libm-calls): New variable.
6766         (generated): Inform Make objects from gen-libm-calls
6767         may be generated.
6769         * sysdeps/generic/math-type-macros.h: New file.
6770         * sysdeps/generic/math-type-macros-float.h: Likewise.
6771         * sysdeps/generic/math-type-macros-double.h: Likewise.
6772         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6773         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6774         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6776         * math/cabs.c: Refactor into
6777         * math/cabs_template.c: new file.
6778         * math/cabsf.c: Removed.
6779         * math/cabsl.c: Removed.
6780         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6781         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6783         * math/carg.c: Refactor into
6784         * math/carg_template.c: new file.
6785         * math/cargf.c: Removed.
6786         * math/cargl.c: Removed.
6787         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6788         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6790         * math/conj.c: Refactor into
6791         * math/conj_template.c: new file.
6792         * math/conjf.c: Removed.
6793         * math/conjl.c: Removed.
6794         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6795         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6797         * math/cimag.c: Refactor into
6798         * math/cimag_template.c: new file.
6799         * math/cimagf.c: Removed.
6800         * math/cimagl.c: Removed.
6801         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6802         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6804         * math/cimag.c: Refactor into
6805         * math/cimag_template.c: new file.
6806         * math/cimagf.c: Removed.
6807         * math/cimagl.c: Removed.
6808         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6809         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6811 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6813         Reduce time to expected nptl/tst-once5 failure.
6814         * nptl/tst-once5.cc (TIMEOUT): Define.
6816 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6818         [BZ #20452]
6819         Avoid additional copies of objects in libc.a in static libraries.
6820         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6821         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6822         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6823         rt-sysdep.
6824         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6825         Add nptl-sysdep.
6826         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6827         Add ptw-sysdep.
6828         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6829         rt-sysdep.
6830         * sysdeps/unix/sysv/linux/alpha/Makefile
6831         (libpthread-shared-only-routines): Add ptw-sysdep,
6832         ptw-sigprocmask, ptw-rt_sigaction.
6833         * sysdeps/unix/sysv/linux/ia64/Makefile
6834         (librt-shared-only-routines): Add rt-sysdep.
6835         * sysdeps/unix/sysv/linux/i386/Makefile
6836         (libpthread-shared-only-routines): Add libc-do-syscall.
6837         * sysdeps/unix/sysv/linux/microblaze/Makefile
6838         (libpthread-shared-only-routines): Add sysdep.
6839         * sysdeps/unix/sysv/linux/powerpc/Makefile
6840         (librt-shared-only-routines): Add rt-sysdep.
6841         (libpthread-shared-only-routines): Add sysdep.
6842         * sysdeps/unix/sysv/linux/s390/Makefile
6843         (librt-shared-only-routines): Add rt-sysdep.
6844         * sysdeps/unix/sysv/linux/sparc/Makefile
6845         (librt-shared-only-routines): Add rt-sysdep.
6846         (libpthread-shared-only-routines): Add sysdep.
6847         * sysdeps/unix/sysv/linux/tile/Makefile
6848         (libpthread-shared-only-routines): Likewise.
6850 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
6852         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6853         Mask implicit bit out of unpacked value.
6854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6855         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6856         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6858         * sysdeps/sparc/fpu/fesetexcept.c: New file.
6860         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6862         * sysdeps/s390/fpu/fesetexcept.c: New file.
6864         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6865         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6866         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6868         * sysdeps/mips/fpu/fesetexcept.c: New file.
6870         * sysdeps/m68k/fpu/fesetexcept.c: New file.
6872         * sysdeps/ia64/fpu/fesetexcept.c: New file.
6874         * sysdeps/hppa/fpu/fesetexcept.c: New file.
6876         * sysdeps/arm/fesetexcept.c: New file.
6878         * sysdeps/alpha/fpu/fesetexcept.c: New file.
6880         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
6882         * math/fesetexcept.c: New file.
6883         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
6884         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
6885         * math/fenv.h: Define
6886         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6887         <bits/libc-header-start.h> instead of including <features.h>.
6888         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
6889         declaration.
6890         * manual/arith.texi (fesetexcept): Document function.
6891         * math/Versions (fesetexcept): New libm symbol at version
6892         GLIBC_2.25.
6893         * math/Makefile (libm-support): Add fesetexcept.
6894         (tests): Add test-fesetexcept and test-fesetexcept-traps.
6895         * math/test-fesetexcept.c: New file.
6896         * math/test-fesetexcept-traps.c: Likewise.
6897         * sysdeps/nacl/libm.abilist: Update.
6898         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6899         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6900         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6901         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6902         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6905         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6909         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6913         Likewise.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6915         Likewise.
6916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6917         Likewise.
6918         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6924         Likewise.
6925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6926         Likewise.
6927         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6931 2016-08-16  Florian Weimer  <fweimer@redhat.com>
6933         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
6934         New.
6935         (do_test): Apply default_stack_size_in_mb if not set.
6936         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
6938 2016-08-15  Andreas Schwab  <schwab@suse.de>
6940         [BZ #20435]
6941         CVE-2016-6323
6942         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
6943         as .cantunwind.
6945 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
6947         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
6948         comment from fraiseexcpt.c.
6950         * math/test-fexcept.c (feraiseexcept_exact): New function.
6951         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
6952         (test_except): Likewise.
6954 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #20455]
6957         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
6958         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
6959         to be restored.
6961         * math/test-fexcept-traps.c: New file.
6962         * math/test-fexcept.c: Likewise.
6963         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
6964         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
6965         macro.
6966         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
6967         (EXCEPTION_SET_FORCES_TRAP): Likewise.
6969 2016-08-09  Torvald Riegel  <triegel@redhat.com>
6971         * include/atomic.h (atomic_fetch_and_relaxed,
6972         atomic_fetch_and_release, atomic_fetch_or_release,
6973         atomic_fetch_xor_release): New.
6975 2016-08-06  Christian Seiler  <christian@iwakd.de>
6977         [BZ #20444]
6978         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
6979         MACH_PORT_NULL.
6981 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
6983         * math/s_fdim.c: Avoid alias renamed.
6984         * math/s_fdimf.c: Likewise.
6985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6986         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6987         Add s_fdimf-vis3, s_fdim-vis3.
6988         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6989         (CFLAGS-s_fdim-vis3.c): Likewise.
6990         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
6991         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
6993 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
6995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6996         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6997         Remove s_fdimf-vis3, s_fdim-vis3.
6998         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
6999         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7006         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7007         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7009 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7011         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7012         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7013         -Wa,-Av9a -mvis.
7015 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7017         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7018         LIT() to individual constants in simple expressions
7019         after splitting on spaces.
7020         (_apply_lit): Rename replaced version, and use it to
7021         apply to what appears to be a token.
7023         * math/libm-test.inc: Fix many, many issues with
7024         spacing.
7026 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7028         * math/math.h: Move comment about <bits/mathdef.h> definitions
7029         above inclusion of <bits/mathdef.h>.  Do not mention
7030         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7032 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7034         * include/atomic.h (atomic_exchange_relaxed): New.
7036 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7038         * math/e_scalb.c: Do not include <fenv.h>.
7039         (invalid_fn): Do calculation resulting in NaN instead of raising
7040         FE_INVALID and returning a NaN explicitly.
7041         * math/e_scalbf.c: Do not include <fenv.h>.
7042         (invalid_fn): Do calculation resulting in NaN instead of raising
7043         FE_INVALID and returning a NaN explicitly.
7044         * math/e_scalbl.c: Do not include <fenv.h>.
7045         (invalid_fn): Do calculation resulting in NaN instead of raising
7046         FE_INVALID and returning a NaN explicitly.
7048 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7050         * po/de.po: Updated from Translation Project.
7051         * po/fi.po: Likewise.
7052         * po/sv.po: Likewise.
7054 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7056         [BZ #20452]
7057         Use sysdep.o from libc.a in static libraries.
7058         * sysdeps/unix/sysv/linux/i386/Makefile
7059         (libpthread-shared-only-routines): Add sysdep.
7060         (librt-shared-only-routines): Likewise.
7062 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7064         * math/tgmath.h (nextdown): Define if
7065         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7066         (nextup): Likewise.
7068         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7069         macro.
7070         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7071         Document.
7072         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7073         Document macro.
7074         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7075         (exp10f): Likewise.
7076         (exp10l): Likewise.
7077         * math/bits/mathcalls.h (exp10): Declare if
7078         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7080         * manual/arith.texi (nextup): Fix typo in last change.
7082 2016-08-03  Zack Weinberg  <zackw@panix.com>
7084         [BZ #19239]
7085         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7086         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7087         define major, minor, and makedev to issue deprecation warnings on use.
7088         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7089         previously-activated deprecation warnings for these macros and prevent
7090         subsequent inclusions of this header from having any effect.
7091         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7092         including <sys/sysmacros.h>, and undefine it again afterward.
7094 2016-08-03  Zack Weinberg  <zackw@panix.com>
7096         * sysdeps/generic/sys/sysmacros.h: Delete file.
7097         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7098         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7099         * bits/sysmacros.h: ... here; this encoding is now the generic
7100         encoding.  Now defines only the following macros:
7101         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7102         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7103         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7105         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7106         bits/sysmacros.h and the above new macros to generate the
7107         public implementations of major, minor, and makedev.
7108         * misc/tst-makedev.c: New test.
7109         * include/sys/sysmacros.h: New wrapper.
7111         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7112         (routines): Add makedev.
7113         (tests): Add tst-makedev.
7114         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7115         gnu_dev_makedev.
7116         * posix/Makefile (headers): Remove sys/sysmacros.h.
7117         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7119         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7120         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7121         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7122         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7123         * sysdeps/unix/sysv/linux/arm/libc.abilist
7124         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7125         * sysdeps/unix/sysv/linux/i386/libc.abilist
7126         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7127         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7128         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7129         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7130         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7131         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7132         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7133         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7134         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7139         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7140         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7141         * sysdeps/unix/sysv/linux/sh/libc.abilist
7142         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7143         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7146         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7147         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7148         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7149         Add GLIBC_2.25.
7151         * include/features.h (__glibc_clang_prereq): New macro.
7152         * misc/sys/cdefs.h (__glibc_clang_has_extension)
7153         (__attribute_deprecated_msg__): New macros.
7155 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7157         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7158         macro.
7159         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7160         * manual/arith.texi (issignaling): Document as ISO from TS
7161         18661-1:2014.
7162         (nextup): Likewise.
7163         (nextupf): Likewise.
7164         (nextupl): Likewise.
7165         (nextdown): Likewise.
7166         (nextdownf): Likewise.
7167         (nextdownl): Likewise.
7168         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7169         macro.
7170         * math/math.h: Define
7171         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7172         <bits/libc-header-start.h> instead of including <features.h>.
7173         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7174         [__USE_GNU].
7175         * math/bits/mathcalls.h (nextdown): Declare if
7176         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7177         (nextup): Likewise.
7178         (__issignaling): Likewise.
7180 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7182         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7183         check, and remove __glibc_likely hint
7184         from FP_INFINITE check.
7185         * s_csinhf.c (__csinhf): Likewise.
7187         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7188         hint from FP_INFINITE check.
7189         * s_csinhl.c (__csinhl): Likewise.
7191 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7193         * math/Makefile (libm-calls): Insert F placeholder into
7194         object names.  Move w_lgamma_compat* routines into
7195         (libm-compat-calls): New variable.
7196         (libm-compat-calls-ldouble-yes): New variable.
7197         (calls): Insert F placeholder.
7198         (generated): Redefine using new type-foreach macro call.
7199         (routines): Likewise.
7201         (types): New variable to hold a list of symbolic names
7202         for each type supported by the target machine.
7203         (libm-routines): Redefine using new types variable.
7204         (type-foreach): macro to replace fooF with the
7205         appropriately suffixed foo for each types.
7207         (type-ldouble-suffix): New variable.
7208         (type-ldouble-routines): Likewise.
7209         (type-ldouble-yes): Likewise.
7210         (type-double-suffix): Likewise.
7211         (type-double-routines): Likewise.
7212         (type-float-suffix): Likewise.
7213         (type-float-routines): Likewise.
7215         (dbl-only-routines): Remove.
7216         (long-c-yes): Likewise.
7217         (long-m-routines): Likewise.
7218         (long-m-support): Likewise.
7219         (long-m-yes): Likewise.
7220         (test-longdouble-yes): Likewise.
7222         (test-float.o): Simplify by increasing the scope of the
7223         recipe which adds libm-test.stmp to the vector types.
7224         (test-ifloat.o): Likewise.
7225         (test-float-finite.o): Likewise.
7226         (test-double.o): Likewise
7227         (test-idouble.o): Likewise.
7228         (test-double-finite.o): Likewise.
7229         (test-ldouble.o): Likewise
7230         (test-ildoubl.o): Likewise.
7231         (test-ldouble-finite.o): Likewise.
7233         (libm-tests): Redefine type tests using foreach and the
7234         list of types in types.
7236         (CPPFLAGS-test-ildoubl.c): Rename to
7237         (CPPFLAGS-test-ildouble.c): New variable
7239         * math/test-ildoubl.c: Rename to
7240         * math/test-ildouble.c: New file.
7242 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7244         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7245         Use fabsl instead of fabs.
7246         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7247         Likewise.
7248         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7249         Add long double suffix to constant to ensure proper
7250         promotion to long double.
7252 2016-08-03  Tom Tromey  <tom@tromey.com>
7254         [BZ #20311]
7255         * nptl_db/Makefile (headers): Add proc_service.h.
7256         * nptl_db/proc_service.h: Add include guard.  Use
7257         __BEGIN/__END_DECLS.
7258         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7259         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7260         arguments.
7263 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7265         [BZ #17730]
7266         Avoid using memalign for TCB allocations.
7267         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7268         (_dl_allocate_tls_storage): Use malloc and manual alignment.
7269         Avoid alignment gap in the TLS_DTV_AT_TP case.
7270         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7271         determine the pointer to free.
7272         * nptl/tst-tls3-malloc.c: New test.
7273         * nptl/Makefile (tests): Add it.
7274         (tst-tls3-malloc): Link with libdl, libpthread.
7275         (LDFLAGS-tst-tls3-malloc): Set.
7276         (tst-tls3-malloc.out): Depend on DSO used in test.
7278 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7280         [BZ #17730]
7281         Avoid using memalign for TLS allocations.
7282         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
7283         is_static member with to_free member.
7284         (union dtv): Use struct dtv_pointer.
7285         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7286         dtv_pointer instead of is_static.
7287         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7288         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7289         instead of val.
7290         (allocate_dtv_entry): New function.
7291         (allocate_and_init): Return struct dtv_pointer.  Call
7292         allocate_dtv_entry instead of __libc_memalign.
7293         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7294         instead of val.
7295         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7296         instead of is_static.  Adjust call to allocate_and_init.
7297         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7298         struct dtv_pointer instead of val.
7300 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7302         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7303         (MALLOC_ALIGN_MASK): Move ...
7304         * malloc/malloc-internal.h: ... to here.
7305         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7307 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7309         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7310         (UDP_ENCAP_GTP1U): Likewise.
7312         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7313         (PF_MAX): Update value.
7314         (AF_QIPCRTR): New macro.
7316 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7318         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7319         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7320         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7322         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7323         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7324         s_truncf-vis3, s_trunc-vis3.
7325         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7326         (CFLAGS-s_ceil-vis3.c): Likewise.
7327         (CFLAGS-s_floorf-vis3.c): Likewise.
7328         (CFLAGS-s_floor-vis3.c): Likewise.
7329         (CFLAGS-s_truncf-vis3.c): Likewise.
7330         (CFLAGS-s_trunc-vis3.c): Likewise.
7331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7332         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7334         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7339         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7340         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7341         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7342         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7344 2016-08-02  David S. Miller  <davem@davemloft.net>
7346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7347         (__nearbyint_vis3): Don't check for sNaN before float register is
7348         loaded with the incoming argument.
7349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7350         (__nearbyintf_vis3): Likewise.
7351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7352         Likewise.
7353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7354         Likewise.
7356         * string/test-strncmp.c (do_test_limit): Make sure the test data
7357         stream is aligned as required for the type "CHAR".
7358         (do_test): Likewise.
7360 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7362         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7363         by beq instructions jumping to the end of the function.
7364         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7365         clobber list. Use "i" constraint instead of "X".
7366         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7367         of "X".
7369 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
7371         * bits/libc-header-start.h: New file.
7372         * Makefile (headers): Add bits/libc-header-start.h.
7373         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7374         (__GLIBC_USE): New macro.
7375         * libio/stdio.h: Define
7376         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7377         <bits/libc-header-start.h> instead of including <features.h>.
7378         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7379         (open_memstream): Likewise.
7380         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7381         (__asprintf): Likewise.
7382         (asprintf): Likewise.
7383         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7384         (getdelim): Likewise.
7385         (getline): Likewise.
7386         * string/string.h: Define
7387         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7388         <bits/libc-header-start.h> instead of including <features.h>.
7389         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7390         (strndup): Likewise.
7391         * wcsmbs/wchar.h: Define
7392         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7393         <bits/libc-header-start.h> instead of including <features.h>.
7394         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7395         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7397 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7399         Support linking against compatibility symbols, for use in tests.
7400         * include/libc-symbols.h (symbol_version_reference): New macro.
7401         (symbol_version): Use it.
7402         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7403         (compat_symbol): Use compat_symbol_reference.
7404         (compat_symbol_1, compat_symbol_2): Remove.
7405         (compat_symbol_reference, compat_symbol_reference_1)
7406         (compat_symbol_reference_2): New macro.  Use
7407         symbol_version_reference.
7409 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7411         [BZ #19469]
7412         * malloc/Makefile (CPPFLAGS): Compile tests with
7413         -DTEST_NO_MALLOPT.
7414         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7416 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
7418         [BZ #20033]
7419         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7420         finite version.
7421         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7422         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7423         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7424         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7425         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7426         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7427         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7429         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7430         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7432         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7433         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7434         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7435         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7436         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7437         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7438         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7439         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7440         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7441         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7442         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7443         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7444         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7445         in zero power.
7447 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7449         [BZ #20370]
7450         * malloc/arena.c (get_free_list): Update comment.  Assert that
7451         arenas on the free list have no attached threads.
7452         (remove_from_free_list): New function.
7453         (reused_arena): Call it.
7455 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
7457         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7458         when it is a NaN.
7459         [_IEEE_FP_INEXACT] Remove.
7460         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7461         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7462         when it is a NaN.
7463         [_IEEE_FP_INEXACT] Remove.
7464         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7465         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7466         when it is a NaN.
7467         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7468         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7469         when its absolute value is greater than 0x1.0p52.
7470         [_IEEE_FP_INEXACT] Remove.
7471         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7472         when its absolute value is greater than 0x1.0p23.
7473         [_IEEE_FP_INEXACT] Remove.
7475 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
7477         * version.h (RELEASE): Set to "development"
7478         (VERSION): Set to 2.24.90.
7479         * NEWS: Add 2.25 section.
7481         * version.h (RELEASE): Set to "stable"
7482         (VERSION): Set to 2.24.
7483         * include/features.h (__GLIBC_MINOR__): Set to 24.
7485         * NEWS: Add 2.24 fixed bugs.
7486         * po/libc.pot: Regenerate.
7488 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
7490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7491         [$(subdir) = math] (libm-sysdep_routines): Remove.
7492         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7493         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7494         s_truncf-vis3, s_trunc-vis3.
7495         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7497         file.
7498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7523         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7525         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7526         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7527         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7528         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7531         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7532         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7533         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7534         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7535         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7536         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7537         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7538         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7539         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7540         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7542 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
7544         [BZ #20384]
7545         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7546         test-double-libmvec-sincos-avx-main.o,
7547         test-double-libmvec-sincos-avx2-main.o,
7548         test-double-libmvec-sincos-main.o,
7549         test-float-libmvec-sincosf-avx-main.o,
7550         test-float-libmvec-sincosf-avx2-main.o and
7551         test-float-libmvec-sincosf-main.o.
7552         test-float-libmvec-sincosf-avx512-main.o.
7553         ($(objpfx)test-double-libmvec-sincos): Also link with
7554         $(objpfx)test-double-libmvec-sincos-main.o.
7555         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7556         $(objpfx)test-double-libmvec-sincos-avx-main.o.
7557         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7558         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7559         ($(objpfx)test-float-libmvec-sincosf): Also link with
7560         $(objpfx)test-float-libmvec-sincosf-main.o.
7561         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7562         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7563         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7564         test-double-libmvec-sincos-avx512-main.o and
7565         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7566         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7567         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7568         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7569         (CFLAGS-test-double-libmvec-sincos.c): Removed.
7570         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7571         (CFLAGS-test-double-libmvec-sincos-main.c): New.
7572         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7573         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7574         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7575         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7576         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7577         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7578         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7579         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7580         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7581         -DREQUIRE_AVX2.
7582         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7583         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7584         -DREQUIRE_AVX512F.
7585         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7586         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7587         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7588         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7589         file.
7590         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7591         Likewise.
7592         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7593         Likewise.
7594         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7595         Likewise.
7596         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7597         Likewise.
7598         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7599         Likewise.
7600         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7601         Likewise.
7602         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7603         Likewise.
7605 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
7607         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7609 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
7611         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7612         and typo in a comment about AT_HWCAP entry.
7614 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7616         * sysdeps/aarch64/libm-test-ulps: Updated.
7618 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7620         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7621         of r13 as it is not restored in mvcle case.
7623 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
7625         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7626         Rename "ret" to "__ret".
7627         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7628         inline_syscall5, inline_syscall6): Likewise.
7630 2016-07-19   Will Newton  <will.newton@gmail.com>
7632         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7633         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7634         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7635         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7636         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7638 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
7640         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7641         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7642         -mfpmath=387 with $(rtld-CFLAGS).
7643         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7644         $(rtld-CFLAGS).
7646 2016-07-18   Ross Burton  <ross.burton@intel.com>
7647              Khem Raj  <raj.khem@gmail.com>
7649         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7650         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7651         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7652         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7653         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7654         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7655         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7656         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7657         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7658         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7659         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7660         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7661         R_METAG_TLS_DTPOFF): New.
7663 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7664             Matt Clay  <mclay@lycos.com>
7666         [BZ #20357]
7667         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7668         to call __mpsin/__mpcos and to negate values.
7669         * math/auto-libm-test-in: Add test.
7670         * math/auto-libm-test-out: Regenerate.
7672 2016-07-18  Zack Weinberg  <zackw@panix.com>
7674         * grp/Makefile: Don't install the internal header grp-merge.h.
7676 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7678         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7680 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7682         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7684 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7686         [BZ #15368]
7687         * sysdeps/unix/sysv/linux/nptl-signals.h
7688         (__nptl_clear_internal_signals): New function.
7689         (__libc_signal_block_all): Likewise.
7690         (__libc_signal_block_app): Likewise.
7691         (__libc_signal_restore_set): Likewise.
7692         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7693         implementation.
7694         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7695         the cached pid/tid value in pthread structure.
7697 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
7699         [BZ #20347]
7700         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7702 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7704         [BZ #20348]
7705         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7706         preadv64, pwrite64 and pwritev64.
7708 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7710         [BZ #20350]
7711         * posix/tst-preadwrite.c: Renamed to ...
7712         * posix/tst-preadwrite-common.c: This.
7713         (PREAD): Removed.
7714         (PWRITE): Likewise.
7715         (STRINGIFY): Likewise.
7716         (STRINGIFY2): Likewise.
7717         (do_prepare): Make it static and remove function arguments.
7718         (do_test): Likewise.
7719         (PREPARE): Updated.
7720         (TEST_FUNCTION): New.
7721         (name): Make it static.
7722         (fd): Likewise.
7723         (do_prepare): Use create_temp_file.
7724         (do_test): Renamed to ...
7725         (do_test_with_offset): This.  Make it static and accept offset.
7726         Properly check return value of PWRITE and PREAD.  Return bytes
7727         read.  Don't close fd nor unlink name.
7728         * posix/tst-preadwrite.c: Rewrite.
7729         * posix/tst-preadwrite64.c: Likewise.
7731 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7733         [BZ #20309]
7734         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7735         -mtls-dialect=gnu2 works.
7736         * configure: Regenerated.
7737         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7738         (tests): Add tst-gnu2-tls1.
7739         (modules-names): Add tst-gnu2-tls1mod.
7740         ($(objpfx)tst-gnu2-tls1): New.
7741         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7742         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7743         * elf/tst-gnu2-tls1.c: New file.
7744         * elf/tst-gnu2-tls1mod.c: Likewise.
7745         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7746         bytes for push in the PLT entry to align the stack.
7748 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7750         [BZ #20349]
7751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7753 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7755         [BZ #18707]
7756         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7757         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7759 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7761         * sysdeps/unix/sysv/linux/sysdep.h
7762         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7763         guards.
7764         * misc/tst-preadvwritev-common.c: New file.
7765         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7766         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7767         a check for files larger than 2GB.
7769         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7770         (__ASSUME_OFF_DIFF_OFF64): Remove define.
7771         * sysdeps/unix/sysv/linux/pread.c
7772         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7773         __OFF_T_MATCHES_OFF64_T.
7774         * sysdeps/unix/sysv/linux/pread64.c
7775         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7776         * sysdeps/unix/sysv/linux/preadv.c
7777         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7778         * sysdeps/unix/sysv/linux/preadv64.c
7779         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7780         * sysdeps/unix/sysv/linux/pwrite.c
7781         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7782         * sysdeps/unix/sysv/linux/pwrite64.c
7783         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7784         * sysdeps/unix/sysv/linux/pwritev.c
7785         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7786         * sysdeps/unix/sysv/linux/pwritev64.c
7787         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7789 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
7791         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7792         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7794 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7796         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7798 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7800         [BZ #20240]
7801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7802         (CFLAGS-s_modf-ppc32.c): New variable.
7803         (CFLAGS-s_modff-ppc32.c): Likewise.
7804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7805         (CFLAGS-s_modf-ppc64.c): Likewise.
7806         (CFLAGS-s_modff-ppc64.c): Likewise.
7808 2016-07-07  Andreas Schwab  <schwab@suse.de>
7810         [BZ #20263]
7811         * nptl/tst-robust10.c: New test.
7812         * nptl/Makefile (tests): Add tst-robust10.
7814 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
7816         [BZ #20263]
7817         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7819 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7821         * sysdeps/s390/linkmap.h (struct link_map_machine):
7822         Remove member gotplt and add member jmprel.
7823         * sysdeps/s390/s390-32/dl-machine.h
7824         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7825         instead of gotplt with &got[3].
7826         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7827         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7829 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
7831         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7833 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7835         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7836         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7837         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7838         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7839         * libio/vtables.c (_IO_vtable_check)
7840         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7841         * libio/libioP.h (IO_set_accept_foreign_vtables)
7842         [!PTR_MANGLE]: Do not call PTR_MANGLE.
7844 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
7846         [BZ #20314]
7847         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7848         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7849         $(common-objpfx)cmath.
7850         ($(common-objpfx)cstdlib): New target.
7851         ($(common-objpfx)cmath): Likewise.
7853 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
7855         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7857 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7859         [BZ #20327]
7860         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7861         are not part of the string.
7863 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7865         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7866         * nptl/tst-cancel4-common.h (fifoname): New variable.
7867         (fifofd): Likewise.
7868         (cl_fifo): New function.
7869         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
7870         SIGINT.
7871         (tf_open): Add early cancel test.
7873 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7875         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
7877 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
7879         * sysdeps/generic/ldsodefs.h
7880         (dl_symbol_visibility_binds_local_p): New inline function.
7881         * elf/dl-addr.c (determine_info): Treat hidden and internal
7882         symbols as local.
7883         * elf/dl-lookup.c (do_lookup_x): Likewise.
7884         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
7886 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
7888         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
7889         invalid exception for a sNaN input.
7890         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7891         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7892         (__nearbyint_vis3): Likewise
7893         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7894         (__nearbyintf_vis3): Likewise
7895         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
7896         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7897         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
7898         Likewise.
7899         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
7900         Likewise.
7902 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
7904         [BZ #20139]
7905         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
7906         (HAVE_AVX512DQ_ASM_SUPPORT): This.
7907         * sysdeps/x86_64/configure.ac: Require assembler from binutils
7908         2.24 or above.
7909         (HAVE_AVX512_ASM_SUPPORT): Removed.
7910         (HAVE_AVX512DQ_ASM_SUPPORT): New.
7911         * sysdeps/x86_64/configure: Regenerated.
7912         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
7913         check unconditional.
7914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7915         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7916         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7917         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7918         Likewise.
7919         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7920         Likewise.
7921         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7922         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7923         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7924         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7925         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7926         Likewise.
7927         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7928         Likewise.
7929         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7930         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7931         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
7932         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
7933         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
7934         Likewise.
7935         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
7936         Likewise.
7937         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
7938         Likewise.
7939         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
7940         Likewise.
7941         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
7942         Likewise.
7943         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
7944         Likewise.
7945         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
7946         Likewise.
7947         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
7948         Likewise.
7949         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
7950         Likewise.
7951         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
7952         Likewise.
7953         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
7954         Likewise.
7956 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
7958         [BZ #20024]
7959         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
7960         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
7961         of this implementation of vector function.
7962         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7963         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7964         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7965         Likewise.
7966         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7967         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7968         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
7969         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
7970         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
7971         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
7972         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
7973         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
7974         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
7975         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
7976         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
7977         for testing vector sincos with fixed ABI.
7978         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7979         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7980         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7981         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7982         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7983         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7984         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7985         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
7986         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
7987         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
7988         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
7989         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
7990         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
7991         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
7992         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7993         * sysdeps/x86_64/fpu/Makefile: Added new tests.
7995 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7997         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
7999 2016-06-30  Anton Blanchard  <anton@samba.org>
8001         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8002         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8003         s_sinf-ppc64.
8004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8007         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8009 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8013         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8014         e_expf-ppc64.
8015         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8016         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8017         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8018         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8020 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8022         [BZ #20277]
8023         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8024         when SHARED is defined.
8026 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8028         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8029         (index_arch_Prefer_ERMS): Likewise.
8030         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8031         __memcpy_erms for Prefer_ERMS.
8032         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8033         (__memmove_erms): Enabled for libc.a.
8034         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8035         __memmove_erms or Prefer_ERMS.
8036         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8037         __mempcpy_erms for Prefer_ERMS.
8038         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8039         __memset_erms for Prefer_ERMS.
8041 2016-06-30  Andreas Schwab  <schwab@suse.de>
8043         [BZ #20262]
8044         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8045         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8046         of memory.
8048 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8050         [BZ #18645]
8051         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8052         (test-extras): Add tst-cleanupx4aux.
8053         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8054         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8055         tst-cleanupx4aux.o.
8056         * nptl/tst-cleanupx4aux.c: New file.
8058 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8060         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8062 2016-06-29  Andreas Schwab  <schwab@suse.de>
8064         [BZ #20260]
8065         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8066         address before the beginning of the string as an integer to avoid
8067         array-bounds warning.
8069 2016-06-28  Richard Henderson  <rth@redhat.com>
8071         * elf/elf.h (EM_BPF): New.
8072         (EM_NUM): Update.
8073         (R_BPF_NONE, R_BPF_MAP_FD): New.
8075         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8076         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8077         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8078         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8079         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8080         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8081         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8082         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8083         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8084         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8085         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8086         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8087         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8088         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8089         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8090         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8091         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8092         (EM_NUM): Update.
8094 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
8096         [BZ #18960]
8097         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8098         Set _nl_current_LC_CATEGORY_used to two instead of one.
8100 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
8102         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8103         (do_test): ... this.
8104         (TEST_FUNCTION): New macro.
8105          Include test-skeleton.c.
8106         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8107         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8109 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
8111         [BZ #15479]
8112         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8113         floating-point environment rather than just control word.
8114         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8115         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8116         floating-point environment, with "invalid" exceptions merged in,
8117         rather than just control word.
8118         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8119         * math/libm-test.inc (trunc_test_data): Do not allow spurious
8120         "inexact" exceptions.
8122         [BZ #15479]
8123         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8124         floating-point environment rather than just control word.
8125         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8126         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8127         floating-point environment, with "invalid" exceptions merged in,
8128         rather than just control word.
8129         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8130         * math/libm-test.inc (floor_test_data): Do not allow spurious
8131         "inexact" exceptions.
8133         [BZ #15479]
8134         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8135         floating-point environment rather than just control word.
8136         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8137         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8138         floating-point environment, with "invalid" exceptions merged in,
8139         rather than just control word.
8140         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8141         * math/libm-test.inc (ceil_test_data): Do not allow spurious
8142         "inexact" exceptions.
8144 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
8146         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8147         __libc_vfork.
8148         (__vfork) [IS_IN (libc)]: Remove alias.
8149         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8150         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8151         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8153 2016-06-24  Torvald Riegel  <triegel@redhat.com>
8155         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8156         of atomic_compare_and_exchange_bool_rel.
8157         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8158         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8159         catomic_compare_and_exchange_bool_rel): Remove.
8160         * sysdeps/aarch64/atomic-machine.h
8161         (atomic_compare_and_exchange_bool_rel): Likewise.
8162         * sysdeps/alpha/atomic-machine.h
8163         (atomic_compare_and_exchange_bool_rel): Likewise.
8164         * sysdeps/arm/atomic-machine.h
8165         (atomic_compare_and_exchange_bool_rel): Likewise.
8166         * sysdeps/mips/atomic-machine.h
8167         (atomic_compare_and_exchange_bool_rel): Likewise.
8168         * sysdeps/microblaze/atomic-machine.h
8169         ( __arch_compare_and_exchange_bool_8_rel,
8170         __arch_compare_and_exchange_bool_16_rel): Likewise.
8171         * sysdeps/powerpc/atomic-machine.h
8172         ( __arch_compare_and_exchange_bool_8_rel,
8173         __arch_compare_and_exchange_bool_16_rel): Likewise.
8174         * sysdeps/powerpc/powerpc32/atomic-machine.h
8175         ( __arch_compare_and_exchange_bool_32_rel,
8176         __arch_compare_and_exchange_bool_64_rel): Likewise.
8177         * sysdeps/powerpc/powerpc64/atomic-machine.h
8178         ( __arch_compare_and_exchange_bool_32_rel,
8179         __arch_compare_and_exchange_bool_64_rel): Likewise.
8180         * sysdeps/tile/atomic-machine.h
8181         (atomic_compare_and_exchange_bool_rel): Likewise.
8183 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
8185         [BZ #20296]
8186         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8187         when either argument is a NaN.
8188         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8189         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8191         * math/libm-test.inc (snan_value_ld): New macro.
8192         (isgreater_test_data): Add sNaN tests.
8193         (isgreaterequal_test_data): Likewise.
8194         (isless_test_data): Likewise.
8195         (islessequal_test_data): Likewise.
8196         (islessgreater_test_data): Likewise.
8197         (isunordered_test_data): Likewise.
8198         (nextafter_test_data): Likewise.
8199         (nexttoward_test_data): Likewise.
8200         (remainder_test_data): Likewise.
8201         (remquo_test_data): Likewise.
8202         (significand_test_data): Likewise.
8203         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8205 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8207         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8208         environment macros are defined.
8209         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8211 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8213         [BZ #20191]
8214         Implement vtable verification in libio.
8215         * Makerules (shlib.lds): Place __libc_IO_vtables section.
8216         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8217         * debug/vdprintf_chk.c (__vdprintf_chk): Call
8218         _IO_new_file_init_internal instead of _IO_file_init.
8219         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8220         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8221         * libio/Makefile (routines): Add vtables.
8222         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8223         (_IO_init): Remove, not for internal use.
8224         (_IO_init_internal): Declare, internal replacement for _IO_init.
8225         (_IO_file_init): Remove, not for internal use.
8226         (_IO_new_file_init): Remove, not for internal use.
8227         (_IO_new_file_init_internal): Declare, internal replacement for
8228         _IO_new_file_init.
8229         (_IO_old_file_init): Remove, not for internal use.
8230         (_IO_old_file_init_internal): Declare, internal replacement for
8231         _IO_old_file_init.
8232         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8233         internal use.
8234         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8235         Declare.
8236         (libio_vtable): New macro.
8237         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8238         functions.
8239         * libio/fileops.c (_IO_new_file_init_internal): Rename from
8240         _IO_new_file_init.
8241         (_IO_new_file_init): New externally visible wrapper which disables
8242         vtable verification.
8243         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8244         Define as vtables.
8245         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8246         (_IO_init): New externally visible wrapper which disables
8247         vtable verification.
8248         * libio/iofdopen.c (_IO_new_fdopen): Call
8249         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
8250         comment.
8251         * libio/iofopen.c (__fopen_internal): Call
8252         _IO_new_file_init_internal instead of _IO_file_init.
8253         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8254         Define as vtables.
8255         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8256         _IO_new_file_init_internal instead of _IO_file_init.
8257         * libio/iopopen.c (_IO_new_popen): Likewise.
8258         (_IO_proc_jumps): Define as vtable.
8259         * libio/iovdprintf.c (_IO_vdprintf): Call
8260         _IO_new_file_init_internal instead of _IO_file_init.
8261         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8262         (__open_memstream): Call _IO_init_internal instead of _IO_init.
8263         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8264         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8265         _IO_old_file_init.
8266         (_IO_old_file_init): New externally visible wrapper which disables
8267         vtable verification.
8268         (_IO_old_file_jumps): Define as vtable.
8269         * libio/oldiofdopen.c (_IO_old_fdopen): Call
8270         _IO_old_file_init_internal instead of _IO_old_file_init.
8271         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8272         * libio/oldiopopen.c (_IO_old_popen): Likewise.
8273         (_IO_old_proc_jumps): Define as vtable.
8274         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8275         Define as vtables.
8276         * libio/vtables.c: New file.
8277         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8278         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8279         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8280         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8281         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8282         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8283         instead of _IO_init.
8285 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8287         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8289 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8291         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8292         potentially unused.
8294 2016-06-22  Florian Weimer  <fweimer@redhat.com>
8296         * test-skeleton.c (write_message): New function.
8297         * malloc/tst-mallocfork2.c (write_message): Remove.
8298         * debug/tst-longjmp_chk2.c (write_indented): New function.
8299         (write_message): Remove.
8300         (stackoverflow_handler): Call write_indented.
8302 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
8304         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8305         "inexact" exceptions after fnstenv.
8306         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8307         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8308         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8310 2015-06-22  Zack Weinberg  <zackw@panix.com>
8312         * sysdeps/generic/bits/hwcap.h: Moved to ...
8313         * bits/hwcap.h: Here.
8315 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
8317         * sysdeps/aarch64/memcpy.S (memcpy):
8318         Further tuning for performance.
8320 2016-06-21  Florian Weimer  <fweimer@redhat.com>
8322         [BZ #20284]
8323         * malloc/arena.c (reused_arena): Do not return NULL if we start
8324         out with a non-corrupted arena.
8326 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8328         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8329         * misc/tst-preadvwritev.c: New file.
8330         * misc/tst-preadvwritev64.c: Likewise.
8331         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8332         usage.
8333         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8334         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8335         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8336         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8338 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
8340         [BZ #19654]
8341         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8342         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8343         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8344         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8345         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8346         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8347         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8348         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8349         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8350         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8351         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8352         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8353         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8354         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8355         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8356         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8357         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8358         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8359         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8360         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8361         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8362         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8363         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8364         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8365         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8366         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8368 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8370         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8371         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8373 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8375         * sysdeps/aarch64/memcpy.S (memcpy):
8376         Rewrite of optimized memcpy and memmove.
8377         * sysdeps/aarch64/memmove.S (memmove): Remove
8378         memmove code (merged into memcpy.S).
8380 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8382         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8383         * sysdeps/generic/dl-dtv.h: New file.
8384         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8385         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8386         (dtv_t): Remove.
8387         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8388         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8389         (dtv_t): Remove.
8390         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8391         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8392         (dtv_t): Remove.
8393         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8394         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8395         (dtv_t): Remove.
8396         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8397         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8398         (dtv_t): Remove.
8399         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8400         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8401         (dtv_t): Remove.
8402         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8403         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8404         (dtv_t): Remove.
8405         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8406         (dtv_t): Remove.
8407         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8408         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8409         (dtv_t): Remove.
8410         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8411         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8412         (dtv_t): Remove.
8413         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8414         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8415         (dtv_t): Remove.
8416         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8417         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8418         (dtv_t): Remove.
8419         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8420         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8421         (dtv_t): Remove.
8422         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8423         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8424         (dtv_t): Remove.
8425         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8426         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8427         (dtv_t): Remove.
8428         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8429         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8430         (dtv_t): Remove.
8432 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8434         Revert symbol poisoning of  __malloc_initialize_hook.
8435         * include/stdc-predef.h (__malloc_initialize_hook): Remove
8436         poisoning.
8437         * malloc/Makefile: Remove un-poisoning.
8438         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8439         instead of old__malloc_initialize_hook.
8440         * malloc/malloc-hooks.h: Likewise.
8441         * malloc/malloc.c: Likewise.
8442         * malloc/mcheck-init.c: Likewise.
8444 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
8446         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8448 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
8450         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8451         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8452         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8453         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8455 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8457         * NEWS: Mention addition of nextup and nextdown.
8458         * manual/arith.texi: Document nextup and nextdown.
8459         * manual/libm-err-tab.pl: Add nextup and nextdown.
8460         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8461         * math/Versions (libm): Add GLIBC_2.24.
8462         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8463         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8464         Add new test.
8465         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8466         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8467         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8468         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8469         (nextup_test_data): Likewise.
8470         (nextdown_test_data): Likewise.
8471         * math/s_nextdown.c: New file.
8472         * math/s_nextdownf.c: Likewise.
8473         * math/s_nextdownl.c: Likewise.
8474         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8475         F(nextup): New function.
8476         F(nextdown): Likewise.
8477         * math/tgmath.h: Add nextup and nextdown.
8478         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8479         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8480         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8481         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8482         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8483         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8484         Add nextup and nextdown.
8485         (CFLAGS-nldbl-nextup.c): New variable.
8486         (CFLAGS-nldbl-nextdown.c): Likewise.
8487         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8488         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8489         * sysdeps/nacl/libm.abilist: Update.
8490         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8491         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8492         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8493         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8494         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8495         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8496         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8497         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8498         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8499         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8500         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8501         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8504         Likewise.
8505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8507         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8508         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8509         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8510         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8511         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8514         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8515         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8516         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8517         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8519 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8521         * manual/pattern.texi: Fix typos & grammar errors.
8523 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8525         * manual/search.texi: Fix typos & grammar errors.
8527 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8529         * manual/message.texi: Fix typos & grammar errors.
8531 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
8533         * manual/contrib.texi: Fix spelling typos.
8534         * manual/crypt.texi: Likewise.
8535         * manual/filesys.texi: Likewise.
8536         * manual/locale.texi: Likewise.
8537         * manual/message.texi: Likewise.
8538         * manual/nss.texi: Likewise.
8539         * manual/string.texi: Likewise.
8541 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8543         * manual/locale.texi: Fix typos & grammar errors.
8545 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8547         * manual/charset.texi: Fix typos & grammar errors.
8549 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8551         * manual/string.texi: Fix typos.
8553 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8555         * manual/ctype.texi: Fix typos.
8557 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8559         * manual/memory.texi: Fix various typos & grammar errors.
8561 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
8563         [BZ #20255]
8564         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
8565         * math/libm-test.inc (fdim_test_data): Add another test.
8567         [BZ #6796]
8568         [BZ #20255]
8569         [BZ #20256]
8570         * math/s_fdim.c: Include <math_private.h>.
8571         (__fdim): Use math_narrow_eval on result.
8572         * math/s_fdimf.c: Include <math_private.h>.
8573         (__fdimf): Use math_narrow_eval on result.
8574         * sysdeps/i386/fpu/s_fdim.S: Remove file.
8575         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8576         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8577         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8578         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8579         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8580         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8581         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8582         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8583         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8584         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8585         * math/libm-test.inc (fdim_test_data): Expect errno setting on
8586         overflow.  Add sNaN tests.
8588         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8589         fpclassify.
8590         * math/s_fdimf.c (__fdimf): Likewise.
8591         * math/s_fdiml.c (__fdiml): Likewise.
8593 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8595         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8596         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8598         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8599         ifunc'ed strcasecmp/strncasecmp.
8600         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8601         [EALIGN]: Removed.
8602         [END]: Likewise.
8603         [__strcasecmp]: Define instead of the above to control symbol name.
8604         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8605         for __strcasecmp_power8.
8606         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8607         for __strncasecmp_power8.
8608         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8609         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8610         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8611         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8612         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8613         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8615 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
8617         [BZ #20252]
8618         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8619         arguments when second argument is a NaN.
8620         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8621         qNaN tests.
8623         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8624         (conj_test_data): Likewise.
8625         (copysign_test_data): Likewise.
8626         (creal_test_data): Likewise.
8627         (fma_test_data): Likewise.
8628         (fmod_test_data): Likewise.
8630         [BZ #20250]
8631         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8632         itself.
8633         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8634         zero input to itself.
8635         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8636         Likewise.
8637         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8638         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8639         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8640         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8641         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8643 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8645         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8646         * nptl/tst-cancel4-common.c: New file.
8647         * nptl/tst-cancel4-common.h: Likewise.
8648         * nptl/tst-cancel4.c: Move common definitions to
8649         tst-cancel4-common.{c,h} file.
8650         * nptl/tst-cancel4_1.c: New test.
8651         * nptl/tst-cancel4_2.c: New test.
8653 2016-06-13  Florian Weimer  <fweimer@redhat.com>
8655         [BZ #20248]
8656         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8657         (write_message): New function.
8658         (stackoverflow_handler): Call it instead of printf, to avoid
8659         excessive stack usage by printf.
8660         (do_test): Restore SIGSEGV, SIGBUS default handlers.
8662 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8664         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8665         (prio_inherit_missing): Remove define.
8666         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8667         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8668         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8669         Likewise.
8670         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8671         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8672         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8673         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8674         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8675         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8677 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8679         [BZ #19670]
8680         [BZ #19672]
8682         * io/test-lfs.c (do_prepare): Use xmalloc.
8683         * io/tst-fcntl.c (do_prepare): Likewise.
8684         * libio/tst-fopenloc.c (do_bz17916): Likewise.
8685         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8686         * login/tst-utmp.c (do_prepare): Likewise.
8687         * posix/tst-exec.c (do_prepare): Likewise.
8688         * posix/tst-pathconf.c (prepare): Likewise.
8689         * posix/tst-spawn.c (do_prepare): Likewise.
8690         * posix/tst-truncate.c (do_prepare): Likewise.
8691         * rt/tst-aio.c (do_prepare): Likewise.
8692         * rt/tst-aio64.c (do_prepare): Likewise.
8694 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8696         [BZ #20237]
8697         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8698         (get*ent): Set entidx to NULL during initialization.  If entidx is
8699         NULL, start iteration from the beginning.
8701 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8703         * malloc/malloc.c (musable): Return correct size for dumped fake
8704         mmapped chunk.
8706 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8708         [BZ #20222]
8709         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8710         (_IO_cookie_write): Likewise.
8711         (_IO_cookie_seek): Likewise.
8712         (_IO_cookie_close): Likewise.
8713         (_IO_old_cookie_seek): Likewise.
8714         (set_callbacks): New function.
8715         (_IO_cookie_init): Call set_callbacks to copy callbacks.
8717 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
8719         * locale/programs/localedef.c (oldstyle_tables): Remove.
8720         * locale/programs/localedef.h (oldstyle_tables): Likewise.
8722 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
8724         [BZ #20240]
8725         * math/Makefile (CFLAGS-s_modf.c): New variable.
8726         (CFLAGS-s_modff.c): Likewise.
8727         (CFLAGS-s_modfl.c): Likewise.
8728         * math/libm-test.inc (modf_test_data): Add sNaN tests.
8730 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
8732         [BZ #20215]
8733         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8734         [!__GNUC_PREREQ (3,2)]: Likewise.
8736 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8738         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8739         (msghdr.msg_controllen): Likewise.
8740         (cmsghdr.cmsg_len): Likewise.
8741         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8742         ptw-oldsendmsg.
8743         (CFLAGS-oldrecvmsg.c): Remove rule.
8744         (CFLAGS-oldsendmsg.c): Likewise.
8745         (CFLAGS-recvmsg.c): Add rule.
8746         (CFLAGS-sendmsg.c): Likewise.
8747         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8748         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8749         (CFLAGS-recvmsg.c): Remove rule.
8750         (CFLAGS-sendmsg.c): Likewise.
8751         (CFLAGS-oldrecvmsg.c): Likewise.
8752         (CFLAGS-oldsendmsg.c): Likewise.
8753         (CFLAGS-recvmmsg.c): Likewise.
8754         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8755         to kernel defined interfaces.
8756         (msghdr.msg_controllen): Likewise.
8757         (cmsghdr.cmsg_len): Likewise.
8758         (msghdr.__glibc_reserved1): Remove member.
8759         (msghdr.__glibc_reserved2): Likewise.
8760         (cmsghdr.__glibc_reserved1): Likewise.
8761         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8762         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8763         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8764         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8765         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8766         version.
8767         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8768         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8769         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8770         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8771         Remove recvmsg and sendmsg.
8772         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8773         Likewise.
8774         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8775         Likewise.
8776         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8777         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8778         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8779         Likewise.
8780         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8781         Likewise.
8782         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8783         [libc] (GLIBC_2.24): Likewise.
8784         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8785         Likewise.
8786         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8787         Likewise.
8788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8789         [libc] (GLIBC_2.24): Likewise.
8790         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8791         Likewise.
8792         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8793         Likewise.
8794         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8795         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8796         Likewise.
8797         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8798         Likewise.
8799         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8800         Likewise.
8801         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8802         Likewise.
8803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8804         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8805         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8806         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8807         version for {recv,send,recm,sendm}msg.
8808         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8809         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8810         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8811         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8812         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8813         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8814         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8815         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8816         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8817         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8818         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8819         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8821         Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8823         Likewise.
8824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8826         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8827         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8828         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8829         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8830         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8831         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8834         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8835         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8836         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8838 2016-06-10  Florian Weimer  <fweimer@redhat.com>
8840         [BZ #19564]
8841         Remove __malloc_initialize_hook from the API.
8842         * malloc/malloc.h (__malloc_initialize_hook): Remove.
8843         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8844         #pragma GCC poison.
8845         * malloc/malloc-hooks.h: New file.
8846         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8847         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8848         (old__malloc_initialize_hook): Rename from
8849         __malloc_initialize_hook to evade poisoning.  Turn into compat
8850         symbol.
8851         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8852         __malloc_initialize_hook.
8853         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8854         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8855         * manual/memory.texi (Hooks for Malloc): Remove
8856         __malloc_initialize_hook.  Adjust hook example.
8858 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
8860         [BZ #20235]
8861         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8862         itself.
8863         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8864         * math/libm-test.inc (log2_test_data): Add sNaN tests.
8866         [BZ #20234]
8867         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8868         infinity or NaN input to itself.
8870         [BZ #20233]
8871         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
8872         to itself.
8874         [BZ #20232]
8875         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
8876         itself.
8878 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8880         * sysdeps/x86_64/start.S (_start): Always indirect branch to
8881         __libc_start_main via GOT.
8883 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8885         * sysdeps/x86_64/memcopy.h: New file.
8886         * sysdeps/x86_64/wordcopy.c: Likewise.
8888 2016-06-09  Florian Weimer  <fweimer@redhat.com>
8890         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
8891         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
8892         <cstdlib>.
8893         (optimization_barrier): New.
8894         (do_test): Use it.  Call quick_exit in the global namespace.
8895         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
8896         instead of <cstdlib>, <thread>.
8897         (optimization_barrier): New.
8898         (non_main_thread): Adjust declaration.  Call optimization_barrier.
8899         Call quick_exit in the global namespace.
8900         (do_test): Call optimization_barrier.  Use pthread_create,
8901         pthread_join instead of std::thread.
8903 2016-06-09  Andreas Schwab  <schwab@suse.de>
8905         [BZ #19755]
8906         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
8907         new entries in auto-propagate mode.
8908         * nscd/grpcache.c (cache_addgr): Likewise.
8910 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8912         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
8913         New functions.
8914         (add_temp_file): Use them.
8916 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
8918         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
8920 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
8922         [BZ #20229]
8923         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
8924         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
8925         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
8927         [BZ #20228]
8928         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
8929         itself.
8930         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8931         * math/libm-test.inc (log10_test_data): Add sNaN tests.
8933         [BZ #20227]
8934         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
8935         itself.
8936         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8937         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8938         * math/libm-test.inc (log_test_data): Add sNaN tests.
8940         [BZ #20226]
8941         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
8942         itself.
8943         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8944         * math/libm-test.inc (exp_test_data): Add sNaN tests.
8945         (exp10_test_data): Likewise.
8946         (expm1_test_data): Likewise.
8948         [BZ #20225]
8949         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
8950         itself.
8951         * math/s_ldexpf.c (__ldexpf): Likewise.
8952         * math/s_ldexpl.c (__ldexpl): Likewise.
8953         * math/w_scalbln.c (__w_scalbln): Likewise.
8954         * math/w_scalblnf.c (__w_scalblnf): Likewise.
8955         * math/w_scalblnl.c (__w_scalblnl): Likewise.
8956         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
8957         (scalbln_test_data): Likewise.
8959         [BZ #20224]
8960         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
8961         argument to itself.
8962         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
8964 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
8966         [BZ #19776]
8967         * sysdeps/x86_64/memcpy.S: Make it dummy.
8968         * sysdeps/x86_64/mempcpy.S: Likewise.
8969         * sysdeps/x86_64/memmove.S: New file.
8970         * sysdeps/x86_64/memmove_chk.S: Likewise.
8971         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8972         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8973         * sysdeps/x86_64/memmove.c: Removed.
8974         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8975         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8976         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
8977         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8978         Likewise.
8979         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8980         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8982         memcpy-sse2-unaligned, memmove-avx-unaligned,
8983         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
8984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8985         (__libc_ifunc_impl_list): Replace
8986         __memmove_chk_avx512_unaligned_2 with
8987         __memmove_chk_avx512_unaligned.  Remove
8988         __memmove_chk_avx_unaligned_2.  Replace
8989         __memmove_chk_sse2_unaligned_2 with
8990         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
8991         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
8992         with __memmove_avx512_unaligned.  Replace
8993         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
8994         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
8995         with __memcpy_chk_avx512_unaligned.  Remove
8996         __memcpy_chk_avx_unaligned_2.  Replace
8997         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
8998         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
8999         Replace __memcpy_avx512_unaligned_2 with
9000         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9001         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9002         with __mempcpy_chk_avx512_unaligned.  Remove
9003         __mempcpy_chk_avx_unaligned_2.  Replace
9004         __mempcpy_chk_sse2_unaligned_2 with
9005         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9006         Replace __mempcpy_avx512_unaligned_2 with
9007         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9008         Replace __mempcpy_sse2_unaligned_2 with
9009         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9010         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9011         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9012         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9013         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9014         (ENTRY): Removed.
9015         (END): Likewise.
9016         (ENTRY_CHK): Likewise.
9017         (libc_hidden_builtin_def): Likewise.
9018         Don't include ../memcpy.S.
9019         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9020         __memcpy_chk_avx512_unaligned_erms and
9021         __memcpy_chk_avx512_unaligned.  Use
9022         __memcpy_chk_avx_unaligned_erms and
9023         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9024         Default to __memcpy_chk_sse2_unaligned.
9025         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9026         Change function suffix from unaligned_2 to unaligned.
9027         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9028         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9029         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9030         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9031         (ENTRY): Removed.
9032         (END): Likewise.
9033         (ENTRY_CHK): Likewise.
9034         (libc_hidden_builtin_def): Likewise.
9035         Don't include ../mempcpy.S.
9036         (mempcpy): New.  Add a weak alias.
9037         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9038         __mempcpy_chk_avx512_unaligned_erms and
9039         __mempcpy_chk_avx512_unaligned.  Use
9040         __mempcpy_chk_avx_unaligned_erms and
9041         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9042         Default to __mempcpy_chk_sse2_unaligned.
9044 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9046         [BZ #19881]
9047         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9048         into ...
9049         * sysdeps/x86_64/memset.S: This.
9050         (__bzero): Removed.
9051         (__memset_tail): Likewise.
9052         (__memset_chk): Likewise.
9053         (memset): Likewise.
9054         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9055         defined.
9056         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9057         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9058         (__memset_zero_constant_len_parameter): Check SHARED instead of
9059         PIC.
9060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9061         memset-avx2 and memset-sse2-unaligned-erms.
9062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9063         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9064         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9065         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9066         (__bzero): Enabled.
9067         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9068         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9069         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9070         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9071         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9072         (memset): Removed.
9073         (__memset_chk): Likewise.
9074         (MEMSET_SYMBOL): New.
9075         (libc_hidden_builtin_def): Replace __memset_sse2 with
9076         __memset_sse2_unaligned.
9077         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9078         __memset_chk_sse2 and __memset_chk_avx2 with
9079         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9080         Use __memset_chk_sse2_unaligned_erms or
9081         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
9082         __memset_chk_avx512_unaligned_erms and
9083         __memset_chk_avx512_unaligned.
9085 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9087         * math/gen-auto-libm-test.c (fp_format_desc): remove
9088         suffix member.
9089         (output_generic_value): Remove usage of suffix member,
9090         and the resulting unuse of the fp_format argument.
9091         (output_for_one_input_case): Remove unused fp_format
9092         parameter.
9094         * math/auto-libm-test-out: Regenerate.
9096         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9097         usage with TEST_COND_ibm128.
9098         (TEST_COND_flt_32): Remove.
9099         (TEST_COND_dbl_64): Remove.
9100         (TEST_COND_ldbl_96_intel): Remove.
9101         (TEST_COND_ldbl_96_m68k): Remove.
9102         (TEST_COND_ldbl_128): Remove.
9104 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9106         * auto-libm-test-in:
9107         Replace flt-32 usage with binary32.
9108         Replace dbl-64 usage with binary64.
9109         Replace ldbl-intel-96 usage with intel96.
9110         Replace ldbl-m68k-96 usage with m68k96.
9111         Replace ldbl-128ibm usage with ibm128.
9112         Replace ldbl-128 usage with binary128.
9114         * auto-libm-test-out: Regenerate.
9116 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9118         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9119         (parse_ulps): Dynamically generate type name matching
9120         string from all_floats.
9121         (get_ulps): Generate the ulps as an array instead.
9122         (output_ulps): Dynamically compose the type based
9123         on the number of supported formats, and print
9124         the indices as type specific helper macros.
9126         * math/libm-test.inc: Remove comment about CHOOSE.
9127         (ulp_data): Generate the type in libm-test-ulps.h.
9128         (ULP_IDX): New macro.
9129         (find_ulps): Update usage of max_ulp.
9131         * math/test-double-vlen2.h (CHOOSE): Remove.
9132         * math/test-double-vlen4.h (CHOOSE): Likewise.
9133         * math/test-double-vlen8.h (CHOOSE): Likewise.
9134         * math/test-float.c (CHOOSE): Likewise.
9135         * math/test-float-finite.c (CHOOSE): Likewise.
9136         * math/test-double.c (CHOOSE): Likewise.
9137         * math/test-double-finite.c (CHOOSE): Likewise.
9138         * math/test-idouble.c (CHOOSE): Likewise.
9139         * math/test-ifloat.c (CHOOSE): Likewise.
9140         * math/test-ildoubl.c (CHOOSE): Likewise.
9141         * math/test-ldouble-finite.c (CHOOSE): Likewise.
9142         * math/test-ldouble.c (CHOOSE): Likewise.
9144         * math/test-float.h (TEST_FLOAT): Remove.
9145         * math/test-double.h (TEST_DOUBLE): Likewise.
9146         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9148 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9150         * math/gen-libm-test.pl: (apply_lit): New subroutine.
9151         (parse_args): Strip C suffix from floating point literals
9152         typed with 'f' and wrap them with LIT().
9154         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9155         (test_ff_f_data_nexttoward): Rename to
9156         (test_fj_f_data): New struct.
9157         (nexttoward_test_data): Relabel tests as
9158         TEST_fj_f instead of TEST_ff_f.
9160 2016-06-08  Florian Weimer  <fweimer@redhat.com>
9162         Emacs bug 23726.
9163         * malloc/malloc.c (dumped_main_arena_start): Update comment.
9164         (__libc_realloc): Correct size computation for dumped fake mmapped
9165         chunks.
9167 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
9169         [BZ #20219]
9170         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9171         to itself.
9172         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9174         [BZ #20218]
9175         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9176         to itself.
9177         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9179 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
9181         [BZ #20195]
9182         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9183         check to ...
9184         (init_cpu_features): Here.
9186 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
9188         [BZ #20214]
9189         * sysdeps/unix/sysv/linux/bits/in.h
9190         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9191          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9192         Define to 1.
9193         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9194          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9195         Define to 0.
9196         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9197         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9199 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
9201         [BZ #20198]
9202         * stdlib/Makefile (tests): Add tst-quick_exit, and
9203         tst-thread-quick_exit.
9204         [ifeq ($(have-cxx-thread_local),yes)]
9205         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9206         (CFLAGS-tst-thread-quick_exit.o): Likewise.
9207         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9208         (LDLIBS-tst-thread-quick_exit): Likewise.
9209         [ifneq ($(have-cxx-thread_local),yes)]
9210         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9211         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9212         If run_dtors is true call __call_tls_dtors.
9213         (exit): Call __run_exit_handlers with run_dtors set to true.
9214         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9215         definition.
9216         * stdlib/quick_exit.c (quick_exit): Remove function.
9217         (__new_quick_exit): New function.
9218         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9219         function.
9220         * stdlib/tst-quick_exit.cc: New file.
9221         * stdlib/tst-thread-quick_exit.cc: New file.
9222         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9223         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9224         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9225         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9226         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9227         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9228         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9229         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9230         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9231         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9232         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9233         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9234         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9235         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9236         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9237         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9242         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9243         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9244         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9245         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9246         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9249         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9250         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9251         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9253 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9255         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9256         a typo in comments.
9258 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9260         [BZ #20213]
9261         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9262         argument to itself.
9263         * math/libm-test.inc (asin_test_data): Add sNaN tests.
9265 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9267         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9268         required flags.
9269         (CFLAGS-pwritev64.c): Likewise.
9270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9272         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9273         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9274         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9275         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9276         syscall from auto-generation.
9277         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9278         [WORDSIZE == 64] (pwritev64): Remove macro.
9279         [!PWRITEV] (PWRITEV): Likewise.
9280         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9281         [!PWRITEV] (PWRITE): Likewise.
9282         [!PWRITEV] (OFF_T): Likewise.
9283         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9284         (LO_HI_LONG): Remove macro.
9285         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9286         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9287         (PWRITEV): Remove macro.
9288         (PWRITEV_REPLACEMENTE): Likewise.
9289         (PWRITE): Likewise.
9290         (OFF_T): Likewise.
9291         (pwritev64): New function.
9292         * nptl/tst-cancel4.c (tf_writev): Add test.
9294         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9295         required flags.
9296         (CFLAGS-preadv64.c): Likewise.
9297         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9298         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9299         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9300         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9301         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9302         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9303         syscall from auto-generation.
9304         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9305         [WORDSIZE == 64] (preadv64): Remove macro.
9306         [!PREADV] (PREADV): Likewise.
9307         [!PREADV] (PREADV_REPLACEMENT): Likewise.
9308         [!PREADV] (PREAD): Likewise.
9309         [!PREADV] (OFF_T): Likewise.
9310         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9311         (LO_HI_LONG): Remove macro.
9312         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9313         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9314         (PREADV): Remove macro.
9315         (PREADV_REPLACEMENTE): Likewise.
9316         (PREAD): Likewise.
9317         (OFF_T): Likewise.
9318         (preadv64): New function.
9319         * nptl/tst-cancel4.c (tf_preadv): Add test.
9321 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9323         [BZ #20212]
9324         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9325         argument to itself.
9326         * math/libm-test.inc (acos_test_data): Add sNaN tests.
9328 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9330         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9331         New symbol defined as libc_hidden_def.
9332         (strcasestr): Became a weak alias to __strcasestr.
9333         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9334         according to multi-arch support.  Move __stpncpy hidden
9335         definition from here to...
9336         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
9337         symbol stpncpy.
9338         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9339         libc_hidden_builtin_def.
9340         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9341         memset symbol to use when multi-arch support is available.
9343 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9345         * dlfcn/tst-rec-dlopen.c: Include string.h.
9347 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9349         * manual/install.texi: Remove mention of --without-tls
9350         * INSTALL: Regenerate.
9352 2016-06-05  Florian Weimer  <fweimer@redhat.com>
9354         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9355         Remove.
9356         (call_function, interposed_malloc_called): New variables.
9357         (malloc): New function.
9358         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
9359         and clear call_function as needed.
9361 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
9363         * include/wchar.h (__wmemset): Use __typeof.
9365 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
9367         * include/wchar.h (__wmemset): Declare function without typeof.
9369 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
9371         [BZ #20205]
9372         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9373         exponent when incrementing negative subnormal with low mantissa
9374         word zero.
9375         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9376         Add another test.
9378 2016-06-03  Florian Weimer  <fweimer@redhat.com>
9380         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9381         __wmemset instead of wmemset.
9383 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
9385         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9386         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9387         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9388         __USE_KERNEL_IPV6_DEFS to 0.
9389         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9390         Update comment.
9392 2016-06-01  Florian Weimer  <fweimer@redhat.com>
9394         [BZ #19861]
9395         Do not use IFUNC resolver with potentially unrelocated symbol.
9396         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9397         (DEFINE_FORK): Remove macro and inline definition.
9398         (fork_alias): Renamed from fork_ifunc.
9399         (__fork_alias): Renamed from __fork_ifunc.
9401 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
9403         [BZ 19653]
9404         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9405         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9407 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9409         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9410         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9411         i386-linux-gnu).
9412         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9413         Set to no.
9414         * sysdeps/mach/hurd/configure: Refresh.
9416 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9418         [BZ #20178]
9419         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9420         on failure instead of exit.
9422 2016-05-30  Roland McGrath  <roland@hack.frob.com>
9424         [BZ #3629]
9425         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9426         of POSIX.1-2008.
9428 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9430         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9431           Use PLT entry for calling _hurd_self_sigstate.
9433 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
9435         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9436         available logical processors with SMT level type sharing L2
9437         cache for Intel processors.
9439 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9441         [BZ #20160]
9442         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9443         argument to itself before returning the result.
9444         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9445         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9446         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9447         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9448         Likewise.
9449         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9450         Likewise.
9451         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9452         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9453         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9454         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9455         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9456         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9458         [BZ #20160]
9459         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9460         argument to itself before returning the result.
9461         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9462         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9463         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9464         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9465         Likewise.
9466         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9467         Likewise.
9468         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9469         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9470         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9471         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9472         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9473         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9475 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9477         * libm-test.inc: Replace usage of M_El with
9478         (lit_e): New macro.
9480 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9482         * libm-test.inc: Replace usage of M_PI_4l with
9483         (lit_pi_4_d): New macro.
9485 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9487         * libm-test.inc: Replace usage of M_PIl with
9488         (lit_pi): New macro.
9490 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9492         * libm-test.inc: Replace usage of M_PI2l with
9493         (lit_pi_2_d): New macro.
9495         * math/test-double.h (LITM): New macro.
9496         * math/test-float.h (LITM): Likewise.
9497         * math/test-ldouble.h (LITM): Likewise.
9499 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9501         * libm-test.inc (M_PI_34l): Rename to
9502         (lit_pi_3_m_4_d): New Macro.
9503         (M_PI_34_LOG10El): Rename to
9504         (lit_pi_3_m_4_ln10_m_d): New Macro.
9505         (M_PI2_LOG10El): Rename to
9506         (lit_pi_2_ln10_m_d):  New Macro.
9507         (M_PI4_LOG10El): Rename to
9508         (lit_pi_4_ln10_m_d):  New Macro.
9509         (M_PI_LOG10El): Rename to
9510         (lit_pi_ln10_d):  New Macro.
9512 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9514         [BZ #20157]
9515         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9516         determine whether to negate low half if [_ARCH_PPCGR], and integer
9517         comparison otherwise.
9518         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9519         determine whether to negate low half.
9521         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9522         (NO_TEST_INLINE_DOUBLE): Likewise.
9523         (TEST_COND_x86_64): Likewise.
9524         (TEST_COND_x86): Likewise.
9525         (M_PI_6l): Likewise.
9527 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9529         * math/libm-test.inc:
9530         (TEST_FLOAT): Change usage to TEST_COND_binary32.
9531         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9532         (TEST_LDOUBLE): Update usage to evaluate as true if
9533         the guarded tests match the property being tested.
9534         (LDBL_MAX_EXP): Change to MAX_EXP.
9535         (LDBL_MIN_EXP): Change to MIN_EXP.
9536         (LDBL_MANT_DIG): Change to MANT_DIG, except for
9537         nexttoward tests.
9539 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9541         * math/libm-test.inc:
9542         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9543         (TYPE_MIN): Likewise.
9544         (TYPE_TRUE_MIN): Likewise.
9545         (TYPE_MAX): Likewise.
9546         (MIN_EXP): Likewise.
9547         (MAX_EXP): Likewise.
9548         (MANT_DIG): Likewise.
9550         (FSTR_MAX): New macro.
9551         (__CONCATX): Likewise.
9552         (QTYPE_STR): Likewise.
9553         (TEST_COND_binary32): Likewise.
9554         (TEST_COND_binary64): Likewise.
9555         (TEST_COND_binary128): Likewise.
9556         (TEST_COND_ibm128): Likewise.
9557         (TEST_COND_intel96): Likewise.
9558         (TEST_COND_m68k96): Likewise.
9560         (TEST_COND_flt_32): Redefine as equivalent format test macro.
9561         (TEST_COND_dbl_64): Likewise.
9562         (TEST_COND_ldbl_96_intel): Likewise.
9563         (TEST_COND_ldbl_96_m68k): Likewise.
9564         (TEST_COND_ldbl_128): Likewise.
9565         (TEST_COND_ldbl_128ibm): Likewise.
9567         (plus_zero): Redefine using LIT macro.
9568         (minus_zero): Likewise.
9569         (plus_infty): Redefine as (INF).
9570         (minux_infty): Redefine as (-INF).
9571         (max_value): Redefine as TYPE_MAX.
9572         (min_value): Redefine as TYPE_MIN.
9573         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9575         (print_float): Refactor to use snprintf to convert FLOAT values
9576         to string. This brings it closer to dropin replacement of strtof
9577         for the TS 18661 defined types.
9578         (update_stats): Likewise.
9579         (print_complex_function_ulps): Likewise.
9580         (print_max_error): Likewise.
9581         (print_complex_max_error): Likewise.
9582         (check_float_internal): Likewise.
9584         * math/test-float.h (PREFIX): New macro.
9585         (LIT): Likewise.
9586         (TYPE_STR): Likewise.
9587         (FTOSTR): Likewise.
9589         * math/test-double.h (PREFIX): New macro.
9590         (LIT): Likewise.
9591         (TYPE_STR): Likewise.
9592         (FTOSTR): Likewise.
9594         * math/test-ldouble.h (PREFIX): New macro.
9595         (LIT): Likewise.
9596         (TYPE_STR): Likewise.
9597         (FTOSTR): Likewise.
9599 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9601         [BZ #20156]
9602         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9603         to itself when zero or not finite.
9604         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9605         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9606         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9607         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9609 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
9611         [BZ #20153]
9612         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9613         x * x + x for infinities and NaNs.
9615         [BZ #20151]
9616         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9617         argument to itself before returning result.
9618         (__ieee754_y0l): Likewise.
9619         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9620         (__ieee754_y1l).
9622         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9623         (atan_test_data): Likewise.
9624         (ceil_test_data): Likewise.
9625         (cos_test_data): Likewise.
9626         (cosh_test_data): Likewise.
9627         (erf_test_data): Likewise.
9628         (exp2_test_data): Likewise.
9629         (fabs_test_data): Likewise.
9630         (floor_test_data): Likewise.
9631         (ilogb_test_data): Likewise.
9632         (j0_test_data): Likewise.
9633         (j1_test_data): Likewise.
9634         (jn_test_data): Likewise.
9635         (lgamma_test_data): Likewise.
9636         (lrint_test_data): Likewise.
9637         (llrint_test_data): Likewise.
9638         (logb_test_data): Likewise.
9639         (lround_test_data): Likewise.
9640         (llround_test_data): Likewise.
9641         (nearbyint_test_data): Likewise.
9642         (rint_test_data): Likewise.
9643         (round_test_data): Likewise.
9644         (sin_test_data): Likewise.
9645         (sincos_test_data): Likewise.
9646         (sinh_test_data): Likewise.
9647         (sqrt_test_data): Likewise.
9648         (tan_test_data): Likewise.
9649         (tanh_test_data): Likewise.
9650         (tgamma_test_data): Likewise.
9651         (trunc_test_data): Likewise.
9652         (y0_test_data): Likewise.
9653         (y1_test_data): Likewise.
9654         (yn_test_data): Likewise.
9656         * math/libm-test.inc: Update comment about NaN testing.
9657         (TEST_SNAN): New macro.
9658         (snan_value): Likewise.
9659         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9660         (fpclassify_test_data): Add sNaN tests.
9661         (isfinite_test_data): Likewise.
9662         (isinf_test_data): Likewise.
9663         (isnan_test_data): Likewise.
9664         (isnormal_test_data): Likewise.
9665         (issignaling_test_data): Likewise.
9666         (signbit_test_data): Likewise.
9667         * math/gen-libm-test.pl (%beautify): Add snan_value.
9668         (show_exceptions): Add argument $test_snan.
9669         (parse_args): Handle snan_value as non-finite.  Update call to
9670         show_exceptions.
9671         * math/Makefile (libm-test-no-inline-cflags): Add
9672         -fsignaling-nans.
9674 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9676         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9677         (CFLAGS-oldsendmsg.c): Add rule.
9678         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9679         Correct recvmsg symbol name.
9680         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9681         Likewise.
9683 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9685         * sysdeps/unix/sysv/linux/Makefile
9686         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9687         oldsendmmsg.
9688         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9689         sendmmsg.
9690         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9691         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9692         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9693         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9695         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9696         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9698         Likewise.
9699         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9700         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9701         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9702         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9703         iovlen and controllen fields to adjust to POSIX specification.
9704         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9706         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9707         and change to correct expected type.
9708         (msghdr.msg_controllen): Likewise.
9709         (cmsghdr.cmsg_len): Likewise.
9710         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9711         expected POSIX assumption about the size.
9712         (msghdr.msg_controllen): Likewise.
9713         (msghdr.__glibc_reserved1): Likewise.
9714         (msghdr.__glibc_reserved2): Likewise.
9715         (cmsghdr.cmsg_len): Likewise.
9716         (cmsghdr.__glibc_reserved1): Likewise.
9717         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9718         Add ptw-oldrecvmsg and ptw-oldsendmsg.
9719         (CFLAGS-sendmsg.c): Remove rule.
9720         (CFLAGS-recvmsg.c): Likewise.
9721         (CFLAGS-oldsendmsg.c): Add rule.
9722         (CFLAGS-oldrecvmsg.c): Likewise.
9723         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9724         recvmsg and sendmsg.
9725         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9726         Likewise.
9727         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9728         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9729         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9730         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9731         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9732         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9733         Likewise.
9734         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9735         Likewise.
9736         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9737         Likewise.
9738         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9739         Likewise.
9740         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9741         Likewise.
9742         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9743         Likewise.
9744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9745         (GLIBC_2.24): Likewise.
9746         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9747         Likewise.
9748         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9749         Likewise.
9750         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9751         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9752         Likewise.
9753         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9754         Likewise.
9755         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9756         Likewise.
9757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9758         (GLIBC_2.24): Likewise.
9759         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9760         Likewise.
9761         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9762         Likewise.
9763         * sysdeps/unix/sysv/linux/Makefile
9764         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9765         (CFLAGS-sendmsg.c): Add rule.
9766         (CFLAGS-recvmsg.c): Likewise.
9767         (CFLAGS-oldsendmsg.c): Likewise.
9768         (CFLAGS-oldrecvmsg.c): Likewise.
9769         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9770         initialization.
9771         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9772         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9773         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9774         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9775         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9776         iovlen and controllen fields to adjust to POSIX specification.
9777         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9778         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9779         added recvmsg and sendmsg.
9780         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9781         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9782         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9783         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9784         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9785         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9786         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9787         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9788         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9789         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9790         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9793         Likewise.
9794         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9796         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9797         Likewise.
9798         Likewise.
9799         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9802         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9804         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9806         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9808         Likewise.
9809         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9810         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9813         from auto-generation.
9814         (sendmsg): Likewise.
9815         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9816         (sendmsg): Likewise.
9817         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9818         (sendmsg): Likewise.
9819         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9820         (sendmsg): Likewise.
9821         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9822         (sendmsg): Likewise.
9823         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9824         (sendmsg): Likewise.
9825         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9826         Likewise.
9827         (sendmsg): Likewise.
9828         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9829         (sendmsg): Likewise.
9830         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9831         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9832         Remove.
9833         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9834         Likewise.
9835         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9836         Undefine.
9837         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9838         Likewise.
9839         * sysdeps/unix/sysv/linux/kernel-features.h
9840         (__ASSUME_SENDMSG_SYSCALL): Define.
9841         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9842         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9843         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9844         Remove.
9845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9846         Likewise.
9847         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9848         Undefine.
9849         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9850         Likewise.
9851         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9852         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9853         Remove.
9854         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9855         Likewise.
9856         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9857         Undefine.
9858         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9859         Likewise.
9860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9861         (__ASSUME_SENDMSG_SYSCALL): Undefine.
9862         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9863         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9864         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9865         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9866         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9867         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9868         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9870 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9872         * stdlib/gen-tst-strtod-round.c: Add backslash to
9873         compile command in comment.
9874         (printfp): Remove the literal suffix, and define an infinite
9875         value as INF to avoid expansion clash with INFINITY.
9876         (round_str): Remove the literal suffix.
9877         (round_for_all): Likewise, remove the now duplicate ldbl-64
9878         entry, and remove some magic constants.
9880         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
9881         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
9882         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
9883         (_CONCAT): New macro.
9884         (CONCAT): Likewise.
9885         (CHOOSE_ld): Likewise.
9886         (CHOOSE_f): Likewise.
9887         (CHOOSE_d): Likewise.
9888         (FTYPE_MEMBER): Likewise.
9889         (BOOL_MEMBER): Likewise.
9890         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
9891         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
9892         (_XNTRY): Likewise.
9893         (XNTRY): Likewise.
9894         (_ENTRY): Likewise.
9895         (ENTRY): Likewise.
9896         (test_exactness): Generate members via macro.
9897         (test_results): Likewise.
9898         (test): Update members.
9899         (TEST): Redefine using new macros.
9900         (INF): New macro.
9901         (fetestmodes): New structure.
9902         (do_test): Refactor to be type generic.
9903         (test_in_one_mode): Refactor duplicate code into
9904         (GEN_ONE_TEST): New macro.
9906         * stdlib/tst-strtod-round-data.h: Regenerate.
9908         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
9909         Extend to pass additional arbitrary parameters to
9910         generators.
9912 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
9914         [BZ #15479]
9915         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
9916         floating-point state after first floating-point operation on
9917         input.  Restore full floating-point state instead of just rounding
9918         mode.
9919         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9920         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9921         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9922         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9923         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9925         [BZ #15479]
9926         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
9927         floating-point state after first floating-point operation on
9928         input.  Restore full floating-point state instead of just rounding
9929         mode.
9930         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9931         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9932         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9933         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9934         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9936 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9938         [BZ #19727]
9939         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
9940         valid high surrogate.
9941         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
9942         of an utf16 surrogate.
9943         * iconv/gconv_simple.c (BODY): Likewise.
9944         * iconvdata/bug-iconv12.c: New file.
9945         * iconvdata/Makefile (tests): Add bug-iconv12.
9947 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9949         [BZ #19726]
9950         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
9951         outptrp in case of an illegal input.
9952         * iconv/tst-iconv6.c: New file.
9953         * iconv/Makefile (tests): Add tst-iconv6.
9955 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9957         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
9958         an error in case of a value in range of an utf16 low surrogate.
9960 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9962         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
9963         an error in case of a value in range of an utf16 low surrogate.
9965 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9967         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
9968         Move to ...
9969         * sysdeps/s390/Makefile: ... here.
9970         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
9971         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
9972         (BRANCH_ON_COUNT): New define.
9973         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
9974         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
9975         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
9976         run on s390-32, too.
9977         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
9978         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
9979         run on s390-32, too.
9980         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
9981         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
9982         run on s390-32, too.
9984 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9986         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
9987         etf3eh or new vector loop-variant.
9989 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9991         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
9992         etf3eh or new vector loop-variant.
9994 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9996         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
9997         or new vector loop-variant.
9999 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10001         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10002         Rename to TR_LOOP and usage of tr instead of troo instruction.
10004 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10006         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10007         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10009 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10011         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10012         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10013         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10014         New override define.
10015         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10017 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10019         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10020         * sysdeps/s390/configure.ac: Add test for S390 vector register
10021         support in gcc.
10022         * sysdeps/s390/configure: Regenerated.
10024 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10026         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10027         Install file from $(objpfx)gconv-modules.
10028         ($(objpfx)gconv-modules): Concatenate architecture specific file
10029         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10030         * sysdeps/s390/gconv-modules: New file.
10031         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10032         Deleted.
10033         ($(objpfx)gconv-modules-s390): Deleted.
10034         (sysdeps-gconv-modules): New variable.
10036 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10038         [BZ #15479]
10039         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10040         of immediate operand to rounding instruction.
10041         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10042         Likewise.
10043         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10044         Likewise.
10045         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10046         Likewise.
10048 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10050         * math/libm-test.inc (MIN_EXP): Directly define as
10051         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10053 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10055         * math/libm-test.inc (MANT_DIG): Directly define as
10056         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10058 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10060         * stdlib/gen-tst-strtod-round.c (main):
10061           Change usage to more closely match the generated
10062           output.  Add usage and compilation instructions.
10063           (string_to_fp): Add and use FILE* parameter as
10064           output target.
10065           (print_fp): Likewise.
10066           (round_str): Likewise.
10067           (round_for_all): Likewise.
10068         * stdlib/tst-strtod-round.c (tests): Move into
10069         * stdlib/tst-strtod-round-data.h: New file.
10071 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10073         [BZ #15479]
10074         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10075         (__round): Do not force "inexact" exception.
10076         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10077         variable.
10078         (__round): Do not force "inexact" exception.
10079         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10080         (__roundf): Do not force "inexact" exception.
10081         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10082         (__roundl): Do not force "inexact" exception.
10083         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10084         (__roundl): Do not force "inexact" exception.
10085         * math/libm-test.inc (round_test_data): Do not allow spurious
10086         "inexact" exceptions.
10088         [BZ #15479]
10089         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10090         exception in comment.
10091         (huge): Remove variable.
10092         (__floor): Do not force "inexact" exception.
10093         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10094         "inexact" exception in comment.
10095         (huge): Remove variable.
10096         (__floor): Do not force "inexact" exception.
10097         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10098         exception in comment.
10099         (huge): Remove variable.
10100         (__floorf): Do not force "inexact" exception.
10101         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10102         exception in comment.
10103         (huge): Remove variable.
10104         (__floorl): Do not force "inexact" exception.
10106         [BZ #15479]
10107         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10108         exception in comment.
10109         (huge): Remove variable.
10110         (__ceil): Do not force "inexact" exception.
10111         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10112         "inexact" exception in comment.
10113         (huge): Remove variable.
10114         (__ceil): Do not force "inexact" exception.
10115         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10116         (__ceilf): Do not force "inexact" exception.
10117         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10118         exception in comment.
10119         (huge): Remove variable.
10120         (__ceill): Do not force "inexact" exception.
10122 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10124         * config.h.in (BIND_NOW): New.
10125         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
10126         * configure: Regenerated.
10127         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10128         indirect branch via the GOT slot.
10130 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10132         [BZ #19765]
10133         * sysdeps/s390/mempcpy.S: New File.
10134         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10136         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10137         Add mempcpy variants.
10138         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10139         (memcpy): Adjust to be usable from mempcpy entry point.
10140         (__memcpy_mvcle): Likewise.
10141         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10142         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10143         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10144         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10145         (__memcpy_z10): Likewise.
10146         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10148 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10150         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10151         Remove __GI_ symbol.
10152         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10153         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10154         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10155         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10156         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10157         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10159 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10161         * sysdeps/s390/s390-64/memcpy.S (memcpy):
10162         Use cghi instead of chi to compare 64bit value.
10164 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10166         * sysdeps/s390/s390-32/memcpy.S (memcpy):
10167         Jump to 1MB check before executing mvc-loop.
10169 2016-05-24  Florian Weimer  <fweimer@redhat.com>
10171         [BZ #6527]
10172         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10173         unconditionally.
10174         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10176 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10178         * stdlib/tst-strtod6.c (do_test): Use new type generic
10179         invocation of the test function.
10180         (test): Refactor into ...
10181         (TEST_STRTOD): New macro base function.
10183 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10185         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10186         (TEST_STRTOD): New macro.
10187         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10189 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10191         * stdlib/tst-strtod6.c (do_test): Use new type generic
10192         invocation of the test function.
10193         (test): Refactor into ...
10194         (TEST_STRTOD): New macro base function.
10196 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10198         CVE-2016-4429
10199         [BZ #20112]
10200         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10201         payload.
10203 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10205         [BZ #20111]
10206         * bits/sockaddr.h (_SS_SIZE): Define.
10207         * bits/socket.h (_SS_SIZE): Remove.
10208         (_SS_PADSIZE): Adjust to account for all padding.
10209         (struct sockaddr_storage): Update comment.  Avoid implicit
10210         padding.
10211         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10212         (_SS_PADSIZE): Adjust to account for all padding.
10213         (struct sockaddr_storage): Update comment.  Avoid implicit
10214         padding.
10215         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10216         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10217         (_SS_PADSIZE): Adjust to account for all padding.
10218         (struct sockaddr_storage): Update comment.  Avoid implicit
10219         padding.
10220         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10221         __SS_SIZE is 126 in this version.
10222         * inet/tst-sockaddr.c: New file.
10223         * inet/Makefile (tests): Add tst-sockaddr.c
10224         (tst-sockaddr.c): Compile with non-strict aliasing.
10226 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
10228         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10229         [XPG3 || XPG4].
10230         (NL_ARGMAX): Also expect for [XPG3].
10231         (NL_LANGMAX): Likewise.
10232         (NL_MSGMAX): Likewise.
10233         (NL_NMAX): Likewise.
10234         (NL_SETMAX): Likewise.
10235         (NL_TEXTMAX): Likewise.
10236         (NZERO): Likewise.
10237         (TMP_MAX): Likewise.
10238         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10239         variable.
10241         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10242         (PF_MAX): Update value.
10243         (AF_KCM): New macro.
10244         (SOL_NETBEUI): Likewise.
10245         (SOL_LLC): Likewise.
10246         (SOL_DCCP): Likewise.
10247         (SOL_NETLINK): Likewise.
10248         (SOL_TIPC): Likewise.
10249         (SOL_RXRPC): Likewise.
10250         (SOL_PPPOL2TP): Likewise.
10251         (SOL_BLUETOOTH): Likewise.
10252         (SOL_PNPIPE): Likewise.
10253         (SOL_RDS): Likewise.
10254         (SOL_IUCV): Likewise.
10255         (SOL_CAIF): Likewise.
10256         (SOL_ALG): Likewise.
10257         (SOL_NFC): Likewise.
10258         (SOL_KCM): Likewise.
10259         (MSG_BATCH): New enum value and macro.
10261 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
10263         [BZ #18185]
10264         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10265         sharing L2 cache to 2 for Knights Landing.
10267 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
10269         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10270         (FTW_DP): Do not expect for [XPG3 || XPG4].
10271         (FTW_SL): Do not expect for [XPG3].
10272         (FTW_SLN): Likewise.
10273         (FTW_PHYS): Likewise.
10274         (FTW_MOUNT): Likewise.
10275         (FTW_DEPTH): Likewise.
10276         (FTW_CHDIR): Likewise.
10277         (nftw): Likewise.
10278         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10279         variable.
10281 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10283         * manual/errno.texi: Fix various typos & grammar errors.
10285 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10287         * manual/intro.texi: Fix duplicated typo.
10289 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10291         [BZ #13304]
10292         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10293         <float.h>, <math_private.h> and <stdlib.h>.
10294         (add_split): New function.
10295         (mul_split): Likewise.
10296         (ext_val): New typedef.
10297         (store_ext_val): New function.
10298         (mul_ext_val): New function.
10299         (compare): New function.
10300         (add_split_ext): New function.
10301         (__fmal): After checking for Inf, NaN and zero, compute result as
10302         an exact sum of scaled double values in round-to-nearest before
10303         adding those up and adjusting for other rounding modes.
10304         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10305         tests of fma.
10306         * math/auto-libm-test-out: Regenerated.
10308 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10310         [BZ #20119]
10311         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10312         processor level type mask for CPUID with EAX == 11.
10314 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10316         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10317         logical threads if the HTT bit is 0.
10318         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10319         (index_cpu_HTT): Likewise.
10320         (reg_HTT): Likewise.
10322 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10324         [BZ #20115]
10325         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10326         Remove alignments on jump targets.
10328 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10330         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10331         (getpwent): Likewise.
10332         (setpwent): Likewise.
10333         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10334         variable.
10336         * conform/data/search.h-data (insque): Do not expect for [XPG3].
10337         (remque): Likewise.
10338         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10339         variable.
10341 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10343         * math/libm-test.inc: Update comment not to refer to signs of NaNs
10344         not being tested.
10346 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10348         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10349         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
10350         call.
10351         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10352         (__condvar_cleanup1): Likewise.
10354 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10356         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10357         New
10358         (__pthread_unwind): Renamed to ...
10359         (PTHREAD_UNWIND): This.
10360         (__pthread_enable_asynccancel): Replace
10361         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10363 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10365         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10366         (CLONE_NEWCGROUP): New macro.
10368         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10369         (Q_GETNEXTQUOTA): New macro.
10371 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10373         [BZ #19907]
10374         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10375         buffer updated by the previous run.
10376         * string/test-memcpy.c (do_one_test): Likewise.
10377         * benchtests/bench-memmove.c (do_one_test): Add a comment.
10378         * string/test-memmove.c (do_one_test): Likewise.
10380 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
10382         [BZ #20094]
10383         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10384         not [__USE_XOPEN].
10385         (unlockpt): Likewise.
10386         (ptsname): Likewise.
10387         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10388         variable.
10390         [BZ #20076]
10391         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10392         instead of [__USE_UNIX98].
10393         (S_ISSOCK): Likewise.
10394         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10395         variable.
10397         [BZ #20074]
10398         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10399         [__USE_POSIX].
10400         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10401         variable.
10403         [BZ #20051]
10404         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10405         (ttyslot): Do not declare.
10406         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10407         (ttyslot): New prototype.
10408         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10409         variable.
10410         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10412 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10414         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10416 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10418         Fix race condition in tst-mallocfork2, use fewer resources.
10419         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10420         to current process group.
10421         (signal_sender): Yield in the non-sleeping case.
10423 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
10425         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10426         (ecvt): Likewise.
10427         (fcvt): Likewise.
10428         (gcvt): Likewise.
10429         (getsubopt): Likewise.
10430         (grantpt): Likewise.
10431         (initstate): Likewise.
10432         (l64a): Likewise.
10433         (mktemp): Likewise.
10434         (mkstemp): Likewise.
10435         (ptsname): Likewise.
10436         (random): Likewise.
10437         (realpath): Likewise.
10438         (setstate): Likewise.
10439         (srandom): Likewise.
10440         (ttyslot): Likewise.
10441         (unlockpt): Likewise.
10442         (valloc): Likewise.
10444         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10445         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10446         variable.
10448 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10450         [BZ #20072]
10451         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10452         init_cpu_features only if SHARED is defined.
10453         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10455 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10457         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10458         non-inclusive caches on Intel processors.
10460 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10462         * malloc/malloc.c (dumped_main_arena_start)
10463         (dumped_main_arena_end): New variables.
10464         (DUMPED_MAIN_ARENA_CHUNK): New macro.
10465         (do_check_chunk): Skip dumped fake mmapped chunks.
10466         (munmap_chunk): Likewise.
10467         (__libc_free): Do not adjust statistics for fake mmapped chunks.
10468         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
10469         mmapped chunks.
10470         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10471         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
10472         and dumped_main_arena_end to cover the dumped heap.
10474 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
10476         * conform/data/time.h-data (getdate_err): Do not expect for
10477         [XPG3].
10478         (getdate): Likewise.
10479         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10480         variable.
10482         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10483         (F_ULOCK): Likewise.
10484         (F_TEST): Likewise.
10485         (F_TLOCK): Likewise.
10486         (useconds_t): Likewise.
10487         (intptr_t): Do not expect for [XPG3] or [XPG4].
10488         (brk): Do not expect for [XPG3]
10489         (fchown): Likewise.
10490         (fchdir): Likewise.
10491         (ftruncate): Likewise.
10492         (getdtablesize): Likewise.
10493         (gethostid): Likewise.
10494         (getpagesize): Likewise.
10495         (getpgid): Likewise.
10496         (getsid): Likewise.
10497         (getwd): Likewise.
10498         (lchown): Likewise.
10499         (lockf): Likewise.
10500         (readlink): Likewise.
10501         (sbrk): Likewise.
10502         (setpgrp): Likewise.
10503         (setregid): Likewise.
10504         (setreuid): Likewise.
10505         (symlink): Likewise.
10506         (sync): Likewise.
10507         (truncate): Likewise.
10508         (ualarm): Likewise.
10509         (usleep): Likewise.
10510         (vfork): Likewise.
10511         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10512         variable.
10514         [BZ #20054]
10515         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10516         not [__USE_UNIX98].
10517         * conform/data/unistd.h-data (gethostname): Do not expect for
10518         [XPG3].
10520         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10521         [!POSIX] (S_IFBLK): Likewise.
10522         [!POSIX] (S_IFCHR): Likewise.
10523         [!POSIX] (S_IFIFO): Likewise.
10524         [!POSIX] (S_IFREG): Likewise.
10525         [!POSIX] (S_IFDIR): Likewise.
10526         [!POSIX] (S_IFLNK): Likewise.
10527         [!POSIX] (S_IFSOCK): Likewise.
10528         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10529         variable.
10530         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10532 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
10534         * sysdeps/aarch64/memset.S (__memset):
10535         Rewrite of optimized memset.
10537 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10539         [BZ #19703]
10540         Partially async-signal-safe fork for single-threaded processes.
10541         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10542         variable.  Do not acquire and reset/release malloc and libio locks
10543         in single-threaded processes.
10544         * malloc/tst-mallocfork2.c: New file.
10545         * malloc/Makefile (tests): Add it.
10547 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10549         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10550         argument.  Use scratch buffer instead of extend_alloca.
10551         (gethosts): Use scratch buffer instead of extend_alloca.
10552         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
10553         extend_alloca.
10554         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10556 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
10558         [BZ #20055]
10559         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10560         instead of [__USE_UNIX98].
10561         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10562         [__USE_UNIX98].
10563         * conform/data/termios.h-data (tcgetsid): Do not expect for
10564         [XPG3].
10565         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10566         variable.
10567         (test-xfail-XPG4/termios.h/conform): Likewise.
10569 2016-05-11  Florian Weimer  <fweimer@redhat.com>
10571         Do not use mcheck in localedef.
10572         * locale/programs/localedef.c (turn_on_mcheck)
10573         (__malloc_initialize_hook): Remove.
10575 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10577         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10578         * sysdeps/s390/s390-64/Makefile: Likewise.
10580 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10582         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10583         Remove ifunc-defines.sym.
10584         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10585         Likewise.
10586         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10587         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10588         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10589         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10590         rtld-global-offsets.sym.
10591         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10592         * sysdeps/x86/cpu-features-offsets.sym: This.
10593         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10594         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10596 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
10598         [BZ #20073]
10599         * io/sys/stat.h (fchmod): Declare for
10600         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10601         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10602         variable.
10604         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10605         [XPG3] (S_IFSOCK): Likewise.
10606         [XPG3] (S_ISVTX): Likewise.
10607         [XPG3] (S_ISLNK): Likewise.
10608         [XPG3] (S_ISSOCK): Likewise.
10609         [XPG3] (fchmod): Likewise.
10610         [XPG3] (lstat): Likewise.
10611         [XPG3] (mknod): Likewise.
10613         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10614         [XPG3].  Expect type long and XFAIL for [XPG4].
10615         (st_blocks): Likewise.
10617         [BZ #20044]
10618         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10619         (pthread_atfork): New prototype.
10620         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10621         variable.
10623         [BZ #20043]
10624         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10625         prototype.
10627 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10629         [BZ #20017]
10630         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10631         gmtime.
10633 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10635         [BZ #19994]
10636         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10637         flag in _res.options.
10639 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
10641         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10642         [XPG3 || XPG4].
10643         (blksize_t): Likewise.
10644         (clockid_t): Likewise.
10645         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10646         variable.
10647         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10649 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10651         * sysdeps/unix/sysv/linux/s390/init-first.c:
10652         Add VDSO_SYMBOL(getcpu).
10653         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10654         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10655         Add VDSO_SYMBOL(getcpu).
10656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10657         New define HAVE_GETCPU_VSYSCALL.
10658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10660 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10662         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10663         instead of <sysdeps/x86_64/cacheinfo.c>.
10664         * sysdeps/x86_64/cacheinfo.c: Moved to ...
10665         * sysdeps/x86/cacheinfo.c: Here.
10667 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10669         * malloc/malloc-internal.h: Adjust header file guard.
10671 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10673         [BZ #19787]
10674         * inet/getnameinfo.c (check_sprintf_result): New function.
10675         (CHECKED_SNPRINTF): New macro.
10676         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10677         to the host buffer.
10678         (gni_host_local): Use checked_copy to copy the host name.
10679         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10680         (gni_serv_local): Use checked_copy to copy the service name.
10681         (getnameinfo): Remove unnecessary truncation of result buffers.
10683 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10685         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10686         in case of inet_ntop failure.
10688 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10690         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10691         avoid long lines.
10692         (gni_host_inet_numeric): Likewise.  Reduce scope of local
10693         variables.
10694         (gni_host_inet, gni_host_local): Add comment.
10695         (gni_host): Add comment.  Use temporary to avoid long lines.
10697 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10699         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10700         registers specifiers where general purpose registers specifiers should
10701         have been used.
10703 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10705         [BZ #19779]
10706         CVE-2016-1234
10707         Avoid copying names of directory entries.
10708         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10709         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10710         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10711         (struct readdir_result): New type.
10712         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10713         (GL_READDIR): New macros.
10714         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10715         (convert_dirent, convert_dirent64): New functions.
10716         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
10717         convert_dirent64.  Adjust references to the readdir result.
10718         * sysdeps/unix/sysv/linux/i386/glob64.c:
10719         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10720         * posix/bug-glob2.c (LONG_NAME): Define.
10721         (filesystem): Add LONG_NAME.
10722         (my_DIR): Increase the size of room_for_dirent.
10724 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
10726         [BZ #20041]
10727         * misc/sys/select.h (__need_timespec): Only define if
10728         [__USE_XOPEN2K].
10729         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10730         variable.
10731         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10732         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10733         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10735 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10736             Segher Boessenkool  <segher@gcc.gnu.org>
10738         [BZ #20004]
10739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10740         (__novec_swapcontext): Add missing load.
10742 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
10744         [BZ #20023]
10745         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10746         <time.h>.
10747         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10748         variable.
10749         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10751 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10754         flags CLONE_VM compare.
10756 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10758         [BZ #20031]
10759         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10760         completely empty.
10762 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10764         [BZ #19573]
10765         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10766         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10767         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10768         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10769         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10770         (hesiod_free_list): Mark as hidden.
10771         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10772         res_set, res_get.
10773         * hesiod/hesiod.c: Remove unnecessary forward declarations.
10774         (init, __hesiod_res_get, __hesiod_res_set): Remove.
10775         (hesiod_init): Remove obsolete res_ninit call.
10776         (hesiod_end): Do not free resolver state.  Do not invoke callback.
10777         (hesiod_bind): Do not call init.
10778         (get_txt_records): Use res_mkquery, res_send instead of
10779         res_nmkquery, res_nsend.
10780         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10781         instead of _nss_hesiod_init.
10782         (_nss_hesiod_initgroups_dyn): Likewise.
10783         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10784         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10785         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10787 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10789         * hesiod/hesiod_p.h (DEF_RHS): Remove.
10790         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10792 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10794         * hesiod/hesiod.h: Remove RCS keyword.
10795         * hesiod/hesiod_p.h: Likewise.
10797         * hesiod/hesiod.c: Likewise.
10799 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
10801         [BZ #12450]
10802         * locale/iso-639.def: Add Samogitian/sgs.
10804 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10806         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10808         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10810 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
10811             Carlos O'Donell  <carlos@redhat.com>
10813         [BZ #19072]
10814         * grp/Makefile (headers): Add grp-merge.h
10815         (routines): Add grp-merge.
10816         * grp/getgrgid_r.c: Include grp-merge.h.
10817         (DEEPCOPY_FN): Define.
10818         (MERGE_FN): Define.
10819         * grp/getgrname_r.c: Include grp-merge.h.
10820         (DEEPCOPY_FN): Define.
10821         (MERGE_FN): Define.
10822         * grp/grp-merge.c: New file.
10823         * grp/grp-merge.h: New file.
10824         * include/grp-merge.h: New file.
10825         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10826         __copy_grp@GLIBC_PRIVATE.
10827         * manual/nss.texi (Actions in the NSS configuration): Describe
10828         return, continue, and merge.
10829         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10830         (DEEPCOPY_FN): Define.
10831         (MERGE_FN): Define.
10832         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10833         (DEEPCOPY_FN): Define.
10834         (MERGE_FN): Define.
10835         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10836         [!MERGE_FN]: Define __merge_einval.
10837         (CHECK_MERGE): Define.
10838         (REENTRANT_NAME): Process merge if do_merge is true.
10839         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10840         (__nss_getent_r): Likewise.
10841         * nss/nsswitch.c (nss_parse_service_list): Likewise.
10842         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10844 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10846         [BZ #20012]
10847         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10848         length to calculate the buffer to read.
10849         (fmemopen_write): Set the buffer position based on bytes written.
10850         (fmemopen_seek): Return EINVAL for invalid whence modes.
10852         [BZ #19957]
10853         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10854         tst-getpid2.
10855         (test): Add tst-clone2.
10856         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10857         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10858         pid/tid fields for CLONE_VM.
10859         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10860         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10861         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10862         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10863         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10864         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10865         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10866         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10868         Likewise.
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10870         Likewise.
10871         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10872         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10873         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10874         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10875         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10876         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10877         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10878         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
10880 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10882         [BZ #19642]
10883         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
10884         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
10885         (gni_serv_local, gni_serv): New functions extracted from
10886         getnameinfo.
10887         (getnameinfo): Call gni_host and gni_serv to perform the
10888         processing.  Always free scratch buffer.
10890 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10892         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
10893         remaining bytes in the dest string, with zeros.
10895 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10897         [BZ #20010]
10898         CVE-2016-3706
10899         * sysdeps/posix/getaddrinfo.c
10900         (convert_hostent_to_gaih_addrtuple): New function.
10901         (gethosts): Call convert_hostent_to_gaih_addrtuple.
10902         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
10903         AF_INET data.
10905 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10907         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
10908         callback function gl_readdir.
10909         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
10910         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
10911         (glob_in_dir): Remove len.  Use strdup instead of malloc and
10912         memcpy to copy the name.
10913         * manual/pattern.texi (Calling Glob): Document requirements for
10914         implementations of the gl_readdir callback function.
10915         * manual/examples/mkdirent.c: New example.
10916         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
10917         per the manual guidance.
10918         * posix/tst-gnuglob.c (my_readdir): Likewise.
10920 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
10922         [BZ #20014]
10923         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
10924         not [__USE_POSIX].
10925         (getchar_unlocked): Likewise.
10926         (putc_unlocked): Likewise.
10927         (putchar_unlocked): Likewise.
10928         (flockfile): Likewise.
10929         (ftrylockfile): Likewise.
10930         (funlockfile): Likewise.
10931         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
10932         variable.
10933         (test-xfail-XPG4/stdio.h/conform): Likewise.
10935         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
10936         Expect constant.
10937         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
10938         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
10939         variable.
10940         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10941         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10943         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
10944         [__USE_LARGEFILE64] (off64_t): Likewise.
10945         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
10946         variable.
10948 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10950         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
10952 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10954         * resolv/inet_addr.c: Reindent preprocessor conditionals.
10955         * resolv/res_init.c: Likewise.
10956         * resolv/res_mkquery.c: Likewise.
10958 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10960         * resolv/res_init.c (isascii): Do not define.  Use definition in
10961         <ctype.h>.
10962         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
10963         (LOG_AUTH): Remove.
10964         (SPRINTF): Remove, adjust caller.
10965         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
10967 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10969         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
10970         SUNSECURITY conditional.
10971         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
10973 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10975         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
10976         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
10977         Remove BSD-related preprocessor conditionals.
10978         * conf/portability.h: Remove.
10980 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10982         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
10983         * resolv/res_data.c: Likewise.
10985 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10987         * resolv/res_comp.c: Remove code conditional on __ultrix__.
10988         * resolv/res_data.c: Remove code conditional on ultrix.
10990 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10992         * resolv/res_init.c (RFC1535): Do not define.  Remove
10993         RFC1535 preprocessor conditionals.
10994         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
10995         because there configuration options which make the resolver
10996         behavior different.
10998 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11000         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11001         RESOLVSORT preprocessor conditionals.
11002         * resolv/nss_dns/dns-host.c: Likewise.
11003         * resolv/res_init.c: Likewise.
11005 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11007         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11008         is never defined.
11010 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11012         * inet/inet_lnaof.c: Remove SCSS keyword.
11013         * inet/inet_mkadr.c: Likewise.
11014         * inet/inet_net.c: Likewise.
11015         * inet/inet_netof.c: Likewise.
11016         * inet/rcmd.c: Likewise.
11017         * inet/rexec.c: Likewise.
11018         * inet/ruserpass.c: Likewise.
11020 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11022         * resolv/inet_addr.c: Remove _LIBC conditionals.
11023         * resolv/res_data.c: Likewise.
11024         * resolv/res_init.c: Likewise.
11025         * resolv/res_mkquery.c: Likewise.
11026         * resolv/res_libc.c: Update comment.
11027         * resolv/README: Update.
11029 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11031         * resolv/gethnamaddr.c: Remove SCSS keyword.
11032         * resolv/herror.c: Likewise.
11033         * resolv/inet_addr.c: Likewise.
11034         * resolv/inet_net_ntop.c: Likewise.
11035         * resolv/inet_net_pton.c: Likewise.
11036         * resolv/inet_neta.c: Likewise.
11037         * resolv/inet_ntop.c: Likewise.
11038         * resolv/inet_pton.c: Likewise.
11039         * resolv/ns_date.c: Remove RCS keyword.
11040         * resolv/ns_name.c: Likewise.
11041         * resolv/ns_netint.c: Likewise.
11042         * resolv/ns_parse.c: Likewise.
11043         * resolv/ns_print.c: Likewise.
11044         * resolv/ns_samedomain.c: Likewise.
11045         * resolv/ns_ttl.c: Likewise.
11046         * resolv/nsap_addr.c: Likewise.
11047         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11048         * resolv/res_data.c: Remove RCS keyword.
11049         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11050         * resolv/res_init.c: Likewise.
11051         * resolv/res_mkquery.c: Likewise.
11052         * resolv/res_query.c: Likewise.
11053         * resolv/res_send.c: Likewise.
11055 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11057         * conform/data/stdio.h-data (fdopen): Expect also for
11058         [XPG3 || XPG4].
11060         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11061         (fseeko): Likewise.
11062         (ftello): Likewise.
11063         (ftrylockfile): Likewise.
11064         (funlockfile): Likewise.
11065         (getc_unlocked): Likewise.
11066         (getchar_unlocked): Likewise.
11067         (putc_unlocked): Likewise.
11068         (putchar_unlocked): Likewise.
11070 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11072         [BZ #19868]
11073         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11074         DNS packet syntax checks (which were not needed before).  Skip
11075         over non-PTR records.
11077 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11079         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11080         definition.  Include <stddef.h> instead.
11082 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11084         [BZ #19831]
11085         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11086         function.
11087         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11088         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11090 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11092         [BZ #19862]
11093         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11094         (getanswer_r): Do not call syslog.
11095         (gaih_getanswer_slice): Likewise.
11096         * resolv/gethnamaddr.c (AskedForGot): Remove.
11097         (getanswer): Do not call syslog.
11098         (gethostbyaddr): Likewise.
11100 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11102         * conform/data/signal.h-data (union sigval): Expect also if
11103         [XOPEN2K].
11104         (struct sigevent): Likewise.
11105         (SIGEV_NONE): Likewise.
11106         (SIGEV_SIGNAL): Likewise.
11107         (SIGEV_THREAD): Likewise.
11108         (SIGRTMIN): Likewise.
11109         (SIGRTMAX): Likewise.
11110         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11111         variable.
11112         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11114 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11116         [BZ #19830]
11117         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11118         (gaih_getanswer_slice): Likewise.
11119         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11120         Also check for availability of RR metadata.
11122 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11124         [BZ #19825]
11125         * resolv/res_send.c (send_vc): Remove early *resplen2
11126         initialization.  Set *resplen2 on socket error.  Call
11127         close_and_return_error for other errors.
11129 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11131         * sysdeps/unix/sysv/linux/netiucv/iucv.h
11132         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11133         (SCM_IUCV_TRGCLS): New define.
11135 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11137         [BZ #20005]
11138         * libio/fmemopen.c (fmemopen_write): Update internal position after
11139         write.
11140         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11141         * stdio-common/tst-fmemopen4.c: New file..
11143 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
11145         [BZ #19996]
11146         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11147         not [__USE_XOPEN2K].
11148         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11149         variable.
11151         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11152         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11153         variable.
11155         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11156         [__USE_XOPEN2K8].
11157         [__USE_LARGEFILE64] (off64_t): Likewise.
11158         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11159         variable.
11161 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
11163         [BZ #19989]
11164         * libio/stdio.h (cuserid): Do not declare if
11165         [__USE_XOPEN2K && !__USE_GNU].
11166         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11167         variable.
11169 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11171         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11172         (sysdep_routines): Add P8 and PPC64 strcspn targets.
11173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11174         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11175         ifunc'ed strcspn.
11176         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11177         [EALIGN]: Removed.
11178         [END]: Likewise
11179         [STRSPN]: Define instead of the above to control symbol name.
11180         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11181         New file.
11182         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11183         Likewise.
11184         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11185         Likewise.
11186         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11187         Likewise.
11188         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11189         [INITIAL_MASK]: New macro.
11190         [STRCSPN]: Likewise.
11191         [UPDATE_MASK]: Likewise.
11192         [USE_AS_STRCSPN]: Likewise.
11194 2016-04-25  Florian Weimer  <fweimer@redhat.com>
11196         [BZ #19931]
11197         * stdio-common/tst-vfprintf-width-prec.c: New file.
11198         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11199         (tests-special): Add tst-vfprintf-width-prec-mem.out.
11200         (generated): Add mtrace-related files.
11201         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11202         (tst-%-mem.out): New pattern rule, replaces
11203         tst-printf-bz18872-mem.out.
11204         * stdio-common/vfprintf.c (vfprintf): When handling a precision
11205         specifier, deallocate any previously allocated work buffer.
11207 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11209         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11210         Add nop before __startcontext, add explaining comments.
11212 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
11214         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11215         any more. Notably since IPV6_PKTINFO has been reintroduced with a
11216         completely different API.
11218         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11219         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11220         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11221         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11222         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11223         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11224         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11225         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11226         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11227         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11229 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
11231         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11233 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
11235         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11236         when it is the default of 0.
11238 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11240         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
11241         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11242         (sysdep_routines): Add new strcasestr targets.
11243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11244         (__libc_ifunc_impl_list): Likewise.
11245         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11246         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11247         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11248         * sysdeps/powerpc/powerpc64/power8/Makefile:
11249         New file to add strcasestr-ppc64 to sysdep_routines.
11250         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11251         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11253 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
11255         * benchtests/Makefile (wcsmbs-benchset): Include only for
11256         native builds and runs.
11257         (LOCALES): Likewise.
11258         (bench-build): Build timing-type here instead of the bench
11259         target.  Generate locale only for native builds.
11260         * benchtests/README: Add note for cross-building.
11262         * benchtests/Makefile (bench-clean): Clean up extra-objs.
11264         * benchtests/README: Update README to include instructions on
11265         using bench-build.
11267         * Makefile.in (bench-build): New target.
11268         * Rules (PHONY): Add bench-build target.
11269         * benchtests/Makefile (bench): Depend on bench-build.
11270         (bench-build): New target.
11272 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11274         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11275         profil_reply_port.
11276         (profile_waiter): Do not initialize profil_reply_port.
11277         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11278         frequency instead of tick length in us.
11280 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
11282         [BZ #18712]
11283         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11284         (__old_mempcpy_small): Likewise.
11285         (__old_strcpy_small): Likewise.
11286         (__old_stpcpy_small): Likewise.
11287         (__old_strpbrk_c2): Fix compat symbol name.
11288         (__old_strpbrk_c3): Likewise.
11289         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11290         (__mempcpy_small): Remove.
11291         (__strcpy_small): Remove.
11292         (__stpcpy_small): Remove.
11294 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
11296         [BZ #19400]
11297         * locale/iso-639.def: Add the Talossan/tzl language.
11299 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11301         [BZ #16983]
11302         * locale/programs/ld-address.c (address_finish): Update postal_fmt
11303         comment.  Add "ln" to strchr check on postal_fmt.
11305 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11307         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11308         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
11309         tel_dom_fmt.
11311 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11313         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11314         (sysdep_routines): Added __strlen_power8.
11315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11316         __strlen_power8 entry.
11317         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11318         Implementation for POWER8.
11319         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11320         for __strlen_power8.
11321         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11322         Implementation for POWER8.
11324 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
11326         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11328 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
11330         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11331         Goldmont and Airmont processors.
11333 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
11335         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11336         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11337         (__STRING2_SMALL_GET32): Remove.
11338         (memset): Remove.
11339         (__memset_1): Remove.
11340         (__memset_gc): Remove.
11341         (__mempcpy): Remove.
11342         (mempcpy): Remove.
11343         (__mempcpy_args): Remove.
11344         (strchr): Remove.
11345         (strcpy): Remove.
11346         (strcpy_args): Remove.
11347         (__stpcpy_args): Remove.
11348         (__strcmp_cc): Remove.
11349         (__strcmp_gc): Remove.
11350         (strstr): Remove.
11352 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
11354         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11355         * nis/nis_call.c (nis_server_cache_add): Likewise.
11357 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11359         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11361 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11363         * malloc/arena.c (__malloc_fork_lock_parent)
11364         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11365         internal_function attribute.
11367 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
11369         * stdio-common/printf_fp.c (__printf_fp_l):
11370         Rename ___printf_fp_l to __printf_fp_l and
11371         remove strong alias. Use libc_hidden_def instead
11372         of ldbl_hidden_def macro.
11374 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11376         Remove malloc hooks from fork handler.  They are no longer needed
11377         because malloc runs right before fork, and no malloc calls from
11378         other fork handlers are not possible anymore.
11379         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11380         declarations.
11381         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11382         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11383         (atfork_recursive_cntr): Remove.
11384         (__malloc_fork_lock_parent): Do not override malloc hooks and
11385         thread_arena.
11386         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11387         thread_arena.
11388         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
11389         thread_arena instead of save_arena.
11391 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11393         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11394         (thread_atfork, thread_atfork_static): Remove.
11395         * sysdeps/mach/hurd/malloc-machine.h:
11396         (thread_atfork, thread_atfork_static): Remove.
11398 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11400         [BZ #19431]
11401         Run the malloc fork handler as late as possible to avoid deadlocks.
11402         * malloc/malloc-internal.h: New file.
11403         * malloc/malloc.c: Include it.
11404         * malloc/arena.c (ATFORK_MEM): Remove.
11405         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11406         Update comment.
11407         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11408         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11409         Remove outdated comment.
11410         (ptmalloc_init): Do not call thread_atfork.  Remove
11411         thread_atfork_static.
11412         * malloc/tst-malloc-fork-deadlock.c: New file.
11413         * Makefile (tests): Add tst-malloc-fork-deadlock.
11414         (tst-malloc-fork-deadlock): Link against libpthread.
11415         * manual/memory.texi (Aligned Memory Blocks): Update safety
11416         annotation comments.
11417         * sysdeps/nptl/fork.c (__libc_fork): Call
11418         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11419         __malloc_fork_unlock_child.
11420         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11422 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11424         [BZ #19613]
11425         Remove union wait.
11426         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11427         (w_stopsig, w_stopval): Remove.
11428         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11429         stat_loc argument.
11430         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11431         (__WAIT_STATUS_DEFN): Remove.
11432         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11433         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11434         (wait, wait3, wait4): Use int * for the stat_loc argument.
11435         * posix/wait.c (__wait): Likewise.
11436         * posix/wait3.c (__wait3): Likewise.
11437         * posix/wait4.c (__wait4): Likewise.
11438         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11439         (__WAIT_STATUS_DEFN): Remove.
11440         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11441         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11442         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11443         argument.
11444         * sysdeps/posix/wait.c (__libc_wait): Likewise.
11445         * sysdeps/posix/wait3.c (__wait3): Likewise.
11446         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11447         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11448         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11449         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11450         stat_loc argument.
11451         * manual/process.texi (BSD Wait Functions): Remove union wait.
11453 2016-04-13  Andreas Schwab  <schwab@suse.de>
11455         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11456         (test-extras): Add tst-tlsalign-vars.
11457         * math/Makefile: Wrap long lines.
11458         (libm-vec-test-wrappers): Define.
11459         (test-extras): Add $(libm-vec-test-wrappers).
11460         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11461         * nss/Makefile (extra-test-objs): Add nss_test1.os.
11462         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11463         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11464         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11465         (extra-test-objs): Add corresponding objects.
11467 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
11469         [BZ #19928]
11470         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11471         New.
11472         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11473         times of shared cache size.
11474         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11475         (VMOVNT): New.
11476         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11477         (VMOVNT): Likewise.
11478         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11479         (VMOVNT): Likewise.
11480         (VMOVU): Changed to movups for smaller code sizes.
11481         (VMOVA): Changed to movaps for smaller code sizes.
11482         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11483         comments.
11484         (PREFETCH): New.
11485         (PREFETCH_SIZE): Likewise.
11486         (PREFETCHED_LOAD_SIZE): Likewise.
11487         (PREFETCH_ONE_SET): Likewise.
11488         Rewrite to use forward and backward loops, which move 4 vector
11489         registers at a time, to support overlapping addresses and use
11490         non temporal store if size is above the threshold and there is
11491         no overlap between destination and source.
11493 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
11495         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11496         Include dl-vdso.
11497         * sysdeps/unix/sysv/linux/mips/Versions: Add
11498         __vdso_clock_gettime.
11499         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11500         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11501         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11502         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11503         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11504         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11505         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11506         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11507         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11509 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11511         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11512         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11514         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11515         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11516         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11519         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11521         syscalls generation.
11522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11523         [__NR_pwrite64] (__NR_write): Remove define.
11524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11525         [__NR_pwrite64] (__NR_write): Remove define.
11526         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11527         Remove define.
11528         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11529         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11530         Remove define.
11531         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11532         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11533         Linux implementation as base.
11534         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11536         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11537         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11539         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11542         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11543         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11544         syscall generation.
11545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11546         [__NR_pread64] (__NR_pread): Remove define.
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11548         [__NR_pread64] (__NR_pread): Likewise.
11549         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11550         define.
11551         (__libc_pread): Use SYSCALL_LL macro on offset argument.
11552         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11553         Remove define.
11554         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11555         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11556         Linux implementation as base.
11557         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11558         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11559         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11561         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11562         definition.
11563         (__ALIGNMENT_COUNT): Likewise.
11564         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11565         (__ALIGNMENT_COUNT): Likewise.
11566         (SYSCALL_LL): New define.
11567         (SYSCALL_LL64): Likewise.
11568         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11569         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11570         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11571         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11574         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11575         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11576         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11577         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11578         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11580 2016-04-11  Florian Weimer  <fweimer@redhat.com>
11582         [BZ #19865]
11583         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11584         original buffer before retry.
11586 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11588         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11589         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11590         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11591         GLRO(dl_auxv) list.
11592         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11593         including <ldsodefs.h>.
11594         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11596 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
11598         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11599         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11600         $(CPPFLAGS).
11602 2016-04-09  Khem Raj  <raj.khem@gmail.com>
11604         [BZ #17950]
11605         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11606         Add -mfpmath=387.
11608 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
11610         * sysdeps/i386/configure.ac: Change == to = when calling test.
11611         * sysdeps/x86_64/configure.ac: Likewise.
11612         * sysdeps/i386/configure: Regenerated.
11613         * sysdeps/x86_64/configure: Likewise.
11615 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
11617         [BZ #16137]
11618         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11619         * benchtests/bench-strcoll.c (input_files): Likewise.
11620         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11621         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11622         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11624 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
11626         [BZ #19929]
11627         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11628         [__USE_XOPEN2K8 && !__USE_GNU].
11629         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11630         variable.
11632         [BZ #19925]
11633         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11634         define if [!__USE_MISC && __USE_XOPEN2K].
11635         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11636         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11637         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11638         Likewise.
11639         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11640         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11641         variable.
11642         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11644 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11646         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11647         (sysdep_routines): Add new strspn targets.
11648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11649         (__libc_ifunc_impl_list): Add strspn.
11650         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11651         New file.
11652         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11653         Likewise.
11654         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11655         Likewise.
11656         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11657         Likewise.
11659 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11661         * misc/hsearch_r.c: Include <limits.h>.
11663 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11665         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11667 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11669         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11670         (MEMCPY_SYMBOL): New.
11671         (MEMPCPY_SYMBOL): Likewise.
11672         (MEMMOVE_CHK_SYMBOL): Likewise.
11673         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11674         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11675         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
11676         Provide alias for memcpy in libc.a and ld.so.
11678 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11680         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11681         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
11682         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11683         Disabled fro now.
11684         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11685         symbols.  Properly check USE_MULTIARCH on __memset symbols.
11687 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11689         * benchtests/Makefile (string-benchset): Add memcpy-large,
11690         memmove-large and memset-large.
11691         * benchtests/bench-memcpy-large.c: New file.
11692         * benchtests/bench-memmove-large.c: Likewise.
11693         * benchtests/bench-memmove-large.c: Likewise.
11694         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11696 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11698         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11699         32-bit displacement to avoid long nop between instructions.
11701 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11703         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11704         a comment on VMOVU and VMOVA.
11706 2016-04-04  Florian Weimer  <fweimer@redhat.com>
11708         [BZ #19633]
11709         Use specified locale for number formatting in strfmon_l.
11710         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11711         (__nl_lookup_word): New inline functions.
11712         * include/printf.h (__print_fp_l): Declare.
11713         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11714         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
11715         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11716         (___printf_fp): New function.
11717         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11718         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11719         * stdlib/tst-strfmon_l.c (do_test): New test.
11720         * stdlib/Makefile (tests): Add kt.
11721         (LOCALES): Build additional locales.
11722         (tst-strfmon_l.out): Require locales.
11724 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11726         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11727         if not in libc.
11728         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11729         Likewise.
11730         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11731         Likewise.
11732         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11733         Likewise.
11735 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11737         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11738         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11739         with unaligned_erms.
11740         (__memmove_erms): Skip if source == destination.
11741         (__memmove_unaligned_erms): Don't check source == destination
11742         first.
11744 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11746         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11747         bit_arch_Fast_Copy_Backward for Intel Core proessors.
11749 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11751         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11752         * string/strspn.c (strspn): Likewise.
11754 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11756         * benchtests/bench-memset.c (do_test): Support 64-byte
11757         alignment.
11758         (test_main): Test 64-byte alignment.
11760 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11762         * benchtests/bench-memmove.c (test_main): Test 64-byte
11763         alignment.
11765 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11767         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11769 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11771         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11772         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11773         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11775         * string/strpbrk.c (strpbrk): Rewrite function.
11776         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11777         (__strpbrk_c2): Likewise.
11778         (__strpbrk_c3): Likewise.
11779         * string/string-inlines.c
11780         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11781         Likewise.
11782         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11783         Likewise.
11785         * string/strspn.c (strcspn): Rewrite function.
11786         * string/bits/string2.h (strspn): Use __builtin_strcspn.
11787         (__strspn_c1): Remove inline function.
11788         (__strspn_c2): Likewise.
11789         (__strspn_c3): Likewise.
11790         * string/string-inlines.c
11791         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11792         compatibility symbol.
11793         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11794         Likewise.
11795         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11796         Likewise.
11797         * string/string-inlines.c: Include generic version.
11799 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
11800             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11802         * string/Version (libc): Add GLIBC_2.24.
11803         * string/strcspn.c (strcspn): Rewrite function.
11804         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11805         (__strcspn_c1): Remove inline function.
11806         (__strcspn_c2): Likewise.
11807         (__strcspn_c3): Likewise.
11808         * string/string-inline.c
11809         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11810         compatibility symbol.
11811         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11812         Likewise.
11813         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11814         Likewise.
11815         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11817 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11819         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11820         Use ahi instead of aghi to adjust stack pointer.
11822 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11824         [BZ #19853]
11825         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11826         TEST to take significant digits as second parameter.
11827         [TEST]: Redefine in terms of TEST_N taking 30
11828         significant digits.
11829         (do_test): Add test case to demonstrate precision
11830         failure in the ldbl-128ibm printf.
11831         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11832         (__mpn_extract_long_double): Carry 7 extra intermediate
11833         bits of precision to aide computing difference when
11834         signs differ.
11836 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11838         [BZ #19881]
11839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11840         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11841         memset-avx512-unaligned-erms.
11842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11843         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11844         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11845         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11846         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11847         __memset_sse2_unaligned_erms, __memset_erms,
11848         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11849         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11850         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11851         file.
11852         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11853         Likewise.
11854         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11855         Likewise.
11856         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11857         Likewise.
11859 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11861         [BZ #19776]
11862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11863         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11864         memmove-avx512-unaligned-erms.
11865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11866         (__libc_ifunc_impl_list): Test
11867         __memmove_chk_avx512_unaligned_2,
11868         __memmove_chk_avx512_unaligned_erms,
11869         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
11870         __memmove_chk_sse2_unaligned_2,
11871         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
11872         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
11873         __memmove_avx512_unaligned_erms, __memmove_erms,
11874         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
11875         __memcpy_chk_avx512_unaligned_2,
11876         __memcpy_chk_avx512_unaligned_erms,
11877         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
11878         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
11879         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
11880         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
11881         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
11882         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
11883         __mempcpy_chk_avx512_unaligned_erms,
11884         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
11885         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
11886         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
11887         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
11888         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
11889         __mempcpy_erms.
11890         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
11891         file.
11892         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11893         Likewise.
11894         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11895         Likewise.
11896         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11897         Likewise.
11899 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11901         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
11902         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
11903         (La_s390_64_regs): Likewise.
11904         (La_s390_32_retval): Append vector register lrv_v24.
11905         (La_s390_64_retval): Likeweise.
11906         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11907         Handle extended structs La_s390_32_regs and La_s390_32_retval.
11908         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11909         Handle extended structs La_s390_64_regs and La_s390_64_retval.
11911 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11913         [BZ #19916]
11914         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
11915         to create a non-vector/vector version for _dl_runtime_resolve and
11916         _dl_runtime_profile. Move implementation to ...
11917         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
11918         (_dl_runtime_resolve) Save and restore fpr/vrs.
11919         (_dl_runtime_profile) Save and restore vrs and fix some issues
11920         if _dl_call_pltexit is called.
11921         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
11922         Choose the correct resolver function if running on a machine with vx.
11923         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
11924         to create a non-vector/vector version for _dl_runtime_resolve and
11925         _dl_runtime_profile. Move implementation to ...
11926         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
11927         (_dl_runtime_resolve) Save and restore fpr/vrs.
11928         (_dl_runtime_profile) Save and restore vrs and fix some issues
11929         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
11930         Choose the correct resolver function if running on a machine with vx.
11932 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11934         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
11936 2016-03-31  Florian Weimer  <fweimer@redhat.com>
11938         [BZ #19509]
11939         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
11940         skip_map != NULL.
11941         * elf/tst-dlsym-error.c: New file.
11942         * elf/Makefile (tests): Add tst-dlsym-error.
11943         (tst-dlsym-error): Link against libdl.
11945 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
11947         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11948         (__ASSUME_FUTIMESAT): Remove macro.
11949         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
11951 2016-03-29  Florian Weimer  <fweimer@redhat.com>
11953         [BZ #19879]
11954         CVE-2016-3075
11955         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
11956         copy name.
11958 2016-03-29  Florian Weimer  <fweimer@redhat.com>
11960         [BZ #19837]
11961         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
11962         error if parse_line fails.
11964 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11966         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
11967         (index_cpu_ERMS): Likewise.
11968         (reg_ERMS): Likewise.
11970 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
11972         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
11973         PER_LINUX_FDPIC): Add.
11975 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11978         memcpy-avx512-no-vzeroupper.
11979         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
11980         to ...
11981         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
11982         (MEMCPY): Don't define.
11983         (MEMCPY_CHK): Likewise.
11984         (MEMPCPY): Likewise.
11985         (MEMPCPY_CHK): Likewise.
11986         (MEMPCPY_CHK): Renamed to ...
11987         (__mempcpy_chk_avx512_no_vzeroupper): This.
11988         (MEMPCPY_CHK): Renamed to ...
11989         (__mempcpy_chk_avx512_no_vzeroupper): This.
11990         (MEMCPY_CHK): Renamed to ...
11991         (__memmove_chk_avx512_no_vzeroupper): This.
11992         (MEMCPY): Renamed to ...
11993         (__memmove_avx512_no_vzeroupper): This.
11994         (__memcpy_avx512_no_vzeroupper): New alias.
11995         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
11997 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11999         [BZ #18858]
12000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12001         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12002         and mempcpy-avx512-no-vzeroupper.
12003         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12004         New.
12005         (MEMPCPY): Likewise.
12006         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12007         (MEMPCPY_CHK): New.
12008         (MEMPCPY): Likewise.
12009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12010         (MEMPCPY): Likewise.
12011         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12012         (MEMPCPY): Likewise.
12013         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12014         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12015         Likewise.
12016         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12017         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12019 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12020              Amit Pawar  <Amit.Pawar@amd.com>
12022         [BZ #19583]
12023         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12024         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12025         processors.  Set Fast_Copy_Backward for AMD Excavator
12026         processors.
12027         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12028         New.
12029         (index_arch_Fast_Unaligned_Copy): Likewise.
12030         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12031         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12033 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12035         [BZ #19791]
12036         * resolv/res_send.c (close_and_return_error): New function.
12037         (send_dg): Initialize *resplen2 after reopen failure.  Call
12038         close_and_return_error for error returns.  On error paths without
12039         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12040         successful return.
12042 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12044         [BZ# 19860]
12045         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12046         zero if the compiler does not provide the AVX512F bit.
12048 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12050         [BZ #19848]
12051         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12052         from 8 to 4.
12053         (__ieee754_powl): Compare integer exponent against 4 not 8.
12054         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12055         from 8 to 4.
12056         (__ieee754_powl): Compare integer exponent against 4 not 8.
12057         * math/auto-libm-test-in: Add more tests of pow.
12058         * math/auto-libm-test-out: Regenerated.
12059         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12062 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12064         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12065         Make code unconditional.
12066         [!__NR_utimensat]: Remove conditional code.
12067         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12068         Make code unconditional.
12069         [!__NR_utimensat]: Remove conditional code.
12070         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12071         Make code unconditional.
12072         [!__NR_utimensat]: Remove conditional code.
12074 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12076         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12077         Make code unconditional.
12079 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
12081         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12082         call-clobbered %eax on retry path.
12083         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12085 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12087         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12088         Don't set %rcx twice before "rep movsb".
12090 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12092         [BZ #19583]
12093         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12094         inline.  Check family before setting family, model and
12095         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
12096         bits here.
12097         (init_cpu_features): Replace HAS_CPU_FEATURE and
12098         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12099         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
12100         for Intel processors with usable AVX2.  Call get_common_indeces
12101         for other processors with family == NULL.
12102         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12103         (CPU_FEATURES_ARCH_P): Likewise.
12104         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12105         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12107 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12109         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12110         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12111         $(shared-thread-library) instead of hardcoding the path to libpthread.
12113 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
12115         * sysdeps/unix/sysv/linux/kernel-features.h
12116         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12117         * sysdeps/unix/sysv/linux/getdents.c
12118         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12119         [!have_no_getdents64_defined]: Likewise.
12120         (__GETDENTS): Remove __have_no_getdents64 conditional.
12122 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
12124         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12125         Remove macro.
12126         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12127         <kernel-features.h>.
12128         (signalfd) [__NR_signalfd4]: Make code unconditional.
12129         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12131 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12133         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12134         style.
12136 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12138         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12139         (__pthread_enable_asynccancel): Use JUMPTARGET to call
12140         __pthread_unwind.
12141         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12142         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12143         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12144         (__condvar_cleanup1): Likewise.
12146 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
12148         [BZ #19822]
12149         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12150         move it to the final $@ location.
12152 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12154         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12155         access where posix_spawn success and pid argument is null.
12156         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12157         success case.
12159 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
12161         * sysdeps/mach/hurd/i386/c++-types.data: New file.
12163         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12165         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12166         and __fcntl.
12167         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12168         __fcntl only.
12169         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12170         adding attribute_hidden to __open and __fcntl.
12172         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12173         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12174         depend on libc-modules.h,
12175         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12177 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
12179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12180         Remove macro.
12181         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12182         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12183         entry.
12185         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12186         Remove macro.
12187         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12188         include <kernel-features.h>.
12189         [!__ASSUME_FALLOCATE]: Remove conditional code.
12190         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12192 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12194         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12195         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12196         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12197         (_ZGVdN4v_cos_avx2): Likewise.
12198         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12199         (_ZGVdN4v_cos): Likewise.
12200         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12201         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12202         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12203         (_ZGVdN4v_exp_avx2): Likewise.
12204         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12205         (_ZGVdN4v_exp): Likewise.
12206         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12207         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12208         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12209         (_ZGVdN4v_log_avx2): Likewise.
12210         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12211         (_ZGVdN4v_log): Likewise.
12212         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12213         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12214         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12215         (_ZGVdN4vv_pow_avx2): Likewise.
12216         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12217         (_ZGVdN4vv_pow): Likewise.
12218         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12219         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12220         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12221         (_ZGVdN4v_sin_avx2): Likewise.
12222         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12223         (_ZGVdN4v_sin): Likewise.
12224         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12225         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12226         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12227         (_ZGVdN4vvv_sincos_avx2): Likewise.
12228         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12229         (_ZGVdN4vvv_sincos): Likewise.
12230         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12231         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12232         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12233         (_ZGVbN4v_cosf_sse4): Likewise.
12234         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12235         (_ZGVdN8v_cosf_avx2): Likewise.
12236         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12237         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12238         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12239         (_ZGVbN4v_expf_sse4): Likewise.
12240         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12241         (_ZGVdN8v_expf_avx2): Likewise.
12242         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12243         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12244         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12245         (_ZGVbN4v_logf_sse4): Likewise.
12246         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12247         (_ZGVdN8v_logf_avx2): Likewise.
12248         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12249         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12250         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12251         (_ZGVbN4vv_powf_sse4): Likewise.
12252         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12253         (_ZGVdN8vv_powf_avx2): Likewise.
12254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12255         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12256         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12257         (_ZGVbN4vvv_sincosf_sse4): Likewise.
12258         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12259         (_ZGVdN8vvv_sincosf_avx2): Likewise.
12260         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12261         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12262         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12263         (_ZGVbN4v_sinf_sse4): Likewise.
12264         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12265         (_ZGVdN8v_sinf_avx2): Likewise.
12266         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12267         Use JUMPTARGET to call callee.
12268         (WRAPPER_IMPL_SSE2_ff): Likewise.
12269         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12270         (WRAPPER_IMPL_AVX): Likewise.
12271         (WRAPPER_IMPL_AVX_ff): Likewise.
12272         (WRAPPER_IMPL_AVX_fFF): Likewise.
12273         (WRAPPER_IMPL_AVX512): Likewise.
12274         (WRAPPER_IMPL_AVX512_ff): Likewise.
12275         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12276         Likewise.
12277         (WRAPPER_IMPL_SSE2_ff): Likewise.
12278         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12279         (WRAPPER_IMPL_AVX): Likewise.
12280         (WRAPPER_IMPL_AVX_ff): Likewise.
12281         (WRAPPER_IMPL_AVX_fFF): Likewise.
12282         (WRAPPER_IMPL_AVX512): Likewise.
12283         (WRAPPER_IMPL_AVX512_ff): Likewise.
12284         (WRAPPER_IMPL_AVX512_fFF): Likewise.
12286 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12288         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12289         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12290         qualifier.
12291         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12292         internal_function qualifiers.
12294 2016-03-15  Carlos O'Donell <carlos@redhat.com>
12296         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12297         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12298         * math/atest-exp.c (exp_mpn): Mark chk unused.
12299         * math/atest-exp2.c (exp_mpn): Likewise.
12300         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12301         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12303 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
12305         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12306         Remove macro.
12307         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12308         <kernel-features.h>.
12309         [__NR_ppoll]: Make code unconditional.
12310         [!__ASSUME_PPOLL]: Remove conditional code.
12312         * sysdeps/unix/sysv/linux/kernel-features.h
12313         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12314         (__ASSUME_ACCEPT4): Likewise.
12315         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12316         Define.
12317         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12318         Likewise.
12319         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12320         Likewise.
12321         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12322         Likewise.
12323         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12324         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12325         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12326         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12327         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12328         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12329         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12330         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12331         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12332         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12333         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12334         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12335         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12336         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12337         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12338         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12339         Likewise.
12340         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12341         Likewise.
12342         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12343         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12344         0x040300].
12345         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12346         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12347         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12348         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12349         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12350         0x030300].
12351         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12352         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12353         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12354         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12355         0x040300].
12356         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12357         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12358         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12359         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12360         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12361         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12362         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12363         0x030300].
12364         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12365         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12367         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12368         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12369         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12370         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12371         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12372         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12373         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12374         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12375         0x040300].
12376         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12378         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12379         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12380         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12382         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12383         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12384         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12385         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12386         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12387         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12388         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12389         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12390         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12391         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12392         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12393         Likewise.
12394         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12395         Likewise.
12397 2016-03-15  Andreas Schwab  <schwab@suse.de>
12399         [BZ #19257]
12400         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12401         statp->_u._ext.nscount as loop count.
12403 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12405         * math/test-signgam-finite-c99.c: Also #undef
12406         __LIBC_INTERNAL_MATH_INLINES.
12407         * math/test-signgam-main.c: Likewise.
12409 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
12411         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12412         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12413         (MADV_FREE): Likewise.
12414         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12415         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12416         EPOLLEXCLUSIVE.
12418 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
12420         * timezone/README: Remove mention of checktab.awk. Mention wiki
12421         SharedSourceFiles.
12423 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
12425         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12426         WUNTRACED.
12428 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12430         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12431         order to match the type of p when calling atomic_exchange_acq().
12433 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12435         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12436         cfi_offset calls.
12437         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12438         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12439         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12440         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12441         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12443 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
12445         * timezone/checktab.awk: Removed.
12447 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
12449         * manual/math.texi (Errors in Math Functions): Document relaxed
12450         accuracy goals for IBM long double.
12451         * math/libm-test.inc (test_exceptions): Always allow spurious
12452         "underflow" and "inexact" exceptions for IBM long double.
12454 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
12456         [BZ #19762]
12457         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12458         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12459         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12460         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12461         (bit_arch_*): This for feature array.
12462         (bit_*): Renamed to ...
12463         (bit_cpu_*): This for cpu array.
12464         (index_*): Renamed to ...
12465         (index_arch_*): This for feature array.
12466         (index_*): Renamed to ...
12467         (index_cpu_*): This for cpu array.
12468         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12469         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12470         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12471         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12472         bit_##name with index_cpu_##name and bit_cpu_##name.
12473         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12474         bit_##name with index_arch_##name and bit_arch_##name.
12476 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
12478         [BZ #19792]
12479         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12480         Terminate FDE before return label.
12482 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
12484         [BZ #19790]
12485         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12486         (rintl): Define as macro.
12487         [USE_AS_NEARBYINTL] (__rintl): Likewise.
12488         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12489         of fesetround.  Ensure results are evaluated before end of scope.
12490         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12491         USE_AS_NEARBYINTL and include s_rintl.c.
12492         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12493         Disable exception traps in new environment.
12494         (libc_feholdsetround_ppc_ctx): Likewise.
12496 2016-03-08  Roland McGrath  <roland@hack.frob.com>
12498         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12499         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12500         (tst_audit10_aux) [__AVX512F__]: ... here.
12502 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
12504         * include/sys/auxv.h: New file.
12506 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12508         [BZ #19759]
12509         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12511 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12513         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12514         operand modifier.
12515         (feclearexcept): Likewise.
12517 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12519         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12520         to reflect the entire 32-bit HWCAP.
12521         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12522         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
12524 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12526         [BZ #19783]
12527         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12528         $(test-via-rtld-prefix).
12529         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12531 2016-03-08  Florian Weimer  <fweimer@redhat.com>
12533         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12534         union wait.  Report any non-zero exit status as error.
12536 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12538         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12539         configured with --enable-hardcoded-path-in-tests.
12541 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
12543         [BZ #19677]
12544         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12545         (__ieee754_remainderl): Put zero low parts in canonical form.
12546         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12547         file.  Based on
12548         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12549         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12550         with wrapper round test-fmodrem-ldbl-128ibm.c.
12551         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12552         file.
12553         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12554         Likewise.
12555         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12556         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12558 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12560         [BZ #19610]
12561         * elf/ldconfig.c (opt_link): Update comment.
12562         (options): Update help string for option -X.
12563         (search_dir): Unlink stale symbolic link only if updating symbolic
12564         links.
12565         * elf/tst-ldconfig-X.sh: New file.
12566         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12567         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12569 2016-03-07  Andreas Schwab  <schwab@suse.de>
12571         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12572         needed arguments.
12574 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
12576         [BZ #15333]
12577         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12578         to lstat64.
12580 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12582         * libio/filedoalloc.c (isatty): Remove.
12583         (local_isatty): Add comment.  Call __isatty directly.
12584         (_IO_file_doallocate): Update comment.  Assume _LIBC.
12585         * libio/wfiledoalloc.c (isatty): Remove.
12586         (_IO_wfile_doallocate): Update comment.
12588 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12590         [BZ #19269]
12591         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12592         tst-audit4-aux.o.
12593         (tst-audit10): Depend on tst-audit10-aux.o.
12594         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12595         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12596         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12597         instead of inline AVX code.
12598         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12599         instead of inline AVX512 code.
12600         * sysdeps/x86_64/tst-audit4-aux.c: New file
12601         * sysdeps/x86_64/tst-audit10-aux.c: New file
12603         [BZ #19648]
12604         * test-skeleton.c (main): Do not set RLIMIT_DATA.
12606 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12608         [BZ #14750]
12609         [BZ #10354]
12610         [BZ #18433]
12611         * include/sched.h (__clone): Add hidden prototype.
12612         (__clone2): Likewise.
12613         * include/unistd.h (__dup): Likewise.
12614         * posix/Makefile (tests): Add tst-spawn2.
12615         * posix/tst-spawn2.c: New file.
12616         * sysdeps/posix/dup.c (__dup): Add hidden definition.
12617         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12618         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12619         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12620         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12621         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12622         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12623         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12624         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12625         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12626         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12628         Likewise.
12629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12632         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12633         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12634         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12635         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12636         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12637         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12638         * sysdeps/unix/sysv/linux/nptl-signals.h
12639         (____nptl_is_internal_signal): New function.
12640         * sysdeps/unix/sysv/linux/spawni.c: New file.
12642         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12643         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12644         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12645         * posix/tst-execvp2.c (do_test): Likewise.
12646         * posix/tst-execvp3.c (do_test): Likewise.
12647         * posix/tst-execvp4.c (do_test): Likewise.
12648         * posix/tst-execvpe1.c: New file.
12649         * posix/tst-execvpe2.c: Likewise.
12650         * posix/tst-execvpe3.c: Likewise.
12651         * posix/tst-execvpe4.c: Likewise.
12652         * posix/tst-execvpe5.c: Likewise.
12653         * posix/tst-execvpe6.c: Likewise.
12655         [BZ #19534]
12656         * posix/execl.c (execl): Remove dynamic memory allocation.
12657         * posix/execle.c (execle): Likewise.
12658         * posix/execlp.c (execlp): Likewise.
12660 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12662         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12663         Replace .text with .text.avx512.
12664         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12665         Likewise.
12667 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
12669         * sysdeps/generic/libnsl.abilist: New file.
12670         * sysdeps/generic/libutil.abilist: New file.
12672 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12674         [BZ #19762]
12675         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12676         HAS_ARCH_FEATURE with Fast_Rep_String.
12677         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12678         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12679         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12680         Likewise.
12681         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12682         Likewise.
12683         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12684         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12685         Likewise.
12686         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12687         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12688         Likewise.
12690 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12692         [BZ #19745]
12693         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12694         with *%rax in call.
12696 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12698         [BZ #19745]
12699         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12700         with *__libc_start_main@GOTPCREL(%rip) in call.
12702 2016-03-04  Roland McGrath  <roland@hack.frob.com>
12704         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12705         inside conditional for nonempty $(CXX).
12707         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12708         nonempty.
12710         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12711         to test for empty $(CXX) rather than $(CXX) of "no".
12713 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12715         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12717 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
12718             H.J. Lu  <hongjiu.lu@intel.com>
12720         [BZ #18880]
12721         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12722         instead of Slow_BSF, and also check for Fast_Copy_Backward to
12723         enable __memcpy_ssse3_back.
12725 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12727         [BZ #19758]
12728         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12729         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12731 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12733         [BZ #19490]
12734         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12735         (__fentry__): Likewise.
12737 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12739         * gmon/Makefile (noprof): Add $(sysdep_noprof).
12740         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12742 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12744         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12745         __mcount_internal directly.
12746         (C_LABEL(__fentry__)): Likewise.
12747         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12748         directly.
12750 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12752         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12753         (__start_context): Call __setcontext directly.
12755 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
12757         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12758         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12759         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12760         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12761         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12762         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12763         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12764         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12765         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12766         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12767         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12768         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12769         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12770         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12771         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12772         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12773         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12774         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12775         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12776         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12777         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12778         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12779         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12780         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12781         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12782         Remove conditional code.
12783         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12784         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12785         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12786         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12787         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12788         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12789         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12790         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12791         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12792         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12793         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12794         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12796 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
12798         * NEWS (2.23): Fix typo in bug 19048 text.
12800 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
12802         [BZ #14259]
12803         * Makeconfig: Rename msgcatdir to localedir.
12804         Rename inst_msgcatdir to inst_localedir.
12805         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12806         * config.make.in: Add localedir.
12807         * elf/Makefile ($(objpfx)sotruss): Use localedir.
12808         (ldd-rewrite): Likewise.
12809         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12810         (install-others): Use inst_localedir.
12811         (CPPFLAGS): Use localedir.
12812         * locale/Makefile (locale-CPPFLAGS): Likewise.
12813         * po/Makefile (mo-installed): Use inst_localedir.
12815         [BZ #19575]
12816         * localedata/charmaps/GB18030: Update comments regarding PAU to
12817         non-PUA mappings.
12819 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
12821         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12822         test for header.
12823         * sysdeps/unix/sysv/linux/configure: Regenerated.
12824         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12825         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12826         Remove conditional code.
12827         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12829         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12830         Define to 3.2.0.
12831         (arch_minimum_kernel): Likewise.
12832         * sysdeps/unix/sysv/linux/configure: Regenerated.
12833         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12834         Define to 2.6.32.
12835         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12836         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12837         (arch_minimum_kernel): Define to 2.6.32.
12838         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12839         * README: Document Linux 3.2 requirement.
12840         * manual/install.texi (Linux): Document Linux 3.2 headers
12841         requirement.
12842         * INSTALL: Regenerated.
12844 2016-02-24  Andreas Schwab  <schwab@suse.de>
12846         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12847         if !NO_LONG_DOUBLE.
12849 2016-02-22  Roland McGrath  <roland@hack.frob.com>
12851         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12852         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12854 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
12856         [BZ #19512]
12857         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12859 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12861         * posix/tst-dir.c: Include libc-internal.h.
12863 2016-02-20  Florian Weimer  <fweimer@redhat.com>
12865         [BZ #19056]
12866         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12867         * manual/filesys.texi (Reading/Closing Directory): Mention
12868         deprecaion.
12869         * posix/tst-dir.c (main): Disable deprecation warning in test.
12871 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
12873         [BZ #19679]
12874         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
12875         Renamed to ...
12876         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
12877         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12878         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
12879         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12880         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12881         * sysdeps/x86_64/dl-trampoline.h
12882         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12883         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12885 2016-02-19  Mark Wielaard  <mjw@redhat.com>
12887         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
12889 2016-02-19  Mark Wielaard  <mjw@redhat.com>
12891         * elf/elf.h (R_386_GOT32X): New.
12892         (R_386_NUM): Update.
12893         (R_X86_64_GOTPCRELX: New.
12894         (R_X86_64_REX_GOTPCRELX): New.
12895         (R_X86_64_NUM): Update.
12897 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
12899         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
12901 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
12903         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
12904         assign attr->stackaddr to it, and adjust it down when
12905         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
12906         [_STACK_GROWS_UP]: Delete assert.
12907         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
12908         Implement stack grows up logic.
12909         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
12910         stack grows up logic.
12912 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12914         * NEWS: Update with 2.24 template.
12916 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
12918         [BZ #19678]
12919         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12920         Ensure +0.0 is returned when taking the next value below the least
12921         positive value.
12923 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12925         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
12926         available.  Do not define NO_THREADS.
12927         * malloc/malloc.c: Do not check NO_THREADS.
12928         * malloc/arena.c: Likewise.
12930 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12932         * malloc/malloc.c (__libc_mallinfo): Update comment.
12933         (struct malloc_par): Remove max_total_mem member, it was always 0.
12934         (int_mallinfo): Store 0 into usmblks (no functional change).
12935         * malloc/hooks.c (struct malloc_state): Document that
12936         max_total_mem is always 0.
12937         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
12938         always 0.
12939         * manual/memory.texi (Statistics of Malloc): Likewise.
12941 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12943         * malloc/malloc.c (sysmalloc): Do not update arena_max.
12944         * malloc/arena.c (arena_max): Remove.
12945         (heap_trim, _int_new_arena): Do not update arena_max.
12947 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12949         * resolv/res_init.c (res_ninit): Update comment.
12951 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12953         [BZ #19505]
12954         * posix/spawn_int.h: Add headers and include guard.
12955         (__spawn_valid_fd): New function.
12956         * posix/spawn_faction_addopen.c
12957         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
12958         * posix/spawn_faction_addclose.c
12959         (posix_spawn_file_actions_addclose): Likewise.
12960         * posix/spawn_faction_adddup2.c
12961         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
12962         second file descriptor.
12963         * posix/spawn_valid_fd.c: New file.
12964         * posix/tst-posix_spawn-fd.c: New file.
12965         * posix/Makefile (routines): Add spawn_valid_fd.
12966         (tests): Add tst-posix_spawn-fd.
12968 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12970         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
12971         (do_test): Limit the number of arenas, so that we can use fewer
12972         outer threads.  Limit timeout to 3 seconds, in preparation for a
12973         larger TIMEOUT value.
12975 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
12977         [BZ #19674]
12978         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
12979         sign in overflowing and underflowing results when overflow or
12980         underflow is detected early.  Include sign in result before rather
12981         than after scaling.
12983         [BZ #19603]
12984         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12985         (__ieee754_remainderl): Adjust sign of integer version of low part
12986         when taking absolute value of high part.
12987         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12988         * math/libm-test.inc (remainder_test_data): Add another test.
12989         (remquo_test_data): Likewise.
12991 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
12993         [BZ #19602]
12994         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
12995         equal high parts and both low parts zero specially.
12996         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
12997         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12998         Add test-fmodl-ldbl-128ibm.
13000         [BZ #19595]
13001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13002         common logic for all cases of shifting subnormal results.  Do not
13003         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13004         exponent to ldbl_insert_mantissa in subnormal case.
13006         [BZ #19594]
13007         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13008         on high and low parts then adjust result and use
13009         ldbl_canonicalize_int if needed.
13011         [BZ #19593]
13012         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13013         on high part and __floor or __ceil on low part then use
13014         ldbl_canonicalize_int if needed.
13016         [BZ #19592]
13017         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13018         high and low parts then use ldbl_canonicalize_int if needed.
13020         [BZ #17899]
13021         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13022         New function.
13023         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13024         on high and low parts then use ldbl_canonicalize_int if needed.
13026 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13028         * configure: Regenerated.
13030         * po/libc.pot: Regenerated.
13032         * po/be.po: Updated translation.
13033         * po/bg.po: Likewise.
13034         * po/ca.po: Likewise.
13035         * po/cs.po: Likewise.
13036         * po/da.po: Likewise.
13037         * po/el.po: Likewise.
13038         * po/eo.po: Likewise.
13039         * po/es.po: Likewise.
13040         * po/fi.po: Likewise.
13041         * po/fr.po: Likewise.
13042         * po/gl.po: Likewise.
13043         * po/hr.po: Likewise.
13044         * po/hu.po: Likewise.
13045         * po/ia.po: Likewise.
13046         * po/id.po: Likewise.
13047         * po/it.po: Likewise.
13048         * po/ja.po: Likewise.
13049         * po/lt.po: Likewise.
13050         * po/nb.po: Likewise.
13051         * po/nl.po: Likewise.
13052         * po/pt_BR.po: Likewise.
13053         * po/rw.po: Likewise.
13054         * po/sk.po: Likewise.
13055         * po/sl.po: Likewise.
13056         * po/sv.po: Likewise.
13057         * po/tr.po: Likewise.
13058         * po/zh_CN.po: Likewise.
13059         * po/zh_TW.po: Likewise.
13061         * version.h (RELEAES): Set to "development".
13062         (VERSION): Set to 2.23.90.
13064         * version.h (RELEASE): Set to "stable".
13065         (VERSION): Set to 2.23.
13066         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13068         * NEWS: Updated fixed bugs.
13070 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13071             Wilco Dijkstra  <wdijkstr@arm.com>
13073         [BZ #19462]
13074         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13075         (_STRING_INLINE_unaligned): This.
13076         * include/string.h: Include <string_private.h>.
13077         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13078         _STRING_INLINE_unaligned.
13079         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13080         (_STRING_INLINE_unaligned): New.
13081         * sysdeps/aarch64/string_private.h: New file.
13082         * sysdeps/generic/string_private.h: Likewise.
13083         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13084         * sysdeps/s390/string_private.h: Likewise.
13085         * sysdeps/x86/string_private.h: Likewise.
13086         * sysdeps/m68k/m680x0/m68020/bits/string.h
13087         (_STRING_ARCH_unaligned): Renamed to ...
13088         (_STRING_INLINE_unaligned): This.
13089         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13090         to ...
13091         (_STRING_INLINE_unaligned): This.
13092         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13093         to ...
13094         (_STRING_INLINE_unaligned): This.
13095         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13096         to ...
13097         (_STRING_INLINE_unaligned): This.
13099 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13100             H.J. Lu  <hongjiu.lu@intel.com>
13102         [BZ #19590]
13103         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13104         relocation.
13106 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
13108         [BZ #18665]
13109         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13110         *herrno_p.
13111         (gaih_getanswer): Document functional behviour. Return tryagain
13112         if any result is tryagain.
13113         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13114         when freed.
13115         * resolv/res_send.c: Add copyright text.
13116         (__libc_res_nsend): Document that MAXPACKET is expected.
13117         (send_vc): Document. Remove buffer reuse.
13118         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13119         size of the buffer. Add Dprint for truncated UDP buffer.
13121 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
13123         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13124         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13125         * INSTALL: Regenerate.
13127 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
13128             Jonathan Wakely  <jwakely@redhat.com>
13129             Carlos O'Donell  <carlos@redhat.com>
13131         [BZ 19439]
13132         * math/Makefile (tests): Add test-math-isinff.
13133         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13134         * math/bits/mathcalls.h [__USE_MISC]: Use
13135         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13136         functions not in C++11 and which don't conflict e.g. isinff,
13137         isinfl etc.
13138         * math/test-math-isinff.cc: New file.
13140 2016-02-12  Florian Weimer  <fweimer@redhat.com>
13142         * misc/bug18240.c (do_test): Set RLIMIT_AS.
13144 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13146         [BZ #19529]
13147         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13149 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13151         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13153 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
13155         [BZ #19550]
13156         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13157         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13158         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13159         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13160         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13161         New syscall entry.
13162         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13163         New syscall entry.
13164         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13165         syscall entry.
13167 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
13169         [BZ #18240]
13170         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13171         unsigned int wraparound.
13173 2016-01-27  Florian Weimer  <fweimer@redhat.com>
13175         [BZ #18240]
13176         * misc/bug18240.c: New test.
13177         * misc/Makefile (tests): Add it.
13179 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
13180             Joseph Myers  <joseph@codesourcery.com>
13182         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13183         load in branch delay slot when less than a word of input left.
13185 2016-01-27  Andreas Schwab  <schwab@suse.de>
13187         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13188         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13189         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13190         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13192 2016-01-26  David S. Miller  <davem@davemloft.net>
13194         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13196 2016-01-25  David S. Miller  <davem@davemloft.net>
13198         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13199         __sqrtl_finite.
13200         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13201         instead using versioned_symbol.
13202         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13203         of entries.
13205         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13206         __sqrtl_finite to GLIBC_2.23
13208 2016-01-25  Ricchard Henderson  <rth@redhat.com>
13210         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13212 2016-01-25  Andreas Schwab  <schwab@suse.de>
13214         [BZ #17514]
13215         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13216         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13217         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13218         * nptl/tst-mutex-errorcheck.c: New file.
13220 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13222         [BZ #18560]
13223         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13224         (IPCOP_semop): Likewise.
13225         (IPCOP_semget): Likewise.
13226         (IPCOP_semctl): Likewise.
13227         (IPCOP_msgsnd): Likewise.
13228         (IPCOP_msgrcv): Likewise.
13229         (IPCOP_msgget): Likewise.
13230         (IPCOP_msgctl): Likewise.
13231         (IPCOP_shmat): Likewise.
13232         (IPCOP_shmdt): Likewise.
13233         (IPCOP_shmget): Likewise.
13234         (IPCOP_shmctl): Likewise.
13236 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13238         * string/tst-endian.c: Include <libc-internal.h>.
13239         (do_test): Ignore tautological-compare warnings around
13240         "htobeXX (beXXtoh (i)) != i" and
13241         "htoleXX (leXXtoh (i)) != i" if-statements.
13243 2016-01-24  David S. Miller  <davem@davemloft.net>
13245         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13246         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13247         alias.
13248         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13249         __sqrtl_finite.
13251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13253 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
13255         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13256         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13257         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13259 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13261         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13262         (thread_func): Use new function to simplify barrier check.
13263         (do_test): Use new function to simplify checking barrier exit
13264         code, and actually join the child thread.
13266 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13268         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13269         semicolon.
13270         (__libc_tend): Likewise.
13271         (__libc_tabort): Likewise.
13273 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
13275         * sysdeps/nios2/libm-test-ulps: Update.
13276         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13277         (__gtsf2): Likewise.
13278         (__unorddf2): Likewise.
13279         (__unordsf2): Likewise.
13280         (__ledf2): Likewise.
13282 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
13284         * nis/nis_table.c (__follow_path): Disable diagnostic for
13285         uninitialized variable that is a false positive for gcc 4.7.
13286         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13288 2016-01-20  Roland McGrath  <roland@hack.frob.com>
13290         * sysdeps/nacl/lowlevellock-futex.h
13291         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13292         Always evaluate PRIVATE argument.
13294 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
13296         [BZ #19490]
13297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13298         (pthread_cond_broadcast): Use ENTRY/END
13299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13300         (pthread_cond_signal): Likewise.
13301         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13302         Likewise.
13303         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13304         Likewise.
13305         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13306         Likewise.
13308 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
13310         * sysdeps/ieee754/dbl-64/s_finite.c
13311         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13312         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13313         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13314         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13315         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13318         (__gtsf2): Add as optional for libc.so.
13319         (__unordsf2): Likewise.
13320         (__signbit): Remove for libc.so.
13321         (__signbitl): Likewise.
13323 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13325         * iconvdata/bug-iconv11.c (test_ibm93x):
13326         Use %zu printf format specifier for size_t argument.
13328 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
13330         * math/gen-libm-test.pl (parse_ulps): Do not reduce
13331         already-recorded ulps.
13332         * sysdeps/arm/libm-test-ulps: Regenerated.
13333         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13334         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13335         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13337 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13338             Paul Pluzhnikov  <ppluzhnikov@google.com>
13340         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13341         assembler not supporting AVX-512.
13343 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13345         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13347 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
13349         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13350         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13352         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13354         * sysdeps/arm/libm-test-ulps: Regenerated.
13356 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13358         [BZ #19451]
13359         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13361 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13363         [BZ #19486]
13364         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13365         * sysdeps/generic/fix-fp-int-convert-overflow.h
13366         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13367         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13368         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13369         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13370         Likewise.
13371         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13372         Avoid conversions to long int where inexact exceptions
13373         could be raised.
13374         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13375         Likewise.
13376         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13377         Avoid conversions to long long int where inexact exceptions
13378         could be raised.
13379         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13380         Likewise.
13382 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
13384         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13385         * configure: Regenerated.
13387 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13389         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13391 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
13393         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13394         outside of comment.
13396 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13398         * nptl/tst-barrier1.c: Add description on first line.
13399         * nptl/tst-barrier2.c: Likewise.
13400         * nptl/tst-barrier3.c: Likewise.
13401         * nptl/tst-barrier4.c: Likewise.
13402         * nptl/tst-barrier5.c: Likewise.
13404 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13406         [BZ #18868]
13407         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13409 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13413         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13414         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13415         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13416         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13417         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13418         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13419         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13420         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13421         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13423 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13425         [BZ #13065]
13426         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13427         new implementation.
13428         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13429         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13430         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13431         (BARRIER_IN_THRESHOLD): New macro.
13432         * nptl/pthread_barrierattr_setpshared.c
13433         (pthread_barrierattr_setpshared): Clean up.
13434         * nptl/tst-barrier4.c: Correct comment.
13435         * nptl/tst-barrier5.c: New file.
13436         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13437         (gen-as-const-headers): Remove lowlevelbarrier.sym.
13438         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13439         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13440         * nptl/lowlevelbarrier.sym: Remove.
13441         * nptl/DESIGN-barrier.txt: Remove.
13442         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13443         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13444         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13445         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13446         error.
13447         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13448         implementation.
13450 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13452         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13453         (do_child): Mask SIGRTMIN while thr is running.
13455 2016-01-15  Martin Sebor  <msebor@redhat.com>
13457         [BZ #19432]
13458         * iconvdata/Makefile: Add bug-iconv11.
13459         * iconvdata/bug-iconv11.c: New test.
13460         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13461         * iconvdata/ibm933.c: Same.
13462         * iconvdata/ibm935.c: Same.
13463         * iconvdata/ibm937.c: Same.
13464         * iconvdata/ibm939.c: Same.
13466 2016-01-15  Martin Sebor  <msebor@redhat.com>
13468         [BZ #19443]
13469         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13470         [DEBUG] (_ufc_set_bits): Declare used.
13471         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13472         [DEBUG] (print_all): Declare used.
13473         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13474         operands of the ternary ?: expression to target type.
13475         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13476         calling the undeclared abort.
13477         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13479 2016-01-15  Martin Sebor  <msebor@redhat.com>
13481         [BZ #18755]
13482         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13483         warnings.
13484         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13485         (__gai_create_helper_thread): Same.
13486         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13487         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13488         to suppress -Wmaybe-uninitialized warnings.
13490 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
13492         [BZ #19465]
13493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13494         inside if.
13495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13496         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13499 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
13501         [BZ #19466]
13502         * time/tst-mktime2.c (time_t_max): Removed.
13503         (time_t_min): Likewise.
13504         (TYPE_SIGNED): New.
13505         (TYPE_MINIMUM): Likewise.
13506         (TYPE_MAXIMUM): Likewise.
13507         (TIME_T_MIN): Likewise.
13508         (TIME_T_MAX): Likewise.
13509         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13510         and TIME_T_MIN.
13511         (do_test): Likewise.
13513 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
13515         [BZ #19467]
13516         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13517         index_Fast_Unaligned_Load flag for Excavator family CPUs.
13519 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
13521         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13523 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
13525         * benchtests/Makefile (PYTHON): Define.
13526         (bench-func): Use $(PYTHON) to run python scripts.
13527         ($(objpfx)bench-%.c): Likewise.
13529 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
13531         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13532         leading slash when `file_name' is "/".
13534 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
13536         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13537         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13538         Likewise.
13539         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13540         Likewise.
13541         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13542         Likewise.
13543         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13544         enum constant and macro.
13545         (PTRACE_SETSIGMASK): Likewise.
13546         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13547         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13548         (PTRACE_GETSIGMASK): Likewise.
13549         (PTRACE_SETSIGMASK): Likewise.
13550         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13551         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13552         Likewise.
13553         (PTRACE_SETSIGMASK): Likewise.
13554         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13555         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13556         (PTRACE_GETSIGMASK): Likewise.
13557         (PTRACE_SETSIGMASK): Likewise.
13558         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13559         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13560         Likewise.
13561         (PTRACE_SETSIGMASK): Likewise.
13562         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13563         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13564         Likewise.
13565         (PTRACE_SETSIGMASK): Likewise.
13566         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13567         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13568         Likewise.
13569         (PTRACE_SETSIGMASK): Likewise.
13570         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13572 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
13573             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13575         [BZ #19439]
13576         * math/bits/mathcalls.h
13577         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13578         prototype.
13579         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13581 2016-01-11  Andreas Schwab  <schwab@suse.de>
13583         [BZ #19253]
13584         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13585         cache when TZDEFRULES was used.
13586         * time/tst-tzname.c: New file.
13587         * time/Makefile (test): Add tst-tzname.
13588         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13589         * timezone/Makefile (test-zones): Add $(posixrules-file).
13590         ($(testdata)/$(posixrules-file)): New rule.
13592 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
13594         Fix doc quoting problems with Texinfo 5
13595         Without this change, in the info file output, Texinfo 5 quotes code
13596         in text with undirected single quotes 'like this' and generates
13597         code examples that with many PDF readers cannot be cut out of PDFs
13598         and pasted into code.
13599         * manual/libc.texinfo: Configure the libc manual like the GNU
13600         Emacs manual, by using @documentencoding and setting
13601         txicodequoteundirected and txicodequotebacktick.  This way,
13602         Texinfo 5 quotes code in text with directed single quotes ‘like
13603         this’ and produces examples that can be cut out of PDFs.  This
13604         change causes Texinfo 5 to generate info files that contain UTF-8
13605         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13606         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13608 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13610         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13611         __libc_tabort, __libc_tend): New wrappers that enforce compiler
13612         barriers to their respective compiler built-ins.
13613         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13614         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13615         * sysdeps/powerpc/sysdep.h: Likewise.
13616         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13617         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13618         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13620 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
13622         * scripts/config.guess: Revert previous shebang change.
13623         * scripts/config.sub: Likewise.
13624         * scripts/mkinstalldirs: Likewise.
13626 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13628         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13629         PPC_FEATURE2_HAS_IEEE128.
13630         * sysdeps/powerpc/dl-procinfo.c:
13631         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13633 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
13635         [BZ #19415]
13636         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13637         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
13638         (_dl_lookup_address): Rewrite using function resolver trampoline.
13639         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13640         two bits in address.
13642 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13644         * longlong.h: Change !__SHMEDIA__ to
13645         (!defined (__SHMEDIA__) || !__SHMEDIA__).
13646         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13648 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
13649             Joseph Myers  <joseph@codesourcery.com>
13650             Mark Shinwell  <shinwell@codesourcery.com>
13651             Andrew Stubbs  <ams@codesourcery.com>
13652             Rich Felker <dalias@libc.org>
13654         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13656 2016-01-07  Richard Henderson  <rth@redhat.com>
13658         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13660 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13662         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13663         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13664         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13665         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13666         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13668 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
13669             Joseph Myers  <joseph@codesourcery.com>
13671         * timezone/private.h: Update from tzcode 2015g.
13672         * timezone/tzfile.h: Likewise.
13673         * timezone/tzselect.ksh: Likewise.
13674         * timezone/zdump.c: Likewise.
13675         * timezone/zic.c: Likewise.
13676         * timezone/ialloc.c: Remove file.
13677         * timezone/scheck.c: Likewise.
13678         * timezone/Makefile (extra-objs): Remove variable.
13679         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13680         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13681         -Wno-maybe-uninitialized.
13682         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13683         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13684         (CFLAGS-ialloc.c): Remove variable.
13685         (CFLAGS-scheck.c): Likewise.
13686         * timezone/README: Update list of files from tzcode.
13688 2016-01-07  Khem Raj  <raj.khem@gmail.com>
13690         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13691         instead of __fxprintf when _LIBC is undefined.
13693 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
13695         * catgets/test-gencat.sh: Remove space after shebang.
13696         * conform/GlibcConform.pm: Likewise.
13697         * conform/check-header-lists.sh: Likewise.
13698         * conform/conformtest.pl: Likewise.
13699         * conform/linknamespace.pl: Likewise.
13700         * conform/list-header-symbols.pl: Likewise.
13701         * debug/catchsegv.sh: Likewise.
13702         * elf/genrtldtbl.awk: Likewise.
13703         * elf/tst-pathopt.sh: Likewise.
13704         * elf/tst-rtld-load-self.sh: Likewise.
13705         * grp/tst_fgetgrent.sh: Likewise.
13706         * iconvdata/gen-8bit-gap-1.sh: Likewise.
13707         * iconvdata/gen-8bit-gap.sh: Likewise.
13708         * iconvdata/gen-8bit.sh: Likewise.
13709         * iconvdata/run-iconv-test.sh: Likewise.
13710         * intl/tst-gettext.sh: Likewise.
13711         * intl/tst-gettext2.sh: Likewise.
13712         * intl/tst-gettext4.sh: Likewise.
13713         * intl/tst-gettext6.sh: Likewise.
13714         * intl/tst-translit.sh: Likewise.
13715         * io/ftwtest-sh: Likewise.
13716         * libio/test-freopen.sh: Likewise.
13717         * locale/gen-translit.pl: Likewise.
13718         * malloc/tst-mtrace.sh: Likewise.
13719         * manual/check-safety.sh: Likewise.
13720         * manual/libc-texinfo.sh: Likewise.
13721         * manual/tsort.awk: Likewise.
13722         * manual/xtract-typefun.awk: Likewise.
13723         * nptl/tst-cancel-wrappers.sh: Likewise.
13724         * nptl/tst-tls6.sh: Likewise.
13725         * posix/globtest.sh: Likewise.
13726         * posix/tst-getconf.sh: Likewise.
13727         * posix/wordexp-tst.sh: Likewise.
13728         * scripts/check-c++-types.sh: Likewise.
13729         * scripts/check-local-headers.sh: Likewise.
13730         * scripts/config.guess: Likewise.
13731         * scripts/config.sub: Likewise.
13732         * scripts/cpp: Likewise.
13733         * scripts/cross-test-ssh.sh: Likewise.
13734         * scripts/documented.sh: Likewise.
13735         * scripts/evaluate-test.sh: Likewise.
13736         * scripts/gen-libc-abis: Likewise.
13737         * scripts/gen-sorted.awk: Likewise.
13738         * scripts/list-fixed-bugs.py: Likewise.
13739         * scripts/merge-test-results.sh: Likewise.
13740         * scripts/mkinstalldirs: Likewise.
13741         * scripts/rellns-sh: Likewise.
13742         * scripts/test-installation.pl: Likewise.
13743         * scripts/update-copyrights: Likewise.
13744         * stdio-common/tst-printf.sh: Likewise.
13745         * stdio-common/tst-unbputc.sh: Likewise.
13746         * stdlib/tst-fmtmsg.sh: Likewise.
13747         * stdlib/tst-setcontext3.sh: Likewise.
13748         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13749         * sysdeps/unix/make-syscalls.sh: Likewise.
13751 2016-01-06  John David Anglin  <dave.anglin@bell.net>
13753         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13754         asm stw with atomic_exchange_rel.  Add explanatory comment.
13755         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13756         Likewise.
13758 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13760         [BZ #19122]
13761         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13762         * sysdeps/generic/dl-unistd.h: New file.
13763         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13765 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13767          [BZ #19122]
13768          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13769          * sysdeps/generic/dl-mman.h: New file.
13770          * sysdeps/mach/hurd/dl-mman.h: Likewise.
13772 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
13774         * manual/texinfo.tex: Update to version 2016-01-04.21 with
13775         trailing whitespace removed.
13776         * scripts/config.guess: Update to version 2016-01-01.
13777         * scripts/config.sub: Update to version 2016-01-01.
13778         * scripts/move-if-change: Update from gnulib.
13780 2016-01-04  Anton Blanchard  <anton@samba.org>
13782         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13783         for array indices.
13784         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13786 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
13788         * NEWS: Update copyright dates.
13789         * catgets/gencat.c (print_version): Likewise.
13790         * csu/version.c (banner): Likewise.
13791         * debug/catchsegv.sh: Likewise.
13792         * debug/pcprofiledump.c (print_version): Likewise.
13793         * debug/xtrace.sh (do_version): Likewise.
13794         * elf/ldconfig.c (print_version): Likewise.
13795         * elf/ldd.bash.in: Likewise.
13796         * elf/pldd.c (print_version): Likewise.
13797         * elf/sotruss.sh: Likewise.
13798         * elf/sprof.c (print_version): Likewise.
13799         * iconv/iconv_prog.c (print_version): Likewise.
13800         * iconv/iconvconfig.c (print_version): Likewise.
13801         * locale/programs/locale.c (print_version): Likewise.
13802         * locale/programs/localedef.c (print_version): Likewise.
13803         * login/programs/pt_chown.c (print_version): Likewise.
13804         * malloc/memusage.sh (do_version): Likewise.
13805         * malloc/memusagestat.c (print_version): Likewise.
13806         * malloc/mtrace.pl: Likewise.
13807         * manual/libc.texinfo: Likewise.
13808         * nptl/version.c (banner): Likewise.
13809         * nscd/nscd.c (print_version): Likewise.
13810         * nss/getent.c (print_version): Likewise.
13811         * nss/makedb.c (print_version): Likewise.
13812         * posix/getconf.c (main): Likewise.
13813         * scripts/test-installation.pl: Likewise.
13814         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13816         * All files with FSF copyright notices: Update copyright dates
13817         using scripts/update-copyrights.
13818         * intl/plural.c: Regenerated.
13819         * locale/programs/charmap-kw.h: Likewise.
13820         * locale/programs/locfile-kw.h: Likewise.
13822 2016-01-02  Helge Deller  <deller@gmx.de>
13824         [BZ #19285]
13825         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13826         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13827         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13828         (MADV_xxK_PAGES): Remove.
13830 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
13832         [BZ #15421]
13833         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13834         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
13835         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13836         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13838 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
13840         [BZ #19408]
13841         * sysdeps/unix/sysv/linux/personality.c: New file.
13842         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13843         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13844         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13845         (sysdep_routines): Add personality.
13846         (tests): Add tst-personality.
13847         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13848         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13849         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13850         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13851         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13852         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13853         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13854         Likewise.
13855         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13856         Likewise.
13857         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13858         Likewise.
13859         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13860         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13861         Likewise.
13863 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
13865         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13866         (PATH_ARM_SYSTYPE): Remove.
13867         (PATH_CPUINFO): Likewise.
13868         (IO_BASE_FOOTBRIDGE): Likewise.
13869         (IO_SHIFT_FOOTBRIDGE): Likewise.
13870         (struct platform): Likewise.
13871         (init_iosys): Remove compatibility code for 2.4 kernels.
13872         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
13874 2015-12-29  Florian Weimer  <fweimer@redhat.com>
13876         * malloc/tst-malloc-thread-fail.c: New file.
13877         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
13878         (tst-malloc-thread-fail): Link against libpthread.
13880 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
13882         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
13883         (get_parser): New function.
13884         (main): New function.
13886 2015-12-29  Rob Wu  <rob@robwu.nl>
13888         [BZ #19369]
13889         * resolv/res_init.c (__res_vinit): Reset defdname before use.
13891 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
13893         [BZ #19270]
13894         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13896 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
13898         [BZ #15421]
13899         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
13901 2015-12-23  Torvald Riegel  <triegel@redhat.com>
13903         [BZ #13690]
13904         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
13905         after releasing it.
13906         (__lll_robust_unlock): Likewise.
13907         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13908         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
13909         (lll_robust_unlock): Likewise.
13910         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
13911         Prevent warnings in callers.
13913 2015-12-23  Florian Weimer  <fweimer@redhat.com>
13915         * malloc/arena.c (list_lock): Update comment.
13917 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13919         * sysdeps/powerpc/hwcapinfo.c: Export symbol
13920         __parse_hwcap_and_convert_at_platform to libc.a.
13922 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13924         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
13925         platform and feature support for POWER9.
13926         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13927         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
13928         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
13929         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
13930         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
13931         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13932         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13933         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13935 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13937         Harmonize generic stdio-lock support with nptl
13939         This fixes build when _IO_funlockfile is a macro, fixes build where
13940         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
13941         stack unwind.
13943         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
13944         _IO_release_lock ): Use cleanup attribute on new
13945         _IO_acquire_lock_file variable instead of assuming that
13946         _IO_release_lock will be called.
13947         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
13948         _IO_acquire_lock_needs_exceptions_enabled.
13949         (_IO_acquire_lock_clear_flags2): New macro.
13951 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13953         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13955 2015-12-21  Florian Weimer  <fweimer@redhat.com>
13957         [BZ #19182]
13958         * malloc/arena.c (list_lock): Document lock ordering requirements.
13959         (free_list_lock): New lock.
13960         (ptmalloc_lock_all): Comment on free_list_lock.
13961         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
13962         (detach_arena): Update comment.  free_list_lock is now needed.
13963         (_int_new_arena): Use free_list_lock around detach_arena call.
13964         Acquire arena lock after list_lock.  Add comment, including FIXME
13965         about incorrect synchronization.
13966         (get_free_list): Switch to free_list_lock.
13967         (reused_arena): Acquire free_list_lock around detach_arena call
13968         and attached threads counter update.  Add two FIXMEs about
13969         incorrect synchronization.
13970         (arena_thread_freeres): Switch to free_list_lock.
13971         * malloc/malloc.c (struct malloc_state): Update comments to
13972         mention free_list_lock.
13974 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13976         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
13977         Remove functions.
13978         (sloww, sloww1): Accept argument to offset quadrant.
13979         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
13980         quadrant.
13981         (__sin, __cos): Consolidate common code into new functions.
13982         (reduce_sincos_1, do_sincos_1): New functions.
13983         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
13985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
13986         code to new functions.
13987         (reduce_sincos_2, do_sincos_2): New functions.
13988         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
13990         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
13991         common code for sincos.
13992         (__cos) [!IN_SINCOS]: Likewise.
13993         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
13994         New function.
13995         (__sincos): Use it.
13997 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
13999         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14000         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14001         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14003 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14005         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14008         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14009         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14010         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14011         index_Prefer_No_VZEROUPPER): New feature.
14012         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14013         Prefer_No_VZEROUPPER for Knights Landing.
14015 015-12-18  Torvald Riegel  <triegel@redhat.com>
14017         * math/atest-exp2.c (mp_exp_m1): Remove.
14019 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14021         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14022         syscalls.
14023         (__SYSCALL0): New macro.
14024         (__SYSCALL1): Likewise.
14025         (__SYSCALL2): Likewise.
14026         (__SYSCALL3): Likewise.
14027         (__SYSCALL4): Likewise.
14028         (__SYSCALL5): Likewise.
14029         (__SYSCALL6): Likewise.
14030         (__SYSCALL_CONCAT_X): Likewise.
14031         (__SYSCALL_CONCAT): Likewise.
14032         (__SYSCALL_DIST): Likewise.
14033         (__SYSCALL_CALL): Likewise.
14035 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14037         [BZ #19363]
14038         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14040 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14042         [BZ #19375]
14043         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14044         negative subnormals.
14046 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14049         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14050         (INTERNAL_SYSCALL_NCS): Use it.
14051         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14053 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14055         [BZ #19243]
14056         * malloc/arena.c (get_free_list): Remove assert and adjust
14057         reference count handling.  Add comment about reused_arena
14058         interaction.
14059         (reused_arena): Add comments abount get_free_list interaction.
14060         * malloc/tst-malloc-thread-exit.c: New file.
14061         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14062         (tst-malloc-thread-exit): Link against libpthread.
14064 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14066         [BZ #19367]
14067         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14068         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14069         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14070         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14071         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14073 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14075         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14076         Silvermont optimizations for Knights Landing.
14078 2015-12-15  Andreas Schwab  <schwab@suse.de>
14080         [BZ #17197]
14081         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14082         immediately after emitting SI.
14083         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14084         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14085         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14086         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14087         * iconvdata/bug-iconv10.c: New file.
14088         * iconvdata/Makefile (tests): Add bug-iconv10.
14089         ($(objpfx)bug-iconv10.out): New rule.
14091 2015-12-15  Florian Weimer  <fweimer@redhat.com>
14093         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14094         aliasing violation.
14096 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
14098         [BZ #18472]
14099         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14100         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14101         conditionals for them.
14102         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14103         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14105         sys/kdaemon.h.
14106         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14107         compat-only syscall, obsoleted in glibc 2.23.
14108         (create_module): Likewise.
14109         (get_kernel_syms): Likewise.
14110         (query_module): Likewise.
14111         (uselib): Likewise.
14112         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14114 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
14116         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14117         <linux/version.h>.
14118         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14119         conditional code.
14120         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14121         and ioshift_name initialization.
14123 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14125         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14126         Fix indentation.
14128 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14130         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14132 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14134         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14136 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
14137             Jakub Wilk  <jwilk@debian.org>
14139         [BZ #19347]
14140         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14141         to change the group of the device to the tty group.
14143 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
14145         Split large string section; add truncation advice
14146         * manual/examples/strncat.c: Remove.
14147         This example was misleading, as the code would have undefined
14148         behavior if "hello" was longer than SIZE.  Anyway, the manual
14149         shouldn't encourage strncpy+strncat for this sort of thing.
14150         * manual/string.texi (Copying Strings and Arrays): Split into
14151         three sections Copying Strings and Arrays, Concatenating Strings,
14152         and Truncating Strings, as this section was way too long.  All
14153         cross-referenced changed.  Add advice about string-truncation
14154         functions.  Remove misleading strncat example.
14156 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
14158         * manual/nss.texi (NSS Modules Interface): Document
14159         NSS_STATUS_NOTFOUND and SUCCESS.
14161 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14163         [BZ 18568]
14164         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14165         201505L, for Unicode 8.
14167 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
14169         * locale/C-translit.h: Regenerate.
14171 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14173         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14174         and U+0153.
14176 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
14178         [BZ #19351]
14179         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14180         expanding log(1+z), compare z rather than its square with epsilon
14181         to determine when to avoid evaluating the expansion.
14183         [BZ #19350]
14184         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14185         Increase overflow threshold.
14187         [BZ #19349]
14188         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14189         when small.
14191         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14192         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14193         New macro.
14194         [__LINUX_KERNEL_VERSION >= 0x040300]
14195         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14196         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14197         Likewise.
14198         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14199         Likewise.
14200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14201         Likewise.
14202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14203         Likewise.
14204         [__LINUX_KERNEL_VERSION >= 0x040300]
14205         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14206         [__LINUX_KERNEL_VERSION >= 0x040300]
14207         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14208         [__LINUX_KERNEL_VERSION >= 0x040300]
14209         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14210         [__LINUX_KERNEL_VERSION >= 0x040300]
14211         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14212         [__LINUX_KERNEL_VERSION >= 0x040300]
14213         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14215         Likewise.
14216         [__LINUX_KERNEL_VERSION >= 0x040300]
14217         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14218         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14219         Likewise.
14220         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14221         Likewise.
14222         [__LINUX_KERNEL_VERSION >= 0x040300]
14223         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14224         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14225         Likewise.
14226         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14227         Likewise.
14228         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14230         Likewise.
14231         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14232         Likewise.
14233         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14234         Likewise.
14235         [__LINUX_KERNEL_VERSION >= 0x040300]
14236         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14237         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14238         Likewise.
14239         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14240         Likewise.
14241         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14242         Likewise.
14243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14244         Likewise.
14245         [__LINUX_KERNEL_VERSION >= 0x040300]
14246         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14247         [__LINUX_KERNEL_VERSION >= 0x040300]
14248         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14249         [__LINUX_KERNEL_VERSION >= 0x040300]
14250         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14251         [__LINUX_KERNEL_VERSION >= 0x040300]
14252         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14253         [__LINUX_KERNEL_VERSION >= 0x040300]
14254         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14255         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14256         Likewise.
14257         [__LINUX_KERNEL_VERSION >= 0x040300]
14258         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14259         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14260         Likewise.
14261         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14262         Likewise.
14263         [__LINUX_KERNEL_VERSION >= 0x040300]
14264         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14266         Likewise.
14267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14268         Likewise.
14269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14270         (__ASSUME_SOCKET_SYSCALL): Likewise.
14271         (__ASSUME_BIND_SYSCALL): Likewise.
14272         (__ASSUME_CONNECT_SYSCALL): Likewise.
14273         (__ASSUME_LISTEN_SYSCALL): Likewise.
14274         (__ASSUME_ACCEPT_SYSCALL): Likewise.
14275         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14276         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14277         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14278         (__ASSUME_SEND_SYSCALL): Likewise.
14279         (__ASSUME_SENDTO_SYSCALL): Likewise.
14280         (__ASSUME_RECV_SYSCALL): Likewise.
14281         (__ASSUME_RECVFROM_SYSCALL): Likewise.
14282         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14283         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14284         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14285         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14286         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14287         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14288         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14289         Likewise.
14290         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14291         Likewise.
14292         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14293         Likewise.
14294         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14295         Likewise.
14296         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14297         Likewise.
14298         [__LINUX_KERNEL_VERSION >= 0x020625]
14299         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14300         [__LINUX_KERNEL_VERSION >= 0x020625]
14301         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14302         [__LINUX_KERNEL_VERSION >= 0x020625]
14303         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14304         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14305         Likewise.
14306         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14307         Likewise.
14308         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14309         Likewise.
14310         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14311         Likewise.
14312         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14313         Likewise.
14314         [__LINUX_KERNEL_VERSION >= 0x020625]
14315         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14316         [__LINUX_KERNEL_VERSION >= 0x020625]
14317         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14318         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14319         Likewise.
14320         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14321         Likewise.
14323 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14325         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14326         record the current if the current ABI and CPU support the FP64
14327         extension.
14328         (has-modd-spreg): Define to record the current if the current ABI and
14329         CPU support 32-bit floating point values in odd FPU registers.
14330         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14331         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14332         $(has-modd-spreg) equals yes.
14333         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14334         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14335         $(has-modd-spreg) equal yes.
14337 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14339         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14340         basename.
14342 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
14344         * benchtests/Makefile (bench-math): Move ffs and ffsll...
14345         (bench-string): ... here.
14346         (bench): Add bench-string.
14347         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14348         to *-benchset to reflect what they are.
14349         (benchset): Adjust.
14351         * benchtests/sincos-inputs: Add inputs from sin-inputs and
14352         cos-inputs.
14354 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
14356         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14357         __attribute__ ((__simd__)) for vector math function declarations.
14359 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14361         Fix typo in strncat, wcsncat manual entries
14362         * manual/string.texi (Copying and Concatenation): Fix typos in
14363         sample implementations of strncat and wcsncat, by having them use
14364         the old value of the destination length, not the new one.
14366 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
14368         [BZ #16961]
14369         [BZ #16962]
14370         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14371         string on the stack for strtod.
14372         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14373         a string on the stack for strtof.
14374         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14375         constructing a string on the stack for strtold.
14376         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14377         __strtold_nan to GLIBC_PRIVATE.
14378         * math/test-nan-overflow.c: New file.
14379         * math/test-nan-payload.c: Likewise.
14380         * math/Makefile (tests): Add test-nan-overflow and
14381         test-nan-payload.
14383 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14385         Consistency about byte vs character in string.texi
14386         * manual/string.texi (String and Array Utilities):
14387         Distinguish more carefully among bytes, multibyte characters,
14388         and wide characters.  Use "byte" when talking about C 'char',
14389         to distinguish it more clearly from multibyte characters.
14390         Say "wide character" or "multibyte character" instead of
14391         "character", when a wide or multibyte character is intended.
14392         Similarly for "multibyte string" versus "string".
14393         Define these terms more carefully.
14395 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
14397         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14398         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14399         Likewise.
14400         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14401         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14402         * sysdeps/sh/math_private.h: New file.
14403         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14404         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14405         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14406         long double function name.
14407         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14408         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14409         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14410         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14411         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14413         Remove __finitel, __isinfl, and __isnanl.
14414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14415         Likewise.
14416         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14418         Remove __finitel.
14419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14420         Likewise.
14421         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14423 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
14425         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14426         installed libmvec_nonshared.a.
14428 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14430         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14431         (sysdep_routines): Likewise.
14432         (sysdep-rtld-routines): Likewise.
14433         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14434         [$(subdir) = nptl](tests-static): test-get_hwcap-static
14435         * sysdeps/powerpc/Versions: Added new
14436         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14437         * sysdeps/powerpc/hwcapinfo.c: New file.
14438         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14439         and parse hwcap, hwcap2 and platform number information.
14440         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
14441         to store HWCAP+HWCAP2 and platform number.
14442         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14443         for HWCAP+HWCAP2 and platform number in the TCB.
14444         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
14445         the HWCAP, HWCAP2 and platform number in the TCB.
14446         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14447         (TLS_INIT_TP): Included calls to add the hwcap and
14448         at_platform values in the TCB in TP initialization.
14449         (TLS_DEFINE_INIT_TP): Likewise.
14450         (THREAD_GET_HWCAP): New macro.
14451         (THREAD_SET_HWCAP): Likewise.
14452         (THREAD_GET_AT_PLATFORM): Likewise.
14453         (THREAD_SET_AT_PLATFORM): Likewise.
14454         * sysdeps/powerpc/powerpc32/dl-machine.h:
14455         (dl_platform_init): New function that calls
14456         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14457         powerpc32.
14458         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14459         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
14460         this functionality, static linking case.
14461         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
14462         linking case.
14463         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14464         __parse_hwcap_and_convert_at_platform for the static linking case.
14465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14466         Included the new __parse_hwcap_and_convert_at_platform symbol in the
14467         ABI list for GLIBC 2.23.
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14469         Likewise.
14470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14471         Likewise.
14473 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
14475         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14476         * configure: Regenerate.
14477         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14478         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
14480 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
14482         * iconvdata/ibm930.c: Add comment explaining encoding uses.
14483         * iconvdata/ibm933.c: Likewise.
14484         * iconvdata/ibm935.c: Likewise.
14485         * iconvdata/ibm937.c: Likewise.
14486         * iconvdata/ibm939.c: Likewise.
14488 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14490         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14491         pthread_join.
14492         * nptl/tst-cancel21.c (tf): Likewise.
14494 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
14496         [BZ #19313]
14497         * bits/typesizes.h (__CPU_MASK_TYPE): New.
14498         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14499         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14500         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14501         Likewise.
14502         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14503         Likewise.
14504         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14505         Likewise.
14506         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14507         Likewise.
14508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14509         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14510         unsigned long int with __CPU_MASK_TYPE.
14512 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14514         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14516 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
14518         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14519         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14520         t512.x.
14521         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14523 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
14525         [BZ #19214]
14526         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14527         argument to return extended model.  Update family and model
14528         with extended family and model when family == 0x0f.
14529         (init_cpu_features): Updated.
14531 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14533         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14534         signed off_t, so 32bit bigger than 2GiB values are fine actually.
14536         * sysdeps/mach/hurd/mmap64.c: New file.
14538 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
14540         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14541         rights for its main user thread in NEWTASK.
14543 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
14545         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14546         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14548 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
14550         [BZ #14259]
14551         * Makeconfig: Rename localedir to complocaledir.
14552         Rename inst_localedir to inst_complocaledir.
14553         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14554         * config.make.in: Use complocaledir and libc_cv_complocaledir.
14555         * configure.ac: Use libc_cv_complocaledir.
14556         * configure: Regenerate.
14557         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14558         -DCOMPLOCALEDIR.
14559         * locale/findlocale.c: Use COMPLOCALEDIR.
14560         * locale/loadarchive.c: Likewise.
14561         * locale/programs/locale.c: Likewise.
14562         * locale/programs/localedef.c: Likewise.
14563         * locale/programs/locarchive.c: Likewise.
14564         * localedata/Makefile: Use inst_complocaledir.
14565         * sysdeps/gnu/configure: Regenerate.
14566         * sysdeps/hppa/configure: Regenerate.
14567         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14568         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14570         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14571         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14572         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14573         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14575 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
14577         [BZ #19058]
14578         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14579         AS_NEEDED.
14580         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14581         workaround.
14582         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14583         libmvec-static-only-routines): Added new file.
14584         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14586 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14588         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14589         of interrupted RPC instead of restoring it.
14591         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14592         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14593         libc_hidden_def.
14594         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14595         into initialized data instead of common. Define rtld_hidden_data_def.
14596         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14597         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14598         libc_hidden_def.
14599         (if_freenameindex): Add libc_hidden_weak.
14600         (if_nameindex): Add libc_hidden_weak.
14601         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14602         __open64.
14603         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14604         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14605         * sysdeps/mach/nanosleep.c: Include <time.h>
14606         (__nanosleep): Rename to __libc_nanosleep.
14607         (__nanosleep): Add weak_alias.
14608         (nanosleep): Update alias.
14610 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
14612         * stdlib/strtod_nan.c: New file.
14613         * stdlib/strtod_nan_double.h: Likewise.
14614         * stdlib/strtod_nan_float.h: Likewise.
14615         * stdlib/strtod_nan_main.c: Likewise.
14616         * stdlib/strtod_nan_narrow.h: Likewise.
14617         * stdlib/strtod_nan_wide.h: Likewise.
14618         * stdlib/strtof_nan.c: Likewise.
14619         * stdlib/strtold_nan.c: Likewise.
14620         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14621         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14622         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14623         * wcsmbs/wcstod_nan.c: Likewise.
14624         * wcsmbs/wcstof_nan.c: Likewise.
14625         * wcsmbs/wcstold_nan.c: Likewise.
14626         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14627         strtold_nan.
14628         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14629         wcstof_nan.
14630         * include/stdlib.h (__strtof_nan): Declare and use
14631         libc_hidden_proto.
14632         (__strtod_nan): Likewise.
14633         (__strtold_nan): Likewise.
14634         (__wcstof_nan): Likewise.
14635         (__wcstod_nan): Likewise.
14636         (__wcstold_nan): Likewise.
14637         * include/wchar.h (____wcstoull_l_internal): Declare.
14638         * stdlib/strtod_l.c: Do not include <ieee754.h>.
14639         (____strtoull_l_internal): Remove declaration.
14640         (STRTOF_NAN): Define macro.
14641         (SET_MANTISSA): Remove macro.
14642         (STRTOULL): Likewise.
14643         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14644         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14645         (STRTOF_NAN): Define macro.
14646         (SET_MANTISSA): Remove macro.
14647         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14648         (SET_MANTISSA): Remove macro.
14649         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14650         macro.
14651         (SET_MANTISSA): Remove macro.
14652         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14653         macro.
14654         (SET_MANTISSA): Remove macro.
14655         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14656         (SET_MANTISSA): Remove macro.
14657         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14658         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14659         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14661         [BZ #19266]
14662         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14663         upper case and lower case letters inside NAN(), not using TOLOWER.
14664         * stdlib/tst-strtod-nan-locale-main.c: New file.
14665         * stdlib/tst-strtod-nan-locale.c: Likewise.
14666         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14667         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14668         Depend on $(gen-locales).
14669         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14670         * wcsmbs/tst-wcstod-nan-locale.c: New file.
14671         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14672         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14673         Depend on $(gen-locales).
14674         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14676 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
14678         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14680         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14682         __finitel, __isinfl, and __isnanl.
14683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14684         Likewise.
14685         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14687         __finitel.
14688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14689         Likewise.
14690         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14692 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14694         * malloc/memusage.c (me): Remove redundant getenv call.
14696 2015-10-24  Florian Weimer  <fweimer@redhat.com>
14698         [BZ #19143]
14699         [BZ #19164]
14700         * nptl/check-cpuset.h: Remove.
14701         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14702         Remove CPU set size check.
14703         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14704         Likewise.
14705         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14706         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14707         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14708         (__pthread_setaffinity_new): Remove CPU set size check.
14709         * sysdeps/unix/sysv/linux/sched_setaffinity.c
14710         (__kernel_cpumask_size): Remove.
14711         (__sched_setaffinity_new): Remove CPU set size check.
14712         * manual/threads.texi (Default Thread Attributes): Remove stale
14713         reference to check_cpuset_attr, determine_cpumask_size in comment.
14714         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14715         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
14716         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14717         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14718         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14719         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14720         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14721         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14722         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14723         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14724         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14725         skeleton test file.
14726         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
14727         tst-affinity-pid.
14729 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14731         * scripts/update-abilist.sh: New file.
14732         * Makefile (+subdir_targets): Add subdir_update-all-abi.
14733         * Makerules (update-all-abi-%, update-all-abi)
14734         (subdir_update-all-abi): New targets.
14735         * elf/Makefile (update-all-abi): New target.
14737 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14739         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14740         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14741         (__libc_lock_define_initialized): Use it.
14742         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14743         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14744         * malloc/malloc.c (main_arena): Likewise.
14745         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14746         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14748 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
14750         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14751         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14752         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14753         (PTRACE_O_MASK): Update value.
14754         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14755         New value in enum __ptrace_setoptions.
14756         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14757         (PTRACE_O_MASK): Update value.
14758         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14759         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14760         (PTRACE_O_MASK): Update value.
14761         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14762         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14763         (PTRACE_O_MASK): Update value.
14764         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14765         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14766         (PTRACE_O_MASK): Update value.
14767         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14768         New value in enum __ptrace_setoptions.
14769         (PTRACE_O_MASK): Update value.
14770         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14771         New value in enum __ptrace_setoptions.
14772         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14773         (PTRACE_O_MASK): Update value.
14775         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14776         New macro.
14777         (PACKET_AUXDATA): Likewise.
14778         (PACKET_ORIGDEV): Likewise.
14779         (PACKET_VERSION): Likewise.
14780         (PACKET_HDRLEN): Likewise.
14781         (PACKET_RESERVE): Likewise.
14782         (PACKET_TX_RING): Likewise.
14783         (PACKET_LOSS): Likewise.
14784         (PACKET_VNET_HDR): Likewise.
14785         (PACKET_TX_TIMESTAMP): Likewise.
14786         (PACKET_TIMESTAMP): Likewise.
14787         (PACKET_FANOUT): Likewise.
14788         (PACKET_TX_HAS_OFF): Likewise.
14789         (PACKET_QDISC_BYPASS): Likewise.
14790         (PACKET_ROLLOVER_STATS): Likewise.
14791         (PACKET_FANOUT_DATA): Likewise.
14792         (PACKET_MR_UNICAST): Likewise.
14794         [BZ #19242]
14795         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14796         (TOUPPER): Likewise.
14797         * stdlib/tst-strtol-locale-main.c: New file.
14798         * stdlib/tst-strtol-locale.c: Likewise.
14799         * stdlib/Makefile (tests): Add tst-strtol-locale.
14800         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14801         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14802         Depend on $(gen-locales).
14803         * wcsmbs/tst-wcstol-locale.c: New file.
14804         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14805         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14806         tr_TR.ISO-8859-9.
14807         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14808         Depend on $(gen-locales).
14810 2015-11-20  Roland McGrath  <roland@hack.frob.com>
14812         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14813         __glibc_likely instead of __builtin_expect.  After falling back to
14814         dyncode_create in a non-ET_DYN case, use the allocate_code_data
14815         system interface to register the code pages as occupied.
14817 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
14819         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14820         [!ARM_MATH_PRIVATE_H].
14821         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14822         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14823         [!HPPA_MATH_PRIVATE_H].
14824         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14825         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14826         to [!I386_MATH_PRIVATE_H].
14827         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14828         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14829         Change guard to [!M68K_MATH_PRIVATE_H].
14830         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14831         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14832         guard to [!MICROBLAZE_MATH_PRIVATE_H].
14833         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14834         macro.
14835         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14836         [!MIPS_MATH_PRIVATE_H].
14837         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14838         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14839         [!NIO2_MATH_PRIVATE_H].
14840         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14841         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14842         [!TILE_MATH_PRIVATE_H].
14843         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14845         [BZ #15421]
14846         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14847         initialize with 0 and define as weak alias of __signgam.
14848         * include/math.h [!_ISOMAC] (__signgam): Declare.
14849         * math/Makefile (libm-calls): Add w_lgamma_compat.
14850         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14851         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14852         test-signgam-ullong-init.
14853         (tests-static): Add test-signgam-uchar-static,
14854         test-signgam-uchar-init-static, test-signgam-uint-static,
14855         test-signgam-uint-init-static, test-signgam-ullong-static and
14856         test-signgam-ullong-init-static.
14857         (CFLAGS-test-signgam-uchar.c): New variable.
14858         (CFLAGS-test-signgam-uchar-init.c): Likewise.
14859         (CFLAGS-test-signgam-uchar-static.c): Likewise.
14860         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14861         (CFLAGS-test-signgam-uint.c): Likewise.
14862         (CFLAGS-test-signgam-uint-init.c): Likewise.
14863         (CFLAGS-test-signgam-uint-static.c): Likewise.
14864         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14865         (CFLAGS-test-signgam-ullong.c): Likewise.
14866         (CFLAGS-test-signgam-ullong-init.c): Likewise.
14867         (CFLAGS-test-signgam-ullong-static.c): Likewise.
14868         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14869         * math/Versions (libm): Add GLIBC_2.23.
14870         * math/lgamma-compat.h: New file.
14871         * math/test-signgam-main.c: Likewise.
14872         * math/test-signgam-uchar-init-static.c: Likewise.
14873         * math/test-signgam-uchar-init.c: Likewise.
14874         * math/test-signgam-uchar-static.c: Likewise.
14875         * math/test-signgam-uchar.c: Likewise.
14876         * math/test-signgam-uint-init-static.c: Likewise.
14877         * math/test-signgam-uint-init.c: Likewise.
14878         * math/test-signgam-uint-static.c: Likewise.
14879         * math/test-signgam-uint.c: Likewise.
14880         * math/test-signgam-ullong-init-static.c: Likewise.
14881         * math/test-signgam-ullong-init.c: Likewise.
14882         * math/test-signgam-ullong-static.c: Likewise.
14883         * math/test-signgam-ullong.c: Likewise.
14884         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
14885         wrapper of w_lgamma_main.c.
14886         * math/w_lgamma_compat.c: New file.
14887         * math/w_lgamma_compatf.c: Likewise.
14888         * math/w_lgamma_compatl.c: Likewise.
14889         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
14890         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14891         defining compatibility symbols.
14892         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
14893         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
14894         wrapper of w_lgammaf_main.c.
14895         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
14896         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14897         defining compatibility symbols.
14898         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
14899         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
14900         wrapper of w_lgammal_main.c.
14901         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
14902         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14903         defining compatibility symbols.
14904         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
14905         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
14906         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
14907         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
14908         <lgamma-compat.h>.
14909         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
14910         (__ieee754_gamma): Define as alias.
14911         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
14912         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
14913         <lgamma-compat.h>.
14914         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
14915         (__ieee754_gammaf): Define as alias.
14916         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
14917         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
14918         <lgamma-compat.h>.
14919         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
14920         (__ieee754_gammal): Define as alias.
14921         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
14922         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
14923         <math/w_lgamma_compat.c>.
14924         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
14925         Define as alias of __lgamma_compat and use in defining lgammal.
14926         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
14927         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
14928         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
14929         (USE_AS_COMPAT): New macro.
14930         (LGAMMA_OLD_VER): Undefine and redefine.
14931         (lgammal): Do not define here.
14932         (gammal): Only define here if [GAMMA_ALIAS].
14933         * conform/linknamespace.pl (@whitelist): Remove signgam.
14934         * sysdeps/nacl/libm.abilist: Update.
14935         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14936         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14937         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14938         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14939         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14940         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14941         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14942         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14943         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14944         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14945         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14946         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14948         Likewise.
14949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14950         Likewise.
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14952         Likewise.
14953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14954         Likewise.
14955         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14956         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14957         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14958         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14959         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14961         Likewise.
14962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14963         Likewise.
14964         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14965         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14966         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14968 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14970         [BZ #16364]
14971         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
14972         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
14974 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14976         * sysdeps/s390/fpu/bits/mathinline.h:
14977         Use __asm__ [__volatile__] instead of asm [volatile].
14978         * sysdeps/s390/abort-instr.h: Likewise.
14979         * sysdeps/s390/atomic-machine.h: Likewise.
14980         * sysdeps/s390/bits/string.h: Likewise.
14981         * sysdeps/s390/dl-tls.h: Likewise.
14982         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14983         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14984         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14985         * sysdeps/s390/fpu/fesetround.c: Likewise.
14986         * sysdeps/s390/fpu/fpu_control.h: Likewise.
14987         * sysdeps/s390/fpu/s_fma.c: Likewise.
14988         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
14989         * sysdeps/s390/memusage.h: Likewise.
14990         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
14991         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
14992         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
14993         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
14994         * sysdeps/s390/nptl/tls.h: Likewise.
14995         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
14996         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14997         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14998         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14999         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15000         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15001         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15002         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15003         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15004         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15005         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15006         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15007         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15008         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15009         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15010         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15011         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15012         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15013         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15014         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15015         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15016         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15017         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15019 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15020             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15022         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15023         Add lwarx hint, and use macro for acquire instruction.
15024         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15025         Likewise.
15026         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15027         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15028         update to use new atomic macros.
15030 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15032         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15033         (__lll_trylock_elision): Fix setting of adapt_count.
15034         * sysdeps/unix/sysv/linux/powerpc/htm.h
15035         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15036         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15037         (_ABORT_SYSCALL): Renumber, and clarify definition.
15038         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15040 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15042         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15043         after system headers to prevent MIN/MAX redefinition.  Define
15044         HAVE_ALLOCA to preserve builtin alloca usage.
15046 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15049         static and don't set or restore rounding.
15050         (__cos)[IN_SINCOS]: Likewise.
15051         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15052         (__sincos): Set and restore rounding mode.  Remove check for infinite
15053         or NaN input.
15055         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15057         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15058         as used.
15060 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15062         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15064 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15066         * config.make.in (have-glob-dat-reloc): New.
15067         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15068         target supports GLOB_DAT relocaton. AC_SUBST.
15069         * configure: Regenerated.
15070         * elf/Makefile (tests): Add tst-prelink.
15071         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15072         (tst-prelink-ENV): New.
15073         ($(objpfx)tst-prelink-conflict.out): Likewise.
15074         ($(objpfx)tst-prelink-cmp.out): Likewise.
15075         * sysdeps/x86/tst-prelink.c: Moved to ...
15076         * elf/tst-prelink.c: Here.
15077         * sysdeps/x86/tst-prelink.exp: Moved to ...
15078         * elf/tst-prelink.exp: Here.
15079         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15080         (tst-prelink-ENV): Removed.
15081         ($(objpfx)tst-prelink-conflict.out): Likewise.
15082         ($(objpfx)tst-prelink-cmp.out): Likewise.
15083         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15085 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
15087         [BZ #14551]
15088         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15089         (__mpn_construct_long_double): If high part overflows to infinity,
15090         set errno and recompute overflowed result of the correct sign.
15091         * sysdeps/ieee754/ldbl-128ibm/Makefile
15092         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15093         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15094         $(libm).
15095         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15097 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
15099         [BZ #15479]
15100         [BZ #19238]
15101         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15102         floating-point state after first operation on input.  Restore full
15103         state rather than just rounding mode.
15104         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15105         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15106         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15108         [BZ #19235]
15109         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15110         add 0.5 to integer arguments.
15111         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15112         Likewise.
15113         (.LC2): New object.
15115 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
15117         * scripts/pylintrc (reports): Set to no.
15119 2015-11-10  Roland McGrath  <roland@hack.frob.com>
15121         * elf/dl-load.c (open_verify): Take new argument FD.
15122         Skip __open call if passed FD is not -1.
15123         (_dl_map_object, open_path): Update callers.
15124         * elf/dl-sysdep-open.h: New file.
15125         * elf/dl-load.c: Include it.
15126         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15127         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15128         * sysdeps/nacl/dl-sysdep-open.h: New file.
15129         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15130         from libc to rtld.
15132 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15134         [BZ #19228]
15135         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15136         and restore full floating-point state.
15137         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15138         Likewise.
15139         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15140         Likewise.
15141         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15142         Likewise.
15143         * math/test-nearbyint-except-2.c: New file.
15144         * math/Makefile (tests): Add test-nearbyint-except-2.
15146 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
15148         [BZ #19178]
15149         * sysdeps/x86/Makefile (tests): Add tst-prelink.
15150         (tst-prelink-ENV): New.
15151         ($(objpfx)tst-prelink-conflict.out): Likewise.
15152         ($(objpfx)tst-prelink-cmp.out): Likewise.
15153         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15154         * sysdeps/x86/tst-prelink.c: New file.
15155         * sysdeps/x86/tst-prelink.exp: Likewise.
15157 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15159         * math/auto-libm-test-in: Add another test of pow.
15160         * math/auto-libm-test-out: Regenerated.
15161         * math/libm-test.inc (pow_test_data): Add another test.
15163 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15165         [BZ #19219]
15166         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15167         weak_alias to nearbyintl.
15169 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15171         * sysdeps/aarch64/bits/string.h: New file.
15172         (_STRING_ARCH_unaligned): Define.
15174 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15176         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15177         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15178         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15179         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15182 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
15184         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15185         for original name of the DSO.  Add it to the name list of the DSO
15186         if it is actually given.
15187         (_dl_map_object): Keep track of whether an audit module rewrote
15188         the file name.  If yes, pass the original name to
15189         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
15190         debugging is enabled, log the change of the file name.
15191         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15192         _dl_map_object_from_fd.
15193         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15194         * elf/tst-audit11.c: New file
15195         * elf/tst-auditmod11.c: New file.
15196         * elf/tst-audit11mod1.c: New file.
15197         * elf/tst-audit11mod2.c: New file.
15198         * elf/tst-audit11mod2.map: New file.
15199         * elf/tst-audit12.c: New file
15200         * elf/tst-auditmod12.c: New file.
15201         * elf/tst-audit12mod1.c: New file.
15202         * elf/tst-audit12mod2.c: New file.
15203         * elf/tst-audit12mod2.map: New file.
15204         * elf/tst-audit12mod3.c: New file.
15206 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15208         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15209         Don't create weak aliases,
15210         because versioned symbols are created later.
15211         * sysdeps/s390/s390-32/setjmp.S
15212         (setjmp, _setjmp): Remove weak and rename to an unique name
15213         in SHARED case due to existing versioned symbols.
15214         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15215         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15216         (getcontext): Create weak alias only in non SHARED case.
15217         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15219 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15221         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15222         (__ASSUME_*_SYSCALL) Define new macros.
15223         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15224         Remove socketcall syscalls.
15225         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15226         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15227         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15228         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15229         * sysdeps/unix/sysv/linux/send.c (__libc_send):
15230         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15232 2015-11-09  Florian Weimer  <fweimer@redhat.com>
15234         [BZ #12926]
15235         Terminate process on invalid netlink response.
15236         * sysdeps/unix/sysv/linux/netlinkaccess.h
15237         (__netlink_assert_response): Declare.
15238         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15239         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15240         (sysdep_routines): Add netlink_assert_response.
15241         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15242         __netlink_assert_response.
15243         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15244         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15245         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15246         __netlink_assert_response.
15248 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15250         [BZ #19178]
15251         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15252         (RTYPE_CLASS_PLT): Likewise.
15253         (RTYPE_CLASS_COPY): Likewise.
15254         (RTYPE_CLASS_TLS): Likewise.
15255         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15256         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
15257         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15258         DL_DEBUG_PRELINK.
15260 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
15262         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15263         calls with argument -0.5.
15264         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15266         * configure.ac (libc_cv_z_nodelete): Remove configure test.
15267         (libc_cv_z_nodlopen): Likewise.
15268         (libc_cv_z_initfirst): Likewise.
15269         * configure: Regenerated.
15271 2015-11-06  Florian Weimer  <fweimer@redhat.com>
15273         Simplify abilist format to be line-based.
15274         * scripts/abilist.awk: Collect descriptors in the descs variable.
15275         (emit): Write descs variable and sort it
15276         externally, with sort.
15277         * sysdeps/**/*.abilist: Convert to new format.
15279 2015-11-06  Mark Wielaard  <mjw@redhat.com>
15281         [BZ #11460]
15282         * io/Makefile (routines): Add fts64.
15283         (tests): Add tst-fts and tst-fts-lfs.
15284         (CFLAGS-fts64.c): New.
15285         * io/Versions (GLIBC_2.23): New.
15286         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15287         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15288         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15289         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15290         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15291         (FTSENT64): Likewise.
15292         (fts64_children): Likewise.
15293         (fts64_close): Likewise.
15294         (fts64_open): Likewise.
15295         (fts64_read): Likewise.
15296         (fts64_set): Likewise.
15297         * io/fts64.c: New file.
15298         * io/tst-fts.c: New test.
15299         * io/tst-fts-lfs.c: Likewise.
15300         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15301         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15302         fts64_set.
15303         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15304         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15305         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15306         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15307         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15308         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15309         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15310         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15311         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15312         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15313         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15314         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15315         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15317         Likewise.
15318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15319         Likewise.
15320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15322         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15323         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15324         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15325         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15326         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15329         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15330         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15331         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15332         * sysdeps/wordsize-64/fts.c: New file.
15333         * sysdeps/wordsize-64/fts64.c: Likewise.
15334         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15335         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15336         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15337         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15339 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15341         * math/libm-test.inc (NON_FINITE): New macro.
15342         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15343         * math/gen-libm-test.pl (show_exceptions): Add argument
15344         $non_finite.
15345         (parse_args): Update call to show_exceptions.
15346         * math/test-math-finite.h: New file.
15347         * math/test-math-no-finite.h: Likewise.
15348         * math/test-double-finite.c: Likewise.
15349         * math/test-float-finite.c: Likewise.
15350         * math/test-ldouble-finite.c: Likewise.
15351         * math/test-double.c: Include "test-math-no-finite.h".
15352         * math/test-float.c: Include "test-math-no-finite.h".
15353         * math/test-ldouble.c: Include "test-math-no-finite.h".
15354         * math/test-math-inline.h (TEST_FINITE): New macro.
15355         * math/test-math-vector.h (TEST_FINITE): Likewise.
15356         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15357         (libm-tests): Add test-float-finite and test-double-finite.
15358         ($(objpfx)test-float-finite.o): New dependency on
15359         $(objpfx)libm-test.stmp.
15360         ($(objpfx)test-double-finite.o): Likewise.
15361         ($(objpfx)test-ldouble-finite.o): Likewise.
15362         (libm-test-no-inline-cflags): New variable.
15363         (libm-test-finite-cflags): Likewise.
15364         (CFLAGS-test-float-finite.c): Likewise.
15365         (CFLAGS-test-double-finite.c): Likewise.
15366         (CFLAGS-test-ldouble-finite.c): Likewise.
15367         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15368         (CFLAGS-test-double.c): Likewise.
15369         (CFLAGS-test-ldouble.c): Likewise.
15371 2015-11-05  Roland McGrath  <roland@hack.frob.com>
15373         * io/fcntl.c (__fcntl): Add ... to prototype.
15374         * misc/ioctl.c (__ioctl): Likewise.
15375         * misc/syscall.c (syscall): Likewise.
15377 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15379         * scripts/list-fixed-bugs.py: New file.
15381         [BZ #19213]
15382         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15383         returned for argument 1.
15384         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15385         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15386         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15387         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15388         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15389         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15391         [BZ #19211]
15392         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15393         __USE_XOPEN], not if [!__USE_ISOC99].
15394         (lgammaf): Likewise.
15395         (lgammal): Likewise.
15396         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15397         (gammaf): Likewise.
15398         (gammal): Likewise.
15399         * math/test-signgam-finite-c11.c: New file.
15400         * math/test-signgam-finite-c99.c: Likewise.
15401         * math/test-signgam-finite.c: Likewise.
15402         * math/Makefile (tests): Add test-signgam-finite,
15403         test-signgam-finite-c99 and test-signgam-finite-c11.
15404         (CFLAGS-test-signgam-finite.c): New variable.
15405         (CFLAGS-test-signgam-finite-c99.c): Likewise.
15406         (CFLAGS-test-signgam-finite-c11.c): Likewise.
15408         [BZ #19212]
15409         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15410         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15411         500].
15412         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15413         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15414         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15415         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15416         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15417         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15418         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15419         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15420         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15421         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15423         [BZ #19209]
15424         * math/bits/math-finite.h (ldexp): Remove declaration.
15425         (ldexpf): Likewise.
15426         (ldexpl): Likewise.
15428         [BZ #19205]
15429         * math/bits/math-finite.h (acosf): Condition declaration on
15430         [__USE_ISOC99].
15431         (acosl): Likewise.
15432         (acoshf): Likewise.
15433         (acoshl): Likewise.
15434         (asinf): Likewise.
15435         (asinl): Likewise.
15436         (atan2f): Likewise.
15437         (atan2l): Likewise.
15438         (atanhf): Likewise.
15439         (atanhl): Likewise.
15440         (coshf): Likewise.
15441         (coshl): Likewise.
15442         (expf): Likewise.
15443         (expl): Likewise.
15444         (fmodf): Likewise.
15445         (fmodl): Likewise.
15446         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15447         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15448         (j0l): Likewise.
15449         (y0f): Likewise.
15450         (y0l): Likewise.
15451         (j1f): Likewise.
15452         (j1l): Likewise.
15453         (y1f): Likewise.
15454         (y1l): Likewise.
15455         (jnf): Likewise.
15456         (jnl): Likewise.
15457         (ynf): Likewise.
15458         (ynl): Likewise.
15459         (lgammaf_r): Condition declaration on [__USE_ISOC99].
15460         (lgammal_r): Likewise.
15461         (__lgamma_r_finite): New declaration.
15462         (__lgammaf_r_finite): Likewise.
15463         (__lgammal_r_finite): Likewise.
15464         (lgamma): Use __lgamma_r_finite.
15465         (lgammaf): Condition definition on [__USE_ISOC99].  Use
15466         __lgammaf_r_finite.
15467         (lgammal): Condition definition on [__USE_ISOC99].  Use
15468         __lgammal_r_finite.
15469         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
15470         __lgamma_r_finite.
15471         (gammaf): Condition definition on [__USE_ISOC99].  Use
15472         __lgammaf_r_finite.
15473         (gammal): Condition definition on [__USE_ISOC99].  Use
15474         __lgammal_r_finite.
15475         (logf): Condition declaration on [__USE_ISOC99].
15476         (logl): Likewise.
15477         (log10f): Likewise.
15478         (log10l): Likewise.
15479         (ldexpf): Likewise.
15480         (ldexpl): Likewise.
15481         (powf): Likewise.
15482         (powl): Likewise.
15483         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15484         __USE_ISOC99].
15485         (remainderf): Condition declaration on [__USE_ISOC99].
15486         (remainderl): Likewise.
15487         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15488         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15489         (scalbl): Likewise.
15490         (sinhf): Condition declaration on [__USE_ISOC99].
15491         (sinhl): Likewise.
15492         (sqrtf): Likewise.
15493         (sqrtl): Likewise.
15495 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15497         * sysdeps/arm/atomic-machine.h
15498         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15499         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15500         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15501         Remove conditional code.
15502         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15503         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15504         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15505         Change conditional to [__ASSEMBLER__].
15506         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15507         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15508         [!__ASSEMBLER__].
15509         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15510         code.
15511         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15512         conditional macro definitions.
15513         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15514         (__arch_compare_and_exchange_val_16_acq): Likewise.
15515         (__arch_compare_and_exchange_val_32_acq): Likewise.
15516         (atomic_exchange_and_add): Likewise.
15517         (atomic_add): Likewise.
15518         (atomic_add_negative): Likewise.
15519         (atomic_add_zero): Likewise.
15520         (atomic_bit_set): Likewise.
15521         (atomic_bit_test_set): Likewise.
15522         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15523         code unconditional.
15524         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15526         * math/test-math-errno.h: New file.
15527         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15528         empty.
15529         (TEST_ERRNO): New macro.
15530         (TEST_EXCEPTIONS): Likewise.
15531         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15532         (TEST_EXCEPTIONS): Likewise.
15533         * math/test-math-vector.h (TEST_ERRNO): Likewise.
15534         * math/test-double.c: Include "test-math-errno.h".
15535         * math/test-float.c: Likewise.
15536         * math/test-ldouble.c: Likewise.
15537         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15538         code unconditional.
15539         (test_exceptions): Only run code if TEST_EXCEPTIONS.
15540         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15541         unconditional.
15542         (test_errno): Only run code if TEST_ERRNO.
15543         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15545 2015-11-04  Florian Weimer  <fweimer@redhat.com>
15547         * nptl/tst-once5.cc: Remove attribution.
15549 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15551         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15552         sqrt, tan, tanh, y0, y1 and yn.
15553         * math/auto-libm-test-out: Regenerated.
15554         * math/libm-test.inc (scalb_test_data): Add more tests.
15555         (scalbn_test_data): Likewise.
15556         (scalbln_test_data): Likewise.
15557         (signbit_test_data): Likewise.
15558         (sin_test_data): Likewise.
15559         (sincos_test_data): Likewise.
15560         (sinh_test_data): Likewise.
15561         (sqrt_test_data): Likewise.
15562         (tan_test_data): Likewise.
15563         (tanh_test_data): Likewise.
15564         (tgamma_test_data): Likewise.
15565         (y0_test_data): Likewise.
15566         (y1_test_data): Likewise.
15567         (yn_test_data): Likewise.
15568         (significand_test_data): Likewise.
15569         * sysdeps/i386/fpu/libm-test-ulps: Update.
15571 2015-11-03  David Kastrup  <dak@gnu.org>
15573         [BZ #18604]
15574         * assert/assert.h (assert): Don't macro-expand failed assertion
15575         expression in error message.
15576         * malloc/malloc.c (assert): Likewise.
15578 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
15580         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15581         test.
15582         * configure: Regenerated.
15584 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
15586         * math/libm-test.inc (modf_test_data): Add more tests.
15587         (nearbyint_test_data): Likewise.
15588         (nextafter_test_data): Likewise.
15589         (nexttoward_test_data): Likewise.
15590         (pow_test_data): Likewise.
15591         (remainder_test_data): Likewise.
15592         (remquo_test_data): Likewise.
15593         (rint_test_data): Likewise.
15595         [BZ #19201]
15596         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15597         Check for zero remainder in case of large exponents and ensure
15598         correct sign of result in that case.
15599         * math/libm-test.inc (remainder_test_data): Add more tests.
15601         [BZ #6799]
15602         * math/s_nextafter.c: Include <errno.h>.
15603         (__nextafter): Set errno on overflow and underflow.
15604         * math/s_nexttowardf.c: Include <errno.h>.
15605         (__nexttowardf): Set errno on overflow and underflow.
15606         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15607         (__nextafterl): Set errno on overflow and underflow.
15608         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15609         (__nexttoward): Set errno on overflow and underflow.
15610         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15611         (__nexttowardf): Set errno on overflow and underflow.
15612         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15613         (__nextafterf): Set errno on overflow and underflow.
15614         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15615         (__nextafterl): Set errno on overflow and underflow.
15616         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15617         (__nexttoward): Set errno on overflow and underflow.
15618         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15619         (__nexttowardf): Set errno on overflow and underflow.
15620         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15621         (__nextafterl): Set errno on overflow and underflow.
15622         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15623         (__nexttoward): Set errno on overflow and underflow.
15624         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15625         (__nexttowardf): Set errno on overflow and underflow.
15626         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15627         (__nexttoward): Set errno on overflow and underflow.
15628         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15629         (__nexttowardf): Set errno on overflow and underflow.
15630         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15631         (__nldbl_nexttowardf): Set errno on overflow and underflow.
15632         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15633         (__nextafterl): Set errno on overflow and underflow.
15634         * math/libm-test.inc (nextafter_test_data): Do not allow errno
15635         setting to be missing on overflow.  Add more tests.
15636         (nexttoward_test_data): Likewise.
15638         * configure.ac (libc_cv_initfini_array): Remove configure test.
15639         * configure: Regenerated.
15641 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
15643         [BZ #19189]
15644         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15645         non-finite argument handle arguments with negative sign.
15647         * math/libm-test.inc (j0_test_data): Do not test sign of zero
15648         result from infinite argument.
15649         (j1_test_data): Likewise.
15650         (jn_test_data): Likewise.
15651         (y0_test_data): Likewise.
15652         (y1_test_data): Likewise.
15653         (yn_test_data): Likewise.
15655         [BZ #16171]
15656         * math/w_remainder.c (drem): Define as weak alias of __remainder.
15657         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15658         * math/w_remainderf.c (dremf): Define as weak alias of
15659         __remainderf.
15660         * math/w_remainderl.c (dreml): Define as weak alias of
15661         __remainderl.
15662         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15663         __remainder.
15664         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15665         __remainderf.
15666         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15667         __remainderl.
15668         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15669         weak alias of remainderl.
15670         * sysdeps/ieee754/ldbl-opt/w_remainder.c
15671         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15672         alias of __remainder.
15673         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15674         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15675         strong alias of __remainderl.
15676         (dreml): Use long_double_symbol.
15677         * math/Makefile (libm-calls): Remove w_drem.
15678         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15679         (CFLAGS-nldbl-drem.c): Remove variable.
15680         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15681         * math/w_drem.c: Remove file.
15682         * math/w_dremf.c: Likewise.
15683         * math/w_dreml.c: Likewise.
15684         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15685         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15686         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15688         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15689         * sysdeps/i386/configure: Regenerated.
15690         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15691         * sysdeps/x86_64/configure: Regenerated.
15693         * configure.ac (libc_cv_asm_protected_directive): Remove configure
15694         test.
15695         (libc_cv_visibility_attribute): Likewise.
15696         (libc_cv_protected_data): Test unconditionally.
15697         (libc_cv_broken_visibility_attribute): Remove configure test.
15698         (libc_cv_have_sdata_section): Test unconditionally.
15699         * configure: Regenerated.
15701         * include/libc-internal.h (libc_max_align_t): Remove typedef.
15702         * include/scratch_buffer.h: Include <stddef.h> instead of
15703         <libc-internal.h>.
15704         (struct scratch_buffer): Use max_align_t instead of
15705         libc_max_align_t.
15707 2015-10-29  Florian Weimer  <fweimer@redhat.com>
15709         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15710         instead of extend_alloca.  Change control flow to avoid a goto.
15711         Remove assert which is trivially always true.
15713 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15715         [BZ #16068]
15716         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15717         (FE_ALL_EXCEPT_X86): New macro.
15718         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15719         FE_ALL_EXCEPT.  Ensure precision control is included in
15720         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15721         handle "denormal operand exception" and clear FZ and DAZ bits.
15722         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15723         (FE_ALL_EXCEPT_X86): New macro.
15724         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15725         FE_ALL_EXCEPT.  Ensure precision control is included in
15726         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15727         handle "denormal operand exception" and clear FZ and DAZ bits.
15728         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15729         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15730         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15731         test-fenv-x87 and test-fenv-sse-2.
15732         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15734         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15735         * math/test-double.h (BUILD_COMPLEX): New macro.
15736         * math/test-float.h (BUILD_COMPLEX): Likewise.
15737         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15739         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15740         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15741         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15743         instead of DBL_DENORM_MIN in comment.
15744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15745         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15746         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15747         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15749         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15751 2015-10-28  Florian Weimer  <fweimer@redhat.com>
15753         [BZ# 19048]
15754         * malloc/malloc.c (struct malloc_state): Update comment.  Add
15755         attached_threads member.
15756         (main_arena): Initialize attached_threads.
15757         * malloc/arena.c (list_lock): Update comment.
15758         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15759         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15760         (deattach_arena): New function.
15761         (_int_new_arena): Initialize arena reference count and deattach
15762         replaced arena.
15763         (get_free_list, reused_arena): Update reference count and deattach
15764         replaced arena.
15765         (arena_thread_freeres): Update arena reference count and only put
15766         unreferenced arenas on the free list.
15768 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15770         [BZ #19181]
15771         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15772         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15773         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15774         * math/test-fenv-clear-main.c: New file.
15775         * math/test-fenv-clear.c: Likewise.
15776         * math/Makefile (tests): Add test-fenv-clear.
15777         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15778         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15779         test-fenv-clear-sse.
15780         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15782         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15783         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15784         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15786 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15788         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15789         static libc.
15791 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15793         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15794         test.
15795         * sysdeps/i386/configure: Regenerated.
15796         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15797         test.
15798         * sysdeps/x86_64/configure: Regenerated.
15799         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15801         memset-avx2 unconditionally instead of conditionally on
15802         [$(config-cflags-avx2) = yes].
15803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15804         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15805         unconditional.
15806         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15807         * sysdeps/x86_64/multiarch/memset_chk.S
15808         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15809         to [IS_IN (libc) && SHARED].
15811 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15813         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15814         configure test.
15815         * sysdeps/arm/configure: Regenerated.
15816         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15817         Define variable if not already defined.
15819         [BZ #17404]
15820         * sysdeps/mips/atomic-machine.h
15821         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15822         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15823         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15825         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15826         unconditional.
15827         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15828         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15829         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15830         unconditional.
15831         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15832         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15833         unconditional.
15834         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15835         * stdlib/setenv.c
15836         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15837         code unconditional.
15838         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15839         Remove conditional code.
15840         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15841         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15842         unconditional.
15843         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15844         code.
15845         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15846         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15847         unconditional.
15848         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15849         code.
15850         * sysdeps/ieee754/ldbl-128/k_tanl.c
15851         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15852         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15853         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15854         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15855         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15856         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15857         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15858         unconditional.
15859         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15860         code.
15861         * sysdeps/ieee754/ldbl-96/k_tanl.c
15862         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15863         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15865         * nptl/tst-initializers1-c11.c: New file.
15866         * nptl/tst-initializers1-gnu11.c: Likewise.
15867         * nptl/Makefile (tests): Add these new tests.
15868         (CFLAGS-tst-initializers1-c11.c): New variable.
15869         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15871         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
15872         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
15873         instead of -std=gnu99.
15874         * configure.ac (systemtap): Test with -std=gnu11 instead of
15875         -std=gnu99.
15876         * configure: Regenerated.
15877         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
15878         in compilation command in comment.
15880         * sysdeps/nptl/configure.ac: Remove file.
15881         * sysdeps/nptl/configure: Remove generated file.
15882         * configure.ac (libc_cv_forced_unwind): Do not substitute.
15883         * configure: Regenerated.
15884         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
15885         * config.make.in (have-forced-unwind): Remove variable.
15886         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15887         unconditional.
15888         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
15889         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
15890         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
15891         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
15892         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15893         unconditional.
15895 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15897         [BZ #19174]
15898         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
15899         .skip_lock_out_of_tbegin_retries.
15900         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15901         (__lll_lock_elision): Likewise, and respect a value of
15902         try_tbegin <= 0.
15904 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15906         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
15907         statement.
15909 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15911         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
15912         variable.
15913         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15914         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15916         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
15917         of -std=c1x -D_ISOC11_SOURCE.
15919         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
15920         * configure: Regenerated.
15921         * manual/install.texi (Tools for Compilation): Document
15922         requirement for GCC 4.7 or later.
15923         * INSTALL: Regenerated.
15925 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
15927         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
15928         on CNT to a conditional jump to 'puntdata'.
15930 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15932         * configure.ac (libc_cv_gcc___thread): Remove configure test.
15933         (libc_cv_gcc_tls_model_attr): Likewise.
15934         * configure: Regenerated.
15936         * configure.ac (libc_cv_need_minus_P): Remove configure test.
15937         * configure: Regenerated.
15938         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
15940 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
15942         * configure.ac (old_glibc_headers): Remove configure test.
15943         * configure: Regenerated.
15944         * config.make.in (old-glibc-headers): Remove variable.
15945         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
15946         (install): Remove dependency on remove-old-headers.
15947         (headers2_0): Remove variable.
15948         (remove-old-headers): Remove rule.
15950         * configure.ac (libc_cv_dot_text): Remove configure test.
15951         (libc_cv_asm_set_directive): Use .text instead of
15952         ${libc_cv_dot_text} in configure test.
15953         * configure: Regenerated.
15955 2015-10-26  Florian Weimer  <fweimer@redhat.com>
15957         [BZ #19168]
15958         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15960 2015-10-26  Florian Weimer  <fweimer@redhat.com>
15962         * configure.ac (CXX): Clear the variable if the C++ toolchain does
15963         not support static linking.
15964         * configure: Regenerate.
15966 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
15968         * math/libm-test.inc (check_float_internal): Do not special-case
15969         errors up to 0.5 ulp.
15971         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15972         log2.
15973         * math/auto-libm-test-out: Regenerated.
15974         * math/libm-test.inc (MAX_EXP): New macro.
15975         (ilogb_test_data): Add more tests.
15976         (isfinite_test_data): Likewise.
15977         (isgreater_test_data): Likewise.
15978         (isgreaterequal_test_data): Likewise.
15979         (isinf_test_data): Likewise.
15980         (isless_test_data): Likewise.
15981         (islessequal_test_data): Likewise.
15982         (islessgreater_test_data): Likewise.
15983         (isnan_test_data): Likewise.
15984         (isnormal_test_data): Likewise.
15985         (issignaling_test_data): Likewise.
15986         (isunordered_test_data): Likewise.
15987         (j0_test_data): Likewise.
15988         (j1_test_data): Likewise.
15989         (jn_test_data): Likewise.
15990         (lgamma_test_data): Likewise.
15991         (log_test_data): Likewise.
15992         (log10_test_data): Likewise.
15993         (log1p_test_data): Likewise.
15994         (log2_test_data): Likewise.
15995         (logb_test_data): Likewise.
15996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15998         [BZ #18611]
15999         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16000         avoid excess range and precision on underflow.
16001         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16002         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16003         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16004         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16005         underflow.
16006         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16008         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16009         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16010         * math/auto-libm-test-in: Do not allow missing errno setting for
16011         tests of j1 and jn.
16012         * math/auto-libm-test-out: Regenerated.
16014 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16016         [BZ #15491]
16017         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16018         floating-point environment instead of clearing all exceptions.
16019         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16020         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16021         merging in "invalid" exceptions from frndint.
16022         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16023         * math/test-nearbyint-except.c: New file.
16024         * math/Makefile (tests): Add test-nearbyint-except.
16026 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16028         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16030         * sysdeps/tile/libm-test-ulps: Regenerated.
16032 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16035         (__NR_sync_file_range2): Assume it is always defined.
16036         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16037         (__NR_sync_file_range): Assume it is always defined.
16039 2015-10-22  Andreas Schwab  <schwab@suse.de>
16041         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16042         INTERNAL_SYSCALL_ERRNO.
16043         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16044         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16045         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16046         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16047         Likewise.
16048         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16050 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16052         * io/tst-fcntl.c (fd): New static variable.
16053         (do_prepare): Open temporary file here....
16054         (do_test): ...not here.
16056         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16058 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16060         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16061         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16062         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16063         Moved before "#ifdef __ASSEMBLER__".
16065 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16067         [BZ #19156]
16068         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16069         arguments very close to 0.
16071 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16073         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16074         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16076 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16078         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16079         New.  Defined for GCC 5 and above when not compiling for
16080         profiling.
16081         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16083         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16084         Renamed to ...
16085         (CFLAGS-epoll_pwait.o): This.
16086         (CFLAGS-mmap.c): Renamed to ...
16087         (CFLAGS-mmap.o): This.
16088         (CFLAGS-mmap64.c): Renamed to ...
16089         (CFLAGS-mmap64.o): This.
16090         (CFLAGS-epoll_pwait.os): New.
16091         (CFLAGS-mmap.os): Likewise.
16092         (CFLAGS-mmap64.os): Likewise.
16093         (CFLAGS-semtimedop.os): Likewise.
16094         (CFLAGS-semtimedop.c): Renamed to ...
16095         (CFLAGS-semtimedop.o): This.
16097 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16099         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16100         warning message.
16102 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16104         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16105         * Makefile ($(objpfx)c++-types-check.out): Filter out
16106         $(+gccwarn-c) instead of -Wstrict-prototypes.
16108         * io/fts.c (fts_open): Convert to prototype-style function
16109         definition.
16110         * malloc/mcheck.c (mcheck): Likewise.
16111         (mcheck_pedantic): Likewise.
16112         * posix/regexec.c (re_search_2_stub): Likewise.  Use
16113         internal_function.
16114         (re_search_internal): Likewise.
16115         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16116         prototype-style function definition.
16117         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16118         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16119         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16120         (xdr_utmpptr): Likewise.
16121         (xdr_utmparr): Likewise.
16122         (xdr_utmpidle): Likewise.
16123         (xdr_utmpidleptr): Likewise.
16124         (xdr_utmpidlearr): Likewise.
16126         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16127         log, log10 and log2.
16128         * math/auto-libm-test-out: Regenerated.
16129         * math/libm-test.inc (fmod_test_data): Add more tests.
16130         (fpclassify_test_data): Likewise.
16131         (frexp_test_data): Likewise.
16132         (hypot_test_data): Likewise.
16133         (ilogb_test_data): Likewise.
16135 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
16137         * debug/fortify_fail.c (__fortify_fail): Convert to
16138         prototype-style function definition.  Use internal_function.
16139         * libio/genops.c (save_for_backup): Convert to prototype-style
16140         function definition.
16141         * libio/wgenops.c (save_for_wbackup): Likewise.
16142         * login/grantpt.c (grantpt): Likewise.
16143         * login/ptsname.c (ptsname): Likewise.
16144         (__ptsname_r): Likewise.
16145         * login/unlockpt.c (unlockpt): Likewise.
16146         * mach/msgserver.c (__mach_msg_server): Likewise.
16147         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16148         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16149         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16150         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16151         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16152         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16153         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16154         Likewise.
16155         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
16156         internal_function.
16157         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16158         prototype-style function definition.
16159         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16160         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16161         (__pthread_create_2_0): Likewise.
16162         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16163         * nptl/register-atfork.c (__register_atfork): Likewise.
16164         * posix/glob.c (glob): Likewise.
16165         * posix/regcomp.c (re_comp): Likewise.
16166         * posix/regexec.c (re_exec): Likewise.
16167         * stdlib/add_n.c [__STDC__]: Make code unconditional.
16168         [!__STDC__]: Remove conditional code.
16169         * stdlib/cmp.c [__STDC__]: Make code unconditional.
16170         [!__STDC__]: Remove conditional code.
16171         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16172         [!__STDC__]: Remove conditional code.
16173         * stdlib/divrem.c [__STDC__]: Make code unconditional.
16174         [!__STDC__]: Remove conditional code.
16175         * stdlib/lshift.c [__STDC__]: Make code unconditional.
16176         [!__STDC__]: Remove conditional code.
16177         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16178         [!__STDC__]: Remove conditional code.
16179         * stdlib/mul.c [__STDC__]: Make code unconditional.
16180         [!__STDC__]: Remove conditional code.
16181         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16182         [!__STDC__]: Remove conditional code.
16183         * stdlib/rshift.c [__STDC__]: Make code unconditional.
16184         [!__STDC__]: Remove conditional code.
16185         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16186         function definition.
16187         (STRTOF): Likewise.
16188         * stdlib/strtod_l.c (__STRTOF): Likewise.
16189         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16190         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16191         (__strtol_l): Likewise.
16192         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16193         [!__STDC__]: Remove conditional code.
16194         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16195         definition.
16196         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16197         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16198         type.
16199         (__strcasecmp): Convert to prototype-style function definition.
16200         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16201         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16202         type.
16203         (__strncasecmp): Convert to prototype-style function definition.
16204         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16205         * sunrpc/xdr.c (xdr_union): Likewise.
16206         * sunrpc/xdr_array.c (xdr_array): Likewise.
16207         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16208         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16209         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16210         Likewise.
16211         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16212         Likewise.
16213         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16214         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16215         Likewise.
16216         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16217         (LOCALE_PARAM_PROTO): Likewise.
16218         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16219         argument type.
16220         (ut_argument_spec): Remove macro.
16221         (ut_argument_spec_iso): Rename to ut_argument_spec.
16222         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
16223         prototype-style function definition.
16224         (memcpy_uppcase): Likewise.
16225         (__strftime_internal): Likewise.
16226         (my_strftime): Likewise.
16227         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16228         (LOCALE_PARAM_DECL): Likewise.
16229         [_LIBC] (LOCALE_PARAM): Include argument type.
16230         (__strptime_internal): Convert to prototype-style function
16231         definition.
16232         (strptime): Likewise.
16233         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16234         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16235         type.
16236         (__wcscasecmp): Convert to prototype-style function definition.
16237         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16238         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16239         type.
16240         (__wcsncasecmp): Convert to prototype-style function definition.
16242         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16243         function definition.
16244         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16245         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16246         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16247         * elf/dl-minimal.c (_itoa): Likewise.
16248         * hurd/hurdmalloc.c (malloc): Likewise.
16249         (free): Likewise.
16250         (realloc): Likewise.
16251         * inet/inet6_option.c (inet6_option_space): Likewise.
16252         (inet6_option_init): Likewise.
16253         (inet6_option_append): Likewise.
16254         (inet6_option_alloc): Likewise.
16255         (inet6_option_next): Likewise.
16256         (inet6_option_find): Likewise.
16257         * io/ftw.c (FTW_NAME): Likewise.
16258         (NFTW_NAME): Likewise.
16259         (NFTW_NEW_NAME): Likewise.
16260         (NFTW_OLD_NAME): Likewise.
16261         * libio/iofwide.c (_IO_fwide): Likewise.
16262         * libio/strops.c (_IO_str_init_static_internal): Likewise.
16263         (_IO_str_init_static): Likewise.
16264         (_IO_str_init_readonly): Likewise.
16265         (_IO_str_overflow): Likewise.
16266         (_IO_str_underflow): Likewise.
16267         (_IO_str_count): Likewise.
16268         (_IO_str_seekoff): Likewise.
16269         (_IO_str_pbackfail): Likewise.
16270         (_IO_str_finish): Likewise.
16271         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16272         (_IO_wstr_overflow): Likewise.
16273         (_IO_wstr_underflow): Likewise.
16274         (_IO_wstr_count): Likewise.
16275         (_IO_wstr_seekoff): Likewise.
16276         (_IO_wstr_pbackfail): Likewise.
16277         (_IO_wstr_finish): Likewise.
16278         * locale/programs/localedef.c (normalize_codeset): Likewise.
16279         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16280         (add_locales_to_archive): Likewise.
16281         (delete_locales_from_archive): Likewise.
16282         * malloc/malloc.c (__libc_mallinfo): Likewise.
16283         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16284         * misc/tsearch.c (__tfind): Likewise.
16285         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16286         * nptl/pthread_attr_getdetachstate.c
16287         (__pthread_attr_getdetachstate): Likewise.
16288         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16289         Likewise.
16290         * nptl/pthread_attr_getinheritsched.c
16291         (__pthread_attr_getinheritsched): Likewise.
16292         * nptl/pthread_attr_getschedparam.c
16293         (__pthread_attr_getschedparam): Likewise.
16294         * nptl/pthread_attr_getschedpolicy.c
16295         (__pthread_attr_getschedpolicy): Likewise.
16296         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16297         Likewise.
16298         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16299         Likewise.
16300         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16301         Likewise.
16302         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16303         Likewise.
16304         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16305         (__pthread_attr_init_2_0): Likewise.
16306         * nptl/pthread_attr_setdetachstate.c
16307         (__pthread_attr_setdetachstate): Likewise.
16308         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16309         Likewise.
16310         * nptl/pthread_attr_setinheritsched.c
16311         (__pthread_attr_setinheritsched): Likewise.
16312         * nptl/pthread_attr_setschedparam.c
16313         (__pthread_attr_setschedparam): Likewise.
16314         * nptl/pthread_attr_setschedpolicy.c
16315         (__pthread_attr_setschedpolicy): Likewise.
16316         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16317         Likewise.
16318         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16319         Likewise.
16320         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16321         Likewise.
16322         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16323         Likewise.
16324         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16325         Likewise.
16326         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16327         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16328         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16329         use internal_function.
16330         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16331         prototype-style function definition.
16332         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16333         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
16334         internal_function.
16335         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16336         Convert to prototype-style function definition.
16337         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16338         Likewise.
16339         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16340         Likewise.
16341         (__pthread_mutex_unlock): Likewise.
16342         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16343         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16344         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16345         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16346         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16347         * nss/makedb.c (process_input): Likewise.
16348         * posix/fnmatch.c (__strchrnul): Likewise.
16349         (__wcschrnul): Likewise.
16350         (fnmatch): Likewise.
16351         * posix/fnmatch_loop.c (FCT): Likewise.
16352         * posix/glob.c (globfree): Likewise.
16353         (__glob_pattern_type): Likewise.
16354         (__glob_pattern_p): Likewise.
16355         * posix/regcomp.c (re_compile_pattern): Likewise.
16356         (re_set_syntax): Likewise.
16357         (re_compile_fastmap): Likewise.
16358         (regcomp): Likewise.
16359         (regerror): Likewise.
16360         (regfree): Likewise.
16361         * posix/regexec.c (regexec): Likewise.
16362         (re_match): Likewise.
16363         (re_search): Likewise.
16364         (re_match_2): Likewise.
16365         (re_search_2): Likewise.
16366         (re_search_stub): Likewise.  Use internal_function
16367         (re_copy_regs): Likewise.
16368         (re_set_registers): Convert to prototype-style function
16369         definition.
16370         (prune_impossible_nodes): Likewise.  Use internal_function.
16371         * resolv/inet_net_pton.c (inet_net_pton): Convert to
16372         prototype-style function definition.
16373         (inet_net_pton_ipv4): Likewise.
16374         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16375         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16376         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16377         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16378         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16379         Make variadic.
16380         * time/strptime_l.c (localtime_r): Convert to prototype-style
16381         function definition.
16382         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16383         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16384         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16385         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16387         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16388         definition.
16389         (_ufc_doit_r): Likewise.
16390         * crypt/crypt_util.c (_ufc_copymem): Likewise.
16391         (_ufc_output_conversion_r): Likewise.
16392         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16393         * inet/rcmd.c (rcmd_af): Likewise.
16394         (rcmd): Likewise.
16395         (ruserok_af): Likewise.
16396         (ruserok): Likewise.
16397         (ruserok2_sa): Likewise.
16398         (ruserok_sa): Likewise.
16399         (iruserok_af): Likewise.
16400         (iruserok): Likewise.
16401         (__ivaliduser): Likewise.
16402         (__validuser2_sa): Likewise.
16403         * inet/rexec.c (rexec_af): Likewise.
16404         (rexec): Likewise.
16405         * inet/ruserpass.c (ruserpass): Likewise.
16406         * locale/programs/xmalloc.c (xcalloc): Likewise.
16407         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16408         * math/w_drem.c (__drem): Likewise.
16409         * math/w_dremf.c (__dremf): Likewise.
16410         * math/w_dreml.c (__dreml): Likewise.
16411         * misc/daemon.c (daemon): Likewise.
16412         * resolv/res_debug.c (p_fqnname): Likewise.
16413         * stdlib/div.c (div): Likewise.
16414         * string/memcmp.c (memcmp_bytes): Likewise.
16415         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16416         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16418         * crypt/cert.c (main): Convert to prototype-style function
16419         definition.
16420         * io/pipe.c (__pipe): Likewise.
16421         * io/pipe2.c (__pipe2): Likewise.
16422         * misc/futimesat.c (futimesat): Likewise.
16423         * misc/utimes.c (__utimes): Likewise.
16424         * posix/execve.c (__execve): Likewise.
16425         * posix/execvp.c (execvp): Likewise.
16426         * posix/execvpe.c (__execvpe): Likewise.
16427         * posix/fexecve.c (fexecve): Likewise.
16428         * socket/socketpair.c (socketpair): Likewise.
16429         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16430         * stdlib/erand48.c (erand48): Likewise.
16431         * stdlib/erand48_r.c (__erand48_r): Likewise.
16432         * stdlib/jrand48.c (jrand48): Likewise.
16433         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16434         * stdlib/lcong48.c (lcong48): Likewise.
16435         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16436         * stdlib/nrand48.c (nrand48): Likewise.
16437         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16438         * stdlib/seed48.c (seed48): Likewise.
16439         * stdlib/seed48_r.c (__seed48_r): Likewise.
16440         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16441         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16442         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16444 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16446         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16447         * configure: Regenerated.
16448         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16449         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16450         unconditional.
16451         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16452         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16453         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16454         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16455         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16456         unconditional.
16457         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16459         * posix/Makefile (CFLAGS-regex.c): Remove variable.
16460         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16462         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16463         function definition.
16464         * crypt/crypt_util.c (__encrypt_r): Likewise.
16465         * libio/genops.c (_IO_no_init): Likewise.
16466         * libio/iofopncook.c (_IO_fopencookie): Likewise.
16467         (_IO_old_fopencookie): Likewise.
16468         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16469         * libio/iogetline.c (_IO_getline): Likewise.
16470         (_IO_getline_info): Likewise.
16471         * libio/iogetwline.c (_IO_getwline): Likewise.
16472         (_IO_getwline_info): Likewise.
16473         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16474         * libio/vswprintf.c (_IO_vswprintf): Likewise.
16475         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16476         (find_entry): Likewise.
16477         (iterate_table): Likewise.
16478         (lookup): Likewise.
16479         * login/forkpty.c (forkpty): Likewise.
16480         * misc/hsearch_r.c (__hsearch_r): Likewise.
16481         * misc/select.c (__select): Likewise.
16482         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16483         Likewise.
16484         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16485         Likewise.
16486         * nptl/old_pthread_cond_timedwait.c
16487         (__pthread_cond_timedwait_2_0): Likewise.
16488         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16489         * nptl/pthread_barrierattr_getpshared.c
16490         (pthread_barrierattr_getpshared): Likewise.
16491         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16492         Likewise.
16493         * nptl/pthread_mutex_setprioceiling.c
16494         (pthread_mutex_setprioceiling): Likewise.
16495         * nptl/pthread_mutexattr_getprioceiling.c
16496         (pthread_mutexattr_getprioceiling): Likewise.
16497         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16498         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16499         Likewise.
16500         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16501         Likewise.
16502         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16503         Likewise.
16504         * socket/recvfrom.c (__recvfrom): Likewise.
16505         * socket/sendto.c (__sendto): Likewise.
16506         * socket/setsockopt.c (__setsockopt): Likewise.
16507         * stdio-common/_itoa.c (_itoa): Likewise.
16508         * stdio-common/_itowa.c (_itowa): Likewise.
16509         * stdio-common/reg-printf.c (__register_printf_specifier):
16510         Likewise.
16511         (__register_printf_function): Likewise.
16512         * stdio-common/tempname.c (__path_search): Likewise.
16513         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16514         * stdlib/mul_1.c (mpn_mul_1): Likewise.
16515         * stdlib/random_r.c (__initstate_r): Likewise.
16516         * stdlib/setenv.c (__add_to_environ): Likewise.
16517         * stdlib/submul_1.c (mpn_submul_1): Likewise.
16518         * streams/getpmsg.c (getpmsg): Likewise.
16519         * streams/putmsg.c (putmsg): Likewise.
16520         * streams/putpmsg.c (putpmsg): Likewise.
16521         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16522         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16523         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16524         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16525         * sunrpc/pm_getport.c (pmap_getport): Likewise.
16526         * sunrpc/svc_udp.c (cache_get): Likewise.
16527         * sunrpc/xdr_array.c (xdr_vector): Likewise.
16528         * sysdeps/mach/hurd/getcwd.c
16529         (__canonicalize_directory_name_internal): Likewise.
16530         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16531         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16532         * sysdeps/mach/hurd/select.c (__select): Likewise.
16533         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16534         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16535         * sysdeps/sparc/nptl/pthread_barrier_init.c
16536         (__pthread_barrier_init): Likewise.
16537         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16538         (__pthread_cond_timedwait): Likewise.
16539         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16540         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16541         Likewise.
16542         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16543         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16544         Likewise.
16545         * sysvipc/semtimedop.c (semtimedop): Likewise.
16546         * time/setitimer.c (__setitimer): Likewise.
16547         * time/strftime_l.c (emacs_strftime): Likewise.
16549 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16551         * config.make.in (have-ssp): Delete.
16552         (stack-protector): New variable.
16553         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
16554         cache test for -fstack-protector-strong.  Export stack_protector to
16555         the best ssp flag.
16556         * configure: Regenerated.
16557         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16558         * nscd/Makefile (CFLAGS-nscd): Likewise.
16559         * resolv/Makefile (CFLAGS-libresolv): Likewise.
16561 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
16563         [BZ #19122]
16564         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16565         attribute_hidden.
16567 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16569         [BZ #18743]
16570         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16571         code to...
16572         (ELIDE_LOCK): ...here.
16573         (__get_new_count): New function with part of the code from
16574         __elide_lock that updates the value of adapt_count after a
16575         transaction abort.
16576         (__elided_trylock): Moved this code to...
16577         (ELIDE_TRYLOCK): ...here.
16579 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16581         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16582         * configure: Regenerate.
16583         * INSTALL: Regenerate.
16584         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16585         and tweak grammar.
16587 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
16589         * login/programs/pt_chown.c: Include signal.h
16590         (main): Clear any signal mask from the parent process.
16592 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16594         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16595         * configure: Regenerated.
16596         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16597         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16598         $(gnu89-inline-CFLAGS).
16600         * configure.ac (libc_cv_asm_weak_directive): Remove configure
16601         test.
16602         (libc_cv_asm_weakext_directive): Likewise.
16603         * configure: Regenerated.
16604         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16605         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16606         * include/libc-symbols.h
16607         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16608         #error.
16609         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16610         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16612         * sysdeps/arm/backtrace.c (__backtrace): Convert to
16613         prototype-style function definition.
16614         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16615         * sysdeps/i386/ffs.c (__ffs): Likewise.
16616         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16617         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16618         Likewise.
16619         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16620         Likewise.
16621         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16622         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16623         Likewise.
16624         * sysdeps/m68k/ffs.c (__ffs): Likewise.
16625         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16626         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16627         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16628         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16629         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16630         * sysdeps/mach/hurd/access.c (__access): Likewise.
16631         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16632         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16633         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16634         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16635         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16636         (cthread_getspecific): Likewise.
16637         (cthread_setspecific): Likewise.
16638         (__libc_getspecific): Likewise.
16639         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16640         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16641         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16642         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16643         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16644         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16645         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16646         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16647         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16648         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16649         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16650         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16651         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16652         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16653         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16654         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16655         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16656         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16657         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16658         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16659         * sysdeps/mach/hurd/link.c (__link): Likewise.
16660         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16661         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16662         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16663         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16664         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16665         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16666         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16667         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16668         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16669         * sysdeps/mach/hurd/rename.c (rename): Likewise.
16670         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16671         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16672         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16673         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16674         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16675         * sysdeps/mach/hurd/send.c (__send): Likewise.
16676         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16677         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16678         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16679         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16680         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16681         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16682         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16683         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16684         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16685         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16686         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16687         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16688         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16689         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16690         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16691         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16692         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16693         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16694         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16695         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16696         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16697         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16698         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16699         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16700         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16701         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16702         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16703         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16704         * sysdeps/posix/alarm.c (alarm): Likewise.
16705         * sysdeps/posix/cuserid.c (cuserid): Likewise.
16706         * sysdeps/posix/dirfd.c (dirfd): Likewise.
16707         * sysdeps/posix/dup.c (__dup): Likewise.
16708         * sysdeps/posix/dup2.c (__dup2): Likewise.
16709         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16710         (main): Likewise.
16711         * sysdeps/posix/flock.c (__flock): Likewise.
16712         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16713         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16714         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16715         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16716         * sysdeps/posix/isatty.c (__isatty): Likewise.
16717         * sysdeps/posix/killpg.c (killpg): Likewise.
16718         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16719         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16720         * sysdeps/posix/raise.c (raise): Likewise.
16721         * sysdeps/posix/remove.c (remove): Likewise.
16722         * sysdeps/posix/rename.c (rename): Likewise.
16723         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16724         * sysdeps/posix/seekdir.c (seekdir): Likewise.
16725         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16726         * sysdeps/posix/sigignore.c (sigignore): Likewise.
16727         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16728         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16729         * sysdeps/posix/sigset.c (sigset): Likewise.
16730         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16731         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16732         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16733         * sysdeps/posix/time.c (time): Likewise.
16734         * sysdeps/posix/ttyname.c (getttyname): Likewise.
16735         (ttyname): Likewise.
16736         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16737         * sysdeps/posix/utime.c (utime): Likewise.
16738         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16739         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16740         Likewise.
16741         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16742         (pthread_spin_trylock): Likewise.
16743         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16744         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16745         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16746         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16747         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16748         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16749         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16750         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16751         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16752         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16753         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16754         * sysdeps/s390/ffs.c (__ffs): Likewise.
16755         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16756         Likewise.
16757         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16758         Likewise.
16759         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16760         Likewise.
16761         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16762         (pthread_barrier_destroy): Likewise.
16763         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16764         (__pthread_barrier_wait): Likewise.
16765         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16766         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16767         (__pthread_barrier_wait): Likewise.
16768         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16769         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16770         (memcmp_not_common_alignment): Likewise.
16771         (MEMCMP): Likewise.
16772         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16773         (_wordcopy_fwd_dest_aligned): Likewise.
16774         (_wordcopy_bwd_aligned): Likewise.
16775         (_wordcopy_bwd_dest_aligned): Likewise.
16776         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16777         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16778         * sysdeps/unix/bsd/stty.c (stty): Likewise.
16779         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16780         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16781         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16782         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16783         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16784         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16785         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16786         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16787         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16788         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16789         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16790         * sysdeps/unix/stime.c (stime): Likewise.
16791         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16792         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16793         Likewise.  Use internal_function.
16794         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16795         Convert to prototype-style function definition.
16796         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16797         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16798         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16799         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16800         Likewise.  Use internal_function.
16801         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16802         prototype-style function definition
16803         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16804         Likewise.
16805         (__getlogin_r): Likewise.
16806         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16807         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16808         (__pthread_cond_broadcast): Likewise.
16809         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16810         (__pthread_cond_destroy): Likewise.
16811         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16812         (__pthread_cond_init): Likewise.
16813         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16814         (__pthread_cond_signal): Likewise.
16815         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16816         (__pthread_cond_wait): Likewise.
16817         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16818         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16819         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16820         Likewise.
16821         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16822         Likewise.
16823         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16824         Likewise.
16825         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16826         Likewise.
16827         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16829         (__ftruncate64): Likewise.
16830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16831         (truncate64): Likewise.
16832         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16833         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16834         (pthread_getcpuclockid): Likewise.
16835         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16836         Likewise.
16837         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16838         Likewise.
16839         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16840         Likewise.
16841         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16842         Likewise.
16843         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16844         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16845         (__libc_sigaction): Likewise.
16846         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16847         Likewise.
16848         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16849         (__sigprocmask): Likewise.
16850         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16851         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16852         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16853         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16854         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16855         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16856         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16857         Likewise.
16858         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16859         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16860         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16861         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16862         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16863         Likewise.
16864         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16865         (__sigprocmask): Likewise.
16866         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16867         (cfgetispeed): Likewise.
16868         (cfsetospeed): Likewise.
16869         (cfsetispeed): Likewise.
16870         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
16871         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
16872         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16873         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16874         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
16875         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
16876         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
16877         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
16878         Likewise.
16879         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
16880         Likewise.
16881         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
16882         Likewise.
16883         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
16884         Likewise.
16885         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16887 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16889         sunrpc: Rewrite with explicit TLS access using __thread.
16890         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
16891         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
16892         directly.
16893         (__rpc_thread_variables): Access thread_rpc_vars directly.
16894         Eliminate redundant assignment of the tvp variable.
16896 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16898         malloc: Rewrite with explicit TLS access using __thread.
16899         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
16900         (tsd_setspecific, tsd_getspecific): Remove.
16901         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
16902         (tsd_setspecific, tsd_getspecific): Likewise.
16903         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
16904         (tsd_setspecific, tsd_getspecific): Likewise.
16905         * malloc/arena.c (thread_arena): New TLS variable.
16906         (arena_key): Remove variable.
16907         (arena_get): Use thread_arena.
16908         (arena_lookup): Remove macro.
16909         (malloc_atfork, free_atfork, ptmalloc_lock_all)
16910         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
16911         (_int_new_arena, get_free_list, reused_arena)
16912         (arena_thread_freeres): Use thread_arena.
16913         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
16914         tsd_getspecific, tsd_setspecific from safety annotations.
16915         (Allocating Cleared Space): Remove arena_lookup from safety
16916         annotations.
16918 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16920         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
16921         struct scratch_buffer instead of extend_alloca.
16923 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16925         * sysdeps/unix/sysv/linux/kernel-features.h
16926         (__ASSUME_SOCK_CLOEXEC): Remove.
16927         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
16928         (__have_paccept): Remove unused macro.
16929         * include/unistd.h (__have_sock_cloexec): Remove declaration.
16930         * misc/syslog.c (openlog_internal): Remove fallback code for
16931         !__ASSUME_SOCK_CLOEXEC.
16932         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
16933         missing SOCK_CLOEXEC.
16934         * nscd/connections.c (have_sock_cloexec): Remove definition.
16935         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16936         * nscd/nscd_helper.c (open_socket): Remove fallback code for
16937         !__ASSUME_SOCK_CLOEXEC.
16938         * resolv/res_send.c (__have_o_nonblock): Remove definition.
16939         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16940         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
16941         definition.
16942         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
16943         code for !__ASSUME_SOCK_CLOEXEC.
16945 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16947         [BZ #18982]
16948         * manual/stdio.texi (Variable Arguments Output): Add portability
16949         note, explaining that vfprintf clobbers the va_list pointer.
16951 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
16953         * math/libm-test.inc (fabs_test_data): Add more tests.
16954         (fdim_test_data): Likewise.
16955         (fma_test_data): Likewise.
16956         (fmax_test_data): Likewise.
16957         (fmin_test_data): Likewise.
16958         (fmod_test_data): Likewise.
16960 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
16962         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
16963         data.
16965 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
16967         * math/libm-test.inc (ceil_test_data): Add more tests and more
16968         expectations for "inexact".
16969         (floor_test_data): Add more tests.
16970         (round_test_data): Likewise.
16971         (trunc_test_data): Likewise.
16973         * crypt/cert.c (good_bye): Convert to prototype-style function
16974         definition.
16975         (get8): Likewise.
16976         (put8): Likewise.
16977         * crypt/crypt-entry.c (crypt): Likewise.
16978         (__fcrypt): Likewise.
16979         * crypt/crypt_util.c (_ufc_prbits): Likewise.
16980         (_ufc_set_bits): Likewise.
16981         (_ufc_clearmem): Likewise.
16982         (__init_des_r): Likewise.
16983         (shuffle_sb): Likewise.
16984         (shuffle_sb): Likewise.
16985         (_ufc_setup_salt_r): Likewise.
16986         (_ufc_mk_keytab_r): Likewise.
16987         (_ufc_dofinalperm_r): Likewise.
16988         (encrypt): Likewise.
16989         (__setkey_r): Likewise.
16990         (setkey): Likewise.
16991         * crypt/md5.c (md5_init_ctx): Likewise.
16992         (md5_read_ctx): Likewise.
16993         (md5_finish_ctx): Likewise.
16994         (md5_stream): Likewise.
16995         (md5_buffer): Likewise.
16996         (md5_process_bytes): Likewise.
16997         * crypt/sha256.c (__sha256_init_ctx): Likewise.
16998         (__sha256_finish_ctx): Likewise.
16999         (__sha256_process_bytes): Likewise.
17000         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17001         (__sha512_finish_ctx): Likewise.
17002         (__sha512_process_bytes): Likewise.
17003         * ctype/isctype.c (__isctype): Likewise.
17004         * debug/backtrace.c (__backtrace): Likewise.
17005         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17006         * debug/fgets_chk.c (__fgets_chk): Likewise.
17007         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17008         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17009         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17010         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17011         * debug/memset_chk.c (__memset_chk): Likewise.
17012         * debug/strcat_chk.c (__strcat_chk): Likewise.
17013         * debug/strncat_chk.c (__strncat_chk): Likewise.
17014         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17015         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17016         * dirent/dirfd.c (dirfd): Likewise.
17017         * dirent/getdents.c (__getdirentries): Likewise.
17018         * dirent/getdents64.c (getdirentries64): Likewise.
17019         * dirent/rewinddir.c (__rewinddir): Likewise.
17020         * dirent/seekdir.c (seekdir): Likewise.
17021         * dirent/telldir.c (telldir): Likewise.
17022         * elf/sln.c (makesymlinks): Likewise.
17023         (makesymlink): Likewise.
17024         * gmon/gmon.c (__moncontrol): Likewise.
17025         (__monstartup): Likewise.
17026         (write_hist): Likewise.
17027         (write_call_graph): Likewise.
17028         (write_bb_counts): Likewise.
17029         * grp/setgroups.c (setgroups): Likewise.
17030         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17031         * inet/inet_net.c (inet_network): Likewise.
17032         * inet/inet_netof.c (inet_netof): Likewise.
17033         * inet/rcmd.c (rresvport_af): Likewise.
17034         (rresvport): Likewise.
17035         * io/access.c (__access): Likewise.
17036         * io/chdir.c (__chdir): Likewise.
17037         * io/chmod.c (__chmod): Likewise.
17038         * io/chown.c (__chown): Likewise.
17039         * io/close.c (__close): Likewise.
17040         * io/creat.c (creat): Likewise.
17041         * io/creat64.c (creat64): Likewise.
17042         * io/dup.c (__dup): Likewise.
17043         * io/dup2.c (__dup2): Likewise.
17044         * io/dup3.c (__dup3): Likewise.
17045         * io/euidaccess.c (__euidaccess): Likewise.
17046         * io/faccessat.c (faccessat): Likewise.
17047         * io/fchmod.c (__fchmod): Likewise.
17048         * io/fchmodat.c (fchmodat): Likewise.
17049         * io/fchown.c (__fchown): Likewise.
17050         * io/fchownat.c (fchownat): Likewise.
17051         * io/fcntl.c (__fcntl): Likewise.
17052         * io/flock.c (__flock): Likewise.
17053         * io/fts.c (fts_load): Likewise.
17054         (fts_close): Likewise.
17055         (fts_read): Likewise.
17056         (fts_set): Likewise.
17057         (fts_children): Likewise.
17058         (fts_build): Likewise.
17059         (fts_stat): Likewise.
17060         (fts_sort): Likewise.
17061         (fts_alloc): Likewise.
17062         (fts_lfree): Likewise.
17063         (fts_palloc): Likewise.
17064         (fts_padjust): Likewise.
17065         (fts_maxarglen): Likewise.
17066         (fts_safe_changedir): Likewise.
17067         * io/getwd.c (getwd): Likewise.
17068         * io/isatty.c (__isatty): Likewise.
17069         * io/lchown.c (__lchown): Likewise.
17070         * io/link.c (__link): Likewise.
17071         * io/linkat.c (linkat): Likewise.
17072         * io/lseek.c (__libc_lseek): Likewise.
17073         * io/mkdir.c (__mkdir): Likewise.
17074         * io/mkdirat.c (mkdirat): Likewise.
17075         * io/mkfifo.c (mkfifo): Likewise.
17076         * io/mkfifoat.c (mkfifoat): Likewise.
17077         * io/open.c (__libc_open): Likewise.
17078         * io/open64.c (__libc_open64): Likewise.
17079         * io/readlink.c (__readlink): Likewise.
17080         * io/readlinkat.c (readlinkat): Likewise.
17081         * io/rmdir.c (__rmdir): Likewise.
17082         * io/symlink.c (__symlink): Likewise.
17083         * io/symlinkat.c (symlinkat): Likewise.
17084         * io/ttyname.c (ttyname): Likewise.
17085         * io/ttyname_r.c (__ttyname_r): Likewise.
17086         * io/umask.c (__umask): Likewise.
17087         * io/unlink.c (__unlink): Likewise.
17088         * io/unlinkat.c (unlinkat): Likewise.
17089         * io/utime.c (utime): Likewise.
17090         * libio/clearerr.c (clearerr): Likewise.
17091         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17092         * libio/feof.c (_IO_feof): Likewise.
17093         * libio/feof_u.c (feof_unlocked): Likewise.
17094         * libio/ferror.c (_IO_ferror): Likewise.
17095         * libio/ferror_u.c (ferror_unlocked): Likewise.
17096         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17097         * libio/fileno.c (__fileno): Likewise.
17098         * libio/fputc.c (fputc): Likewise.
17099         * libio/fputc_u.c (fputc_unlocked): Likewise.
17100         * libio/fputwc.c (fputwc): Likewise.
17101         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17102         * libio/freopen.c (freopen): Likewise.
17103         * libio/freopen64.c (freopen64): Likewise.
17104         * libio/fseek.c (fseek): Likewise.
17105         * libio/fseeko.c (fseeko): Likewise.
17106         * libio/fseeko64.c (fseeko64): Likewise.
17107         * libio/ftello.c (__ftello): Likewise.
17108         * libio/ftello64.c (ftello64): Likewise.
17109         * libio/fwide.c (fwide): Likewise.
17110         * libio/genops.c (_IO_un_link): Likewise.
17111         (_IO_link_in): Likewise.
17112         (_IO_least_marker): Likewise.
17113         (_IO_switch_to_main_get_area): Likewise.
17114         (_IO_switch_to_backup_area): Likewise.
17115         (_IO_switch_to_get_mode): Likewise.
17116         (_IO_free_backup_area): Likewise.
17117         (_IO_switch_to_put_mode): Likewise.
17118         (__overflow): Likewise.
17119         (__underflow): Likewise.
17120         (__uflow): Likewise.
17121         (_IO_setb): Likewise.
17122         (_IO_doallocbuf): Likewise.
17123         (_IO_default_underflow): Likewise.
17124         (_IO_default_uflow): Likewise.
17125         (_IO_default_xsputn): Likewise.
17126         (_IO_sgetn): Likewise.
17127         (_IO_default_xsgetn): Likewise.
17128         (_IO_sync): Likewise.
17129         (_IO_default_setbuf): Likewise.
17130         (_IO_default_seekpos): Likewise.
17131         (_IO_default_doallocate): Likewise.
17132         (_IO_init): Likewise.
17133         (_IO_old_init): Likewise.
17134         (_IO_default_sync): Likewise.
17135         (_IO_default_finish): Likewise.
17136         (_IO_default_seekoff): Likewise.
17137         (_IO_sputbackc): Likewise.
17138         (_IO_sungetc): Likewise.
17139         (_IO_set_column): Likewise.
17140         (_IO_set_column): Likewise.
17141         (_IO_adjust_column): Likewise.
17142         (_IO_get_column): Likewise.
17143         (_IO_init_marker): Likewise.
17144         (_IO_remove_marker): Likewise.
17145         (_IO_marker_difference): Likewise.
17146         (_IO_marker_delta): Likewise.
17147         (_IO_seekmark): Likewise.
17148         (_IO_unsave_markers): Likewise.
17149         (_IO_nobackup_pbackfail): Likewise.
17150         (_IO_default_pbackfail): Likewise.
17151         (_IO_default_seek): Likewise.
17152         (_IO_default_stat): Likewise.
17153         (_IO_default_read): Likewise.
17154         (_IO_default_write): Likewise.
17155         (_IO_default_showmanyc): Likewise.
17156         (_IO_default_imbue): Likewise.
17157         (_IO_iter_next): Likewise.
17158         (_IO_iter_file): Likewise.
17159         * libio/getc.c (_IO_getc): Likewise.
17160         * libio/getwc.c (_IO_getwc): Likewise.
17161         * libio/iofclose.c (_IO_new_fclose): Likewise.
17162         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17163         * libio/iofflush.c (_IO_fflush): Likewise.
17164         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17165         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17166         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17167         * libio/iofgets.c (_IO_fgets): Likewise.
17168         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17169         * libio/iofgetws.c (fgetws): Likewise.
17170         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17171         * libio/iofopen64.c (_IO_fopen64): Likewise.
17172         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17173         (_IO_cookie_write): Likewise.
17174         (_IO_cookie_seek): Likewise.
17175         (_IO_cookie_close): Likewise.
17176         (_IO_cookie_seekoff): Likewise.
17177         (_IO_old_cookie_seek): Likewise.
17178         * libio/iofputs.c (_IO_fputs): Likewise.
17179         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17180         * libio/iofputws.c (fputws): Likewise.
17181         * libio/iofputws_u.c (fputws_unlocked): Likewise.
17182         * libio/iofread.c (_IO_fread): Likewise.
17183         * libio/iofread_u.c (__fread_unlocked): Likewise.
17184         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17185         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17186         * libio/ioftell.c (_IO_ftell): Likewise.
17187         * libio/iofwrite.c (_IO_fwrite): Likewise.
17188         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17189         * libio/iogets.c (_IO_gets): Likewise.
17190         * libio/iopadn.c (_IO_padn): Likewise.
17191         * libio/iopopen.c (_IO_new_proc_open): Likewise.
17192         (_IO_new_popen): Likewise.
17193         (_IO_new_proc_close): Likewise.
17194         * libio/ioputs.c (_IO_puts): Likewise.
17195         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17196         (_IO_seekoff): Likewise.
17197         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17198         (_IO_seekpos): Likewise.
17199         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17200         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17201         * libio/ioungetc.c (_IO_ungetc): Likewise.
17202         * libio/ioungetwc.c (ungetwc): Likewise.
17203         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17204         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17205         * libio/iowpadn.c (_IO_wpadn): Likewise.
17206         * libio/libc_fatal.c (__libc_fatal): Likewise.
17207         * libio/memstream.c (__open_memstream): Likewise.
17208         (_IO_mem_sync): Likewise.
17209         (_IO_mem_finish): Likewise.
17210         * libio/oldfileops.c (_IO_old_file_init): Likewise.
17211         (_IO_old_file_close_it): Likewise.
17212         (_IO_old_file_finish): Likewise.
17213         (_IO_old_file_fopen): Likewise.
17214         (_IO_old_file_attach): Likewise.
17215         (_IO_old_file_setbuf): Likewise.
17216         (_IO_old_do_write): Likewise.
17217         (old_do_write): Likewise.
17218         (_IO_old_file_underflow): Likewise.
17219         (_IO_old_file_overflow): Likewise.
17220         (_IO_old_file_sync): Likewise.
17221         (_IO_old_file_seekoff): Likewise.
17222         (_IO_old_file_write): Likewise.
17223         (_IO_old_file_xsputn): Likewise.
17224         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17225         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17226         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17227         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17228         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17229         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17230         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17231         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17232         (_IO_old_popen): Likewise.
17233         (_IO_old_proc_close): Likewise.
17234         * libio/oldpclose.c (__old_pclose): Likewise.
17235         * libio/pclose.c (__new_pclose): Likewise.
17236         * libio/peekc.c (_IO_peekc_locked): Likewise.
17237         * libio/putc.c (_IO_putc): Likewise.
17238         * libio/putc_u.c (putc_unlocked): Likewise.
17239         * libio/putchar.c (putchar): Likewise.
17240         * libio/putchar_u.c (putchar_unlocked): Likewise.
17241         * libio/putwc.c (putwc): Likewise.
17242         * libio/putwc_u.c (putwc_unlocked): Likewise.
17243         * libio/putwchar.c (putwchar): Likewise.
17244         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17245         * libio/rewind.c (rewind): Likewise.
17246         * libio/setbuf.c (setbuf): Likewise.
17247         * libio/setlinebuf.c (setlinebuf): Likewise.
17248         * libio/vasprintf.c (_IO_vasprintf): Likewise.
17249         * libio/vscanf.c (_IO_vscanf): Likewise.
17250         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17251         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17252         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17253         * libio/wgenops.c (_IO_least_wmarker): Likewise.
17254         (_IO_switch_to_main_wget_area): Likewise.
17255         (_IO_switch_to_wbackup_area): Likewise.
17256         (_IO_wsetb): Likewise.
17257         (_IO_wdefault_pbackfail): Likewise.
17258         (_IO_wdefault_finish): Likewise.
17259         (_IO_wdefault_uflow): Likewise.
17260         (__woverflow): Likewise.
17261         (__wuflow): Likewise.
17262         (__wunderflow): Likewise.
17263         (_IO_wdefault_xsputn): Likewise.
17264         (_IO_wdefault_xsgetn): Likewise.
17265         (_IO_wdoallocbuf): Likewise.
17266         (_IO_wdefault_doallocate): Likewise.
17267         (_IO_switch_to_wget_mode): Likewise.
17268         (_IO_free_wbackup_area): Likewise.
17269         (_IO_switch_to_wput_mode): Likewise.
17270         (_IO_sputbackwc): Likewise.
17271         (_IO_sungetwc): Likewise.
17272         (_IO_adjust_wcolumn): Likewise.
17273         (_IO_init_wmarker): Likewise.
17274         (_IO_wmarker_delta): Likewise.
17275         (_IO_seekwmark): Likewise.
17276         (_IO_unsave_wmarkers): Likewise.
17277         * libio/wmemstream.c (open_wmemstream): Likewise.
17278         (_IO_wmem_sync): Likewise.
17279         (_IO_wmem_finish): Likewise.
17280         * locale/nl_langinfo.c (nl_langinfo): Likewise.
17281         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17282         * locale/programs/simple-hash.c (init_hash): Likewise.
17283         (delete_hash): Likewise.
17284         (insert_entry): Likewise.
17285         (set_entry): Likewise.
17286         (next_prime): Likewise.
17287         (is_prime): Likewise.
17288         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17289         (xmalloc): Likewise.
17290         (xrealloc): Likewise.
17291         * locale/programs/xstrdup.c (xstrdup): Likewise.
17292         * localedata/collate-test.c (xstrcoll): Likewise.
17293         * localedata/xfrm-test.c (xstrcmp): Likewise.
17294         * login/getlogin_r.c (__getlogin_r): Likewise.
17295         * login/getpt.c (__posix_openpt): Likewise.
17296         * login/login_tty.c (login_tty): Likewise.
17297         * login/setlogin.c (setlogin): Likewise.
17298         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17299         (mach_msg_destroy_port): Likewise.
17300         (mach_msg_destroy_memory): Likewise.
17301         * malloc/mcheck.c (flood): Likewise.
17302         * misc/acct.c (acct): Likewise.
17303         * misc/brk.c (__brk): Likewise.
17304         * misc/chflags.c (chflags): Likewise.
17305         * misc/chroot.c (chroot): Likewise.
17306         * misc/fchflags.c (fchflags): Likewise.
17307         * misc/fstab.c (getfsspec): Likewise.
17308         (getfsfile): Likewise.
17309         * misc/fsync.c (fsync): Likewise.
17310         * misc/ftruncate.c (__ftruncate): Likewise.
17311         * misc/ftruncate64.c (__ftruncate64): Likewise.
17312         * misc/getdomain.c (getdomainname): Likewise.
17313         (getdomainname): Likewise.
17314         * misc/gethostname.c (__gethostname): Likewise.
17315         * misc/getpass.c (getpass): Likewise.
17316         * misc/getttyent.c (skip): Likewise.
17317         (value): Likewise.
17318         * misc/gtty.c (gtty): Likewise.
17319         * misc/hsearch.c (hsearch): Likewise.
17320         (hcreate): Likewise.
17321         * misc/hsearch_r.c (__hcreate_r): Likewise.
17322         (__hdestroy_r): Likewise.
17323         * misc/ioctl.c (__ioctl): Likewise.
17324         * misc/mkdtemp.c (mkdtemp): Likewise.
17325         * misc/mkostemp.c (mkostemp): Likewise.
17326         * misc/mkostemp64.c (mkostemp64): Likewise.
17327         * misc/mkostemps.c (mkostemps): Likewise.
17328         * misc/mkostemps64.c (mkostemps64): Likewise.
17329         * misc/mkstemp.c (mkstemp): Likewise.
17330         * misc/mkstemp64.c (mkstemp64): Likewise.
17331         * misc/mkstemps.c (mkstemps): Likewise.
17332         * misc/mkstemps64.c (mkstemps64): Likewise.
17333         * misc/mktemp.c (__mktemp): Likewise.
17334         * misc/preadv.c (preadv): Likewise.
17335         * misc/preadv64.c (preadv64): Likewise.
17336         * misc/pwritev.c (pwritev): Likewise.
17337         * misc/pwritev64.c (pwritev64): Likewise.
17338         * misc/readv.c (__readv): Likewise.
17339         * misc/revoke.c (revoke): Likewise.
17340         * misc/setdomain.c (setdomainname): Likewise.
17341         * misc/setegid.c (setegid): Likewise.
17342         * misc/seteuid.c (seteuid): Likewise.
17343         * misc/sethostid.c (sethostid): Likewise.
17344         * misc/sethostname.c (sethostname): Likewise.
17345         * misc/setregid.c (__setregid): Likewise.
17346         * misc/setreuid.c (__setreuid): Likewise.
17347         * misc/sstk.c (sstk): Likewise.
17348         * misc/stty.c (stty): Likewise.
17349         * misc/syscall.c (syscall): Likewise.
17350         * misc/syslog.c (setlogmask): Likewise.
17351         * misc/truncate.c (__truncate): Likewise.
17352         * misc/truncate64.c (truncate64): Likewise.
17353         * misc/ualarm.c (ualarm): Likewise.
17354         * misc/usleep.c (usleep): Likewise.
17355         * misc/ustat.c (ustat): Likewise.
17356         * misc/writev.c (__writev): Likewise.
17357         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17358         * nptl/old_pthread_cond_broadcast.c
17359         (__pthread_cond_broadcast_2_0): Likewise.
17360         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17361         Likewise.
17362         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17363         Likewise.
17364         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17365         Likewise.
17366         * nptl/pt-raise.c (raise): Likewise.
17367         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17368         Likewise.
17369         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17370         * nptl/pthread_barrierattr_destroy.c
17371         (pthread_barrierattr_destroy): Likewise.
17372         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17373         Likewise.
17374         * nptl/pthread_barrierattr_setpshared.c
17375         (pthread_barrierattr_setpshared): Likewise.
17376         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17377         Likewise.
17378         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17379         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17380         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17381         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17382         Likewise.
17383         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17384         Likewise.
17385         * nptl/pthread_condattr_getpshared.c
17386         (pthread_condattr_getpshared): Likewise.
17387         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17388         Likewise.
17389         * nptl/pthread_condattr_setpshared.c
17390         (pthread_condattr_setpshared): Likewise.
17391         * nptl/pthread_detach.c (pthread_detach): Likewise.
17392         * nptl/pthread_equal.c (__pthread_equal): Likewise.
17393         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17394         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17395         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17396         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17397         Likewise.
17398         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17399         Likewise.
17400         * nptl/pthread_mutex_getprioceiling.c
17401         (pthread_mutex_getprioceiling): Likewise.
17402         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17403         Likewise.
17404         * nptl/pthread_mutexattr_getprotocol.c
17405         (pthread_mutexattr_getprotocol): Likewise.
17406         * nptl/pthread_mutexattr_getpshared.c
17407         (pthread_mutexattr_getpshared): Likewise.
17408         * nptl/pthread_mutexattr_getrobust.c
17409         (pthread_mutexattr_getrobust): Likewise.
17410         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17411         Likewise.
17412         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17413         Likewise.
17414         * nptl/pthread_mutexattr_setprioceiling.c
17415         (pthread_mutexattr_setprioceiling): Likewise.
17416         * nptl/pthread_mutexattr_setprotocol.c
17417         (pthread_mutexattr_setprotocol): Likewise.
17418         * nptl/pthread_mutexattr_setpshared.c
17419         (pthread_mutexattr_setpshared): Likewise.
17420         * nptl/pthread_mutexattr_setrobust.c
17421         (pthread_mutexattr_setrobust): Likewise.
17422         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17423         Likewise.
17424         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17425         Likewise.
17426         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17427         Likewise.
17428         * nptl/pthread_rwlockattr_getkind_np.c
17429         (pthread_rwlockattr_getkind_np): Likewise.
17430         * nptl/pthread_rwlockattr_getpshared.c
17431         (pthread_rwlockattr_getpshared): Likewise.
17432         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17433         Likewise.
17434         * nptl/pthread_rwlockattr_setkind_np.c
17435         (pthread_rwlockattr_setkind_np): Likewise.
17436         * nptl/pthread_rwlockattr_setpshared.c
17437         (pthread_rwlockattr_setpshared): Likewise.
17438         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17439         Likewise.
17440         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17441         Likewise.
17442         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17443         Likewise.
17444         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17445         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17446         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17447         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17448         * nptl/sem_close.c (sem_close): Likewise.
17449         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17450         * nptl/sem_init.c (__old_sem_init): Likewise.
17451         * nptl/sigaction.c (__sigaction): Likewise.
17452         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17453         * posix/_exit.c (_exit): Likewise.
17454         * posix/alarm.c (alarm): Likewise.
17455         * posix/confstr.c (confstr): Likewise.
17456         * posix/fpathconf.c (__fpathconf): Likewise.
17457         * posix/getgroups.c (__getgroups): Likewise.
17458         * posix/getpgid.c (__getpgid): Likewise.
17459         * posix/group_member.c (__group_member): Likewise.
17460         * posix/pathconf.c (__pathconf): Likewise.
17461         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17462         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17463         * posix/setgid.c (__setgid): Likewise.
17464         * posix/setpgid.c (__setpgid): Likewise.
17465         * posix/setuid.c (__setuid): Likewise.
17466         * posix/sleep.c (__sleep): Likewise.
17467         * posix/sysconf.c (__sysconf): Likewise.
17468         * posix/times.c (__times): Likewise.
17469         * posix/uname.c (__uname): Likewise.
17470         * posix/waitid.c (__waitid): Likewise.
17471         * pwd/getpw.c (__getpw): Likewise.
17472         * resolv/base64.c (b64_pton): Likewise.
17473         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17474         * resolv/gethnamaddr.c (Dprintf): Likewise.
17475         (gethostbyname): Likewise.
17476         (gethostbyname2): Likewise.
17477         (gethostbyaddr): Likewise.
17478         (_sethtent): Likewise.
17479         (_gethtbyname): Likewise.
17480         (_gethtbyname2): Likewise.
17481         (_gethtbyaddr): Likewise.
17482         (map_v4v6_address): Likewise.
17483         (map_v4v6_hostent): Likewise.
17484         (addrsort): Likewise.
17485         (ht_sethostent): Likewise.
17486         (ht_gethostbyname): Likewise.
17487         (ht_gethostbyaddr): Likewise.
17488         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17489         (inet_net_ntop_ipv4): Likewise.
17490         * resolv/inet_neta.c (inet_neta): Likewise.
17491         * resolv/inet_ntop.c (inet_ntop): Likewise.
17492         (inet_ntop4): Likewise.
17493         (inet_ntop6): Likewise.
17494         * resolv/inet_pton.c (__inet_pton): Likewise.
17495         (inet_pton4): Likewise.
17496         (inet_pton6): Likewise.
17497         * resolv/res_debug.c (loc_aton): Likewise.
17498         (loc_ntoa): Likewise.
17499         * resource/getpriority.c (__getpriority): Likewise.
17500         * resource/getrusage.c (__getrusage): Likewise.
17501         * resource/nice.c (nice): Likewise.
17502         * resource/setpriority.c (__setpriority): Likewise.
17503         * resource/setrlimit64.c (setrlimit64): Likewise.
17504         * resource/vlimit.c (vlimit): Likewise.
17505         * resource/vtimes.c (vtimes): Likewise.
17506         * rt/aio_error.c (aio_error): Likewise.
17507         * rt/aio_return.c (aio_return): Likewise.
17508         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17509         * signal/kill.c (__kill): Likewise.
17510         * signal/killpg.c (killpg): Likewise.
17511         * signal/raise.c (raise): Likewise.
17512         * signal/sigaction.c (__sigaction): Likewise.
17513         * signal/sigaddset.c (sigaddset): Likewise.
17514         * signal/sigaltstack.c (sigaltstack): Likewise.
17515         * signal/sigandset.c (sigandset): Likewise.
17516         * signal/sigblock.c (__sigblock): Likewise.
17517         * signal/sigdelset.c (sigdelset): Likewise.
17518         * signal/sigempty.c (sigemptyset): Likewise.
17519         * signal/sigfillset.c (sigfillset): Likewise.
17520         * signal/sighold.c (sighold): Likewise.
17521         * signal/sigignore.c (sigignore): Likewise.
17522         * signal/sigintr.c (siginterrupt): Likewise.
17523         * signal/sigisempty.c (sigisemptyset): Likewise.
17524         * signal/sigismem.c (sigismember): Likewise.
17525         * signal/signal.c (signal): Likewise.
17526         * signal/sigorset.c (sigorset): Likewise.
17527         * signal/sigpause.c (__sigpause): Likewise.
17528         * signal/sigpending.c (sigpending): Likewise.
17529         * signal/sigprocmask.c (__sigprocmask): Likewise.
17530         * signal/sigrelse.c (sigrelse): Likewise.
17531         * signal/sigreturn.c (__sigreturn): Likewise.
17532         * signal/sigset.c (sigset): Likewise.
17533         * signal/sigsetmask.c (__sigsetmask): Likewise.
17534         * signal/sigstack.c (sigstack): Likewise.
17535         * signal/sigsuspend.c (__sigsuspend): Likewise.
17536         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17537         * signal/sysv_signal.c (__sysv_signal): Likewise.
17538         * socket/accept.c (accept): Likewise.
17539         * socket/accept4.c (__libc_accept4): Likewise.
17540         * socket/bind.c (__bind): Likewise.
17541         * socket/connect.c (__connect): Likewise.
17542         * socket/getpeername.c (getpeername): Likewise.
17543         * socket/getsockname.c (__getsockname): Likewise.
17544         * socket/getsockopt.c (getsockopt): Likewise.
17545         * socket/listen.c (__listen): Likewise.
17546         * socket/recv.c (__recv): Likewise.
17547         * socket/recvmsg.c (__recvmsg): Likewise.
17548         * socket/send.c (__send): Likewise.
17549         * socket/sendmsg.c (__sendmsg): Likewise.
17550         * socket/shutdown.c (shutdown): Likewise.
17551         * socket/sockatmark.c (sockatmark): Likewise.
17552         * socket/socket.c (__socket): Likewise.
17553         * stdio-common/ctermid.c (ctermid): Likewise.
17554         * stdio-common/cuserid.c (cuserid): Likewise.
17555         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17556         * stdio-common/remove.c (remove): Likewise.
17557         * stdio-common/rename.c (rename): Likewise.
17558         * stdio-common/renameat.c (renameat): Likewise.
17559         * stdio-common/tempname.c (__gen_tempname): Likewise.
17560         * stdio-common/xbug.c (InitBuffer): Likewise.
17561         (AppendToBuffer): Likewise.
17562         (ReadFile): Likewise.
17563         * stdlib/a64l.c (a64l): Likewise.
17564         * stdlib/drand48_r.c (drand48_r): Likewise.
17565         * stdlib/getcontext.c (getcontext): Likewise.
17566         * stdlib/getenv.c (getenv): Likewise.
17567         * stdlib/l64a.c (l64a): Likewise.
17568         * stdlib/llabs.c (llabs): Likewise.
17569         * stdlib/lldiv.c (lldiv): Likewise.
17570         * stdlib/lrand48_r.c (lrand48_r): Likewise.
17571         * stdlib/mrand48_r.c (mrand48_r): Likewise.
17572         * stdlib/putenv.c (putenv): Likewise.
17573         * stdlib/random.c (__srandom): Likewise.
17574         (__initstate): Likewise.
17575         (__setstate): Likewise.
17576         * stdlib/random_r.c (__srandom_r): Likewise.
17577         (__setstate_r): Likewise.
17578         (__random_r): Likewise.
17579         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17580         * stdlib/setcontext.c (setcontext): Likewise.
17581         * stdlib/setenv.c (setenv): Likewise.
17582         (unsetenv): Likewise.
17583         * stdlib/srand48.c (srand48): Likewise.
17584         * stdlib/srand48_r.c (__srand48_r): Likewise.
17585         * stdlib/swapcontext.c (swapcontext): Likewise.
17586         * stdlib/system.c (__libc_system): Likewise.
17587         * stdlib/tst-strtod.c (expand): Likewise.
17588         * stdlib/tst-strtol.c (expand): Likewise.
17589         * stdlib/tst-strtoll.c (expand): Likewise.
17590         * streams/fattach.c (fattach): Likewise.
17591         * streams/fdetach.c (fdetach): Likewise.
17592         * streams/getmsg.c (getmsg): Likewise.
17593         * streams/isastream.c (isastream): Likewise.
17594         * string/ffs.c (__ffs): Likewise.
17595         * string/ffsll.c (ffsll): Likewise.
17596         * string/memcmp.c (memcmp_common_alignment): Likewise.
17597         (memcmp_not_common_alignment): Likewise.
17598         (MEMCMP): Likewise.
17599         * string/memcpy.c (memcpy): Likewise.
17600         * string/memmove.c (MEMMOVE): Likewise.
17601         * string/memset.c (memset): Likewise.
17602         * string/rawmemchr.c (RAWMEMCHR): Likewise.
17603         * string/strchrnul.c (STRCHRNUL): Likewise.
17604         * string/strerror.c (strerror): Likewise.
17605         * string/strndup.c (__strndup): Likewise.
17606         * string/strverscmp.c (__strverscmp): Likewise.
17607         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17608         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17609         (clnttcp_freeres): Likewise.
17610         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17611         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17612         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17613         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17614         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17615         (xdr_callhdr): Likewise.
17616         * sunrpc/rpcinfo.c (udpping): Likewise.
17617         (tcpping): Likewise.
17618         (pstatus): Likewise.
17619         (pmapdump): Likewise.
17620         (brdcst): Likewise.
17621         (deletereg): Likewise.
17622         (getprognum): Likewise.
17623         (getvers): Likewise.
17624         (get_inet_address): Likewise.
17625         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17626         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17627         (svcudp_stat): Likewise.
17628         (svcudp_recv): Likewise.
17629         (svcudp_reply): Likewise.
17630         (svcudp_getargs): Likewise.
17631         (svcudp_freeargs): Likewise.
17632         (svcudp_destroy): Likewise.
17633         * sunrpc/xdr.c (xdr_bytes): Likewise.
17634         (xdr_netobj): Likewise.
17635         (xdr_string): Likewise.
17636         (xdr_wrapstring): Likewise.
17637         * sunrpc/xdr_float.c (xdr_float): Likewise.
17638         (xdr_double): Likewise.
17639         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17640         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17641         * sysvipc/ftok.c (ftok): Likewise.
17642         * sysvipc/msgctl.c (msgctl): Likewise.
17643         * sysvipc/msgget.c (msgget): Likewise.
17644         * sysvipc/msgrcv.c (msgrcv): Likewise.
17645         * sysvipc/msgsnd.c (msgsnd): Likewise.
17646         * sysvipc/semget.c (semget): Likewise.
17647         * sysvipc/semop.c (semop): Likewise.
17648         * sysvipc/shmat.c (shmat): Likewise.
17649         * sysvipc/shmctl.c (shmctl): Likewise.
17650         * sysvipc/shmdt.c (shmdt): Likewise.
17651         * sysvipc/shmget.c (shmget): Likewise.
17652         * termios/cfmakeraw.c (cfmakeraw): Likewise.
17653         * termios/speed.c (cfgetospeed): Likewise.
17654         (cfgetispeed): Likewise.
17655         (cfsetospeed): Likewise.
17656         (cfsetispeed): Likewise.
17657         * termios/tcflow.c (tcflow): Likewise.
17658         * termios/tcflush.c (tcflush): Likewise.
17659         * termios/tcgetattr.c (__tcgetattr): Likewise.
17660         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17661         * termios/tcgetsid.c (tcgetsid): Likewise.
17662         * termios/tcsendbrk.c (tcsendbreak): Likewise.
17663         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17664         * time/adjtime.c (__adjtime): Likewise.
17665         * time/dysize.c (dysize): Likewise.
17666         * time/ftime.c (ftime): Likewise.
17667         * time/getitimer.c (__getitimer): Likewise.
17668         * time/gettimeofday.c (__gettimeofday): Likewise.
17669         * time/gmtime.c (__gmtime_r): Likewise.
17670         (gmtime): Likewise.
17671         * time/localtime.c (__localtime_r): Likewise.
17672         (localtime): Likewise.
17673         * time/offtime.c (__offtime): Likewise.
17674         * time/settimeofday.c (__settimeofday): Likewise.
17675         * time/stime.c (stime): Likewise.
17676         * time/strftime_l.c (tm_diff): Likewise.
17677         (iso_week_days): Likewise.
17678         * time/strptime.c (strptime): Likewise.
17679         * time/time.c (time): Likewise.
17680         * time/timespec_get.c (timespec_get): Likewise.
17681         * time/tzset.c (tzset_internal): Likewise.
17682         (compute_change): Likewise.
17683         (__tz_compute): Likewise.
17684         * wcsmbs/btowc.c (__btowc): Likewise.
17685         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17686         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17687         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17688         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17689         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17690         * wcsmbs/wcscat.c (__wcscat): Likewise.
17691         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17692         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17693         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17694         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17695         * wcsmbs/wcsdup.c (wcsdup): Likewise.
17696         * wcsmbs/wcslen.c (__wcslen): Likewise.
17697         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17698         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17699         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17700         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17701         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17702         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17703         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17704         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17705         * wcsmbs/wcstok.c (wcstok): Likewise.
17706         * wcsmbs/wctob.c (wctob): Likewise.
17707         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17708         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17709         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17710         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17711         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17712         * wcsmbs/wmemset.c (__wmemset): Likewise.
17713         * wctype/wcfuncs.c (__towlower): Likewise.
17714         (__towupper): Likewise.
17716         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17717         (lll_unlock_elision): Add adapt_count parameter.
17719 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17721         * sysdeps/nptl/configure.ac: Do not give errors based on the
17722         results of top-level configure tests.
17723         * sysdeps/nptl/configure: Regenerated.
17725         * configure.ac (libc_cv_Bgroup): Remove configure test.
17726         * configure: Regenerated.
17727         * config.make.in (have-Bgroup): Remove variable.
17729         * configure.ac (sizeof_long_double): Remove configure test.
17730         * configure: Regenerated.
17731         * config.make.in (sizeof-long-double): Remove variable.
17733         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17734         * configure: Regenerated.
17735         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17736         variable.
17737         (exceptions): Likewise.
17738         * sysdeps/arm/configure: Regenerated.
17739         * config.make.in (exceptions): Remove variable.
17740         * Makeconfig (uses-callbacks): Use -fexceptions instead of
17741         $(exceptions).
17742         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17743         (CFLAGS-vdprintf_chk.c): Likewise.
17744         (CFLAGS-printf_chk.c): Likewise.
17745         (CFLAGS-fprintf_chk.c): Likewise.
17746         (CFLAGS-vprintf_chk.c): Likewise.
17747         (CFLAGS-vfprintf_chk.c): Likewise.
17748         (CFLAGS-gets_chk.c): Likewise.
17749         (CFLAGS-fgets_chk.c): Likewise.
17750         (CFLAGS-fgets_u_chk.c): Likewise.
17751         (CFLAGS-fread_chk.c): Likewise.
17752         (CFLAGS-fread_u_chk.c): Likewise.
17753         (CFLAGS-wprintf_chk.c): Likewise.
17754         (CFLAGS-fwprintf_chk.c): Likewise.
17755         (CFLAGS-vwprintf_chk.c): Likewise.
17756         (CFLAGS-vfwprintf_chk.c): Likewise.
17757         (CFLAGS-fgetws_chk.c): Likewise.
17758         (CFLAGS-fgetws_u_chk.c): Likewise.
17759         * libio/Makefile (CFLAGS-fileops.c): Likewise.
17760         (CFLAGS-fputc.c): Likewise.
17761         (CFLAGS-fputwc.c): Likewise.
17762         (CFLAGS-freopen64.c): Likewise.
17763         (CFLAGS-freopen.c): Likewise.
17764         (CFLAGS-fseek.c): Likewise.
17765         (CFLAGS-fseeko64.c): Likewise.
17766         (CFLAGS-fseeko.c): Likewise.
17767         (CFLAGS-ftello64.c): Likewise.
17768         (CFLAGS-ftello.c): Likewise.
17769         (CFLAGS-fwide.c): Likewise.
17770         (CFLAGS-genops.c): Likewise.
17771         (CFLAGS-getc.c): Likewise.
17772         (CFLAGS-getchar.c): Likewise.
17773         (CFLAGS-getwc.c): Likewise.
17774         (CFLAGS-getwchar.c): Likewise.
17775         (CFLAGS-iofclose.c): Likewise.
17776         (CFLAGS-iofflush.c): Likewise.
17777         (CFLAGS-iofgetpos64.c): Likewise.
17778         (CFLAGS-iofgetpos.c): Likewise.
17779         (CFLAGS-iofgets.c): Likewise.
17780         (CFLAGS-iofgetws.c): Likewise.
17781         (CFLAGS-iofputs.c): Likewise.
17782         (CFLAGS-iofputws.c): Likewise.
17783         (CFLAGS-iofread.c): Likewise.
17784         (CFLAGS-iofsetpos64.c): Likewise.
17785         (CFLAGS-iofsetpos.c): Likewise.
17786         (CFLAGS-ioftell.c): Likewise.
17787         (CFLAGS-iofwrite.c): Likewise.
17788         (CFLAGS-iogetdelim.c): Likewise.
17789         (CFLAGS-iogetline.c): Likewise.
17790         (CFLAGS-iogets.c): Likewise.
17791         (CFLAGS-iogetwline.c): Likewise.
17792         (CFLAGS-ioputs.c): Likewise.
17793         (CFLAGS-ioseekoff.c): Likewise.
17794         (CFLAGS-ioseekpos.c): Likewise.
17795         (CFLAGS-iosetbuffer.c): Likewise.
17796         (CFLAGS-iosetvbuf.c): Likewise.
17797         (CFLAGS-ioungetc.c): Likewise.
17798         (CFLAGS-ioungetwc.c): Likewise.
17799         (CFLAGS-oldfileops.c): Likewise.
17800         (CFLAGS-oldiofclose.c): Likewise.
17801         (CFLAGS-oldiofgetpos64.c): Likewise.
17802         (CFLAGS-oldiofgetpos.c): Likewise.
17803         (CFLAGS-oldiofsetpos64.c): Likewise.
17804         (CFLAGS-oldiofsetpos.c): Likewise.
17805         (CFLAGS-peekc.c): Likewise.
17806         (CFLAGS-putc.c): Likewise.
17807         (CFLAGS-putchar.c): Likewise.
17808         (CFLAGS-putwc.c): Likewise.
17809         (CFLAGS-putwchar.c): Likewise.
17810         (CFLAGS-rewind.c): Likewise.
17811         (CFLAGS-wfileops.c): Likewise.
17812         (CFLAGS-wgenops.c): Likewise.
17813         (CFLAGS-oldiofopen.c): Likewise.
17814         (CFLAGS-iofopen.c): Likewise.
17815         (CFLAGS-iofopen64.c): Likewise.
17816         (CFLAGS-oldtmpfile.c): Likewise.
17817         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17818         (CFLAGS-fprintf.c): Likewise.
17819         (CFLAGS-printf.c): Likewise.
17820         (CFLAGS-vfwprintf.c): Likewise.
17821         (CFLAGS-vfscanf.c): Likewise.
17822         (CFLAGS-vfwscanf.c): Likewise.
17823         (CFLAGS-fscanf.c): Likewise.
17824         (CFLAGS-scanf.c): Likewise.
17825         (CFLAGS-isoc99_vfscanf.c): Likewise.
17826         (CFLAGS-isoc99_vscanf.c): Likewise.
17827         (CFLAGS-isoc99_fscanf.c): Likewise.
17828         (CFLAGS-isoc99_scanf.c): Likewise.
17829         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17830         (CFLAGS-isoc99_fwscanf.c): Likewise.
17831         (CFLAGS-isoc99_vwscanf.c): Likewise.
17832         (CFLAGS-isoc99_vfwscanf.c): Likewise.
17834         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17835         after mkstemp64.
17836         * login/tst-utmp.c (do_prepare): Likewise.
17837         * rt/tst-aio.c (do_prepare): Likewise.
17838         * rt/tst-aio64.c (do_prepare): Likewise.
17840 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17842         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17843         (__lll_lock_elision): Remove adapt_count decrement...
17844         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17845         (__lll_trylock_elision): Likewise.
17846         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17847         (__lll_unlock_elision): ... to here. And utilize
17848         new adapt_count parameter.
17849         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17850         (__lll_unlock_elision): Update to include adapt_count
17851         parameter.
17852         (lll_unlock_elision): Pass pointer to adapt_count
17853         variable.
17855 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17857         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17858         Add elision adapt_count parameter to list of arguments.
17859         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17860         (lll_unlock_elision): Update with new parameter list
17861         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17862         (lll_unlock_elision): Likewise.
17863         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17864         (lll_unlock_elision): Likewise.
17866 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17868         [BZ #19122]
17869         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
17870         attribute_hidden.
17872         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
17873         attribute_hidden.
17874         [IS_IN (rtld)] (__strdup): Likewise.
17875         [IS_IN (rtld)] (__strerror_r): Likewise.
17876         [IS_IN (rtld)] (__strsep_g): Likewise.
17877         [IS_IN (rtld)] (memchr): Likewise.
17878         [IS_IN (rtld)] (memcmp): Likewise.
17879         [IS_IN (rtld)] (memcpy): Likewise.
17880         [IS_IN (rtld)] (memmove): Likewise.
17881         [IS_IN (rtld)] (memset): Likewise.
17882         [IS_IN (rtld)] (rawmemchr): Likewise.
17883         [IS_IN (rtld)] (stpcpy): Likewise.
17884         [IS_IN (rtld)] (strchr): Likewise.
17885         [IS_IN (rtld)] (strcmp): Likewise.
17886         [IS_IN (rtld)] (strlen): Likewise.
17887         [IS_IN (rtld)] (strnlen): Likewise.
17888         [IS_IN (rtld)] (strsep): Likewise.
17890         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
17891         attribute_hidden.
17892         [IS_IN (rtld)] (__strtoul_internal): Likewise.
17894         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
17895         attribute_hidden.
17896         [IS_IN (rtld)] (__libc_sigaction): Likewise.
17898         * include/setjmp.h (__longjmp): Add attribute_hidden.
17899         [IS_IN (rtld)] (__sigsetjmp): Likewise.
17901         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
17902         Add attribute_hidden.
17904         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
17905         [IS_IN (rtld)] (__open): Likewise.
17906         [IS_IN (rtld)] (__fcntl): Likewise.
17908         * include/dirent.h (__opendirat): Add attribute_hidden.
17909         (__getdents): Likewise.
17910         (__getdents64): Likewise.
17911         (__alloc_dir): Likewise.
17912         [IS_IN (rtld)] (__closedir): Likewise.
17913         [IS_IN (rtld)] (__fdopendir): Likewise.
17914         [IS_IN (rtld)] (__readdir): Likewise.
17915         [IS_IN (rtld)] (__readdir64): Likewise.
17916         [IS_IN (rtld)] (__rewinddir): Likewise.
17918         * include/dlfcn.h (_dl_catch_error): Moved to ...
17919         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
17920         attribute_hidden.
17922         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
17923         (_itoa_word): Likewise.
17925         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
17926         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
17927         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
17928         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
17929         (_dl_higher_prime_number): Likewise.
17930         (_dl_debug_printf_c): Likewise.
17931         (_dl_signal_cerror): Likewise.
17932         (_dl_receive_error): Likewise.
17933         (_dl_reloc_bad_type): Likewise.
17934         (_dl_resolve_conflicts): Likewise.
17935         (_dl_check_all_versions): Likewise.
17936         (_dl_check_map_versions): Likewise.
17937         (_dl_sort_fini): Likewise.
17938         (_dl_debug_initialize): Likewise.
17939         (_dl_init_paths): Likewise.
17940         (_dl_show_auxv): Likewise.
17941         (_dl_next_ld_env_entry): Likewise.
17942         (_dl_important_hwcaps): Likewise.
17943         (_dl_load_cache_lookup): Likewise.
17944         (_dl_update_slotinfo): Likewise.
17945         (_dl_show_scope): Likewise.
17947         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
17948         attribute_hidden.
17949         (_wordcopy_fwd_dest_aligned): Likewise.
17950         (_wordcopy_bwd_aligned): Likewise.
17951         (_wordcopy_bwd_dest_aligned): Likewise.
17953         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17954         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
17955         Likewise.
17956         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
17957         Likewise.
17958         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
17960 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17962         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
17963         GCC 5 requirement.
17965 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17967         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
17968         test.
17969         * sysdeps/i386/configure: Regenerated.
17970         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
17971         code unconditional.
17973         * configure.ac (libc_cv_asm_previous_directive): Remove configure
17974         test.
17975         (libc_cv_asm_popsection_directive): Likewise.
17976         * configure: Regenerated.
17977         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
17978         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
17979         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
17980         (__make_section_unallocated): Make definition unconditional.
17981         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
17982         Remove conditional definition.
17983         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
17984         (__make_section_unallocated): Likewise.
17986         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
17987         * configure: Regenerated.
17988         * config.make.in (static-libgcc): Remove variable.
17989         * Makerules (build-shlib-helper): Use -static-libgcc instead of
17990         $(static-libgcc).
17991         (build-module-helper): Likewise.
17993         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
17994         * configure: Regenerated.
17996 2015-10-15  Florian Weimer  <fweimer@redhat.com>
17998         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
17999         (struct char_buffer): New type.
18000         (char_buffer_start, char_buffer_size, char_buffer_error)
18001         (char_buffer_rewind, char_buffer_add): New functions.
18002         (ADDW): Remove macro, replaced by the char_buffer_add function.
18003         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18004         of extend_alloca.  Make control flow more explicit.
18006 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18008         [BZ #19137]
18009         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18010         Add -fomit-frame-pointer.
18011         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18013 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18015         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18016         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18017         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18018         only if !__GNUC_PREREQ (5,0).
18019         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18020         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18021         (INTERNAL_SYSCALL_NCS): Likewise.
18022         (LOADREGS_0): New macro for GCC 5.
18023         (ASMARGS_0): Likewise.
18024         (LOADREGS_1): Likewise.
18025         (ASMARGS_1): Likewise.
18026         (LOADREGS_2): Likewise.
18027         (ASMARGS_2): Likewise.
18028         (LOADREGS_3): Likewise.
18029         (ASMARGS_3): Likewise.
18030         (LOADREGS_4): Likewise.
18031         (ASMARGS_4): Likewise.
18032         (LOADREGS_5): Likewise.
18033         (ASMARGS_5): Likewise.
18034         (LOADREGS_6): Likewise.
18035         (ASMARGS_6): Likewise.
18037 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18039         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18040         -fomit-frame-pointer.
18041         (CFLAGS-mmap64.c): Likewise.
18042         (CFLAGS-semtimedop.c): Likewise.
18043         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18044         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18045         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18046         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18048 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18050         [BZ #18928]
18051         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18052         _dl_pointer_guard member.
18053         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18054         initializer.
18055         (security_init): Always set up pointer guard.
18056         (process_envvars): Do not process LD_POINTER_GUARD.
18058 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18060         [BZ #19134]
18061         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18062         (.LC2): Likewise.
18063         (.LC3): Likewise.
18064         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18066 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18068         [BZ #19129]
18069         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18070         r0 and r1.
18072 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18074         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18076 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
18078         * include/stap-probe.h: Fix macro definition formatting.
18080 2015-10-14  Florian Weimer  <fweimer@redhat.com>
18082         [BZ #19074]
18083         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18084         load and store num_ifs.
18086 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18088         [BZ #18822]
18089         * sysdeps/unix/sysv/linux/sched_getaffinity.c
18090         (__sched_getaffinity_new): Add libc_hidden_proto and
18091         libc_hidden_def.
18093 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18095         [BZ #19007]
18096         * scripts/localplt.awk: Also allow GOT references.
18097         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18098         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18099         with "+ REL R_386_GLOB_DAT".
18100         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18101         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18103 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18105         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18106         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18107         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18108         Likewise.
18109         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18110         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18111         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18112         INTERNAL_SYSCALLINTERNAL_SYSCALL and
18113         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18114         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18115         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18116         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18117         Likewise.
18118         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18120 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18122         [BZ #19125]
18123         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18124         <math_private.h> and <stdint.h>.
18125         (__llround): Avoid conversions to and from long long int, and
18126         subtractions, where those might raise spurious exceptions.
18127         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18128         <math_private.h> and <stdint.h>.
18129         (__llroundf): Avoid conversions to and from long long int, and
18130         subtractions, where those might raise spurious exceptions.
18132 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18134         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18135         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18136         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18137         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18138         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18139         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18140         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18141         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18142         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18143         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18144         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18145         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18146         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18147         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18148         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18149         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18150         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18151         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18152         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18153         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18154         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18155         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18156         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18157         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18158         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18159         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18160         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18161         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18162         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18163         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18164         (__xstat64_conv): Likewise.
18165         (__xstat32_conv): Likewise.
18167 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18169         * sysdeps/unix/sysv/linux/sysdep.h: New file.
18170         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18171         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18172         <sysdeps/unix/sysv/linux/sysdep.h>.
18173         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18174         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18175         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18176         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18177         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18178         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18179         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18180         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18181         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18184         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18185         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18186         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18187         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18189         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18190         (sysdep-dl-routines): Add sysdep.
18191         [$(subdir) == nptl] (libpthread-routines): Likewise.
18192         [$(subdir) == rt] (librt-routines): Likewise.
18193         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18194         PIC when branching to SYSCALL_ERROR_LABEL.
18195         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18196         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18197         <sysdeps/unix/sysv/linux/sysdep.h>.
18198         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18199         (SYSCALL_ERROR_ERRNO): Removed.
18200         (SYSCALL_ERROR_HANDLER): Changed to empty.
18201         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18202         (__syscall_error): New prototype.
18203         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18204         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18206 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18208         [BZ #19124]
18209         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18210         (_dl_runtime_resolve_avx512): Make it a hidden alias of
18211         _dl_runtime_resolve_avx.
18212         (_dl_runtime_profile_avx512): Make it a hidden alias of
18213         _dl_runtime_profile_avx.
18215 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18217         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18218         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18219         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18220         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18222         [BZ #16422]
18223         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18224         New configure test.
18225         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18226         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18227         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18228         <math_private.h> and <stdint.h>.
18229         (__llrint): Avoid conversions to long long int where those might
18230         raise spurious exceptions.
18231         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18232         <math_private.h> and <stdint.h>.
18233         (__llrintf): Avoid conversions to long long int where those might
18234         raise spurious exceptions.
18236 2015-10-12  Andreas Schwab  <schwab@suse.de>
18238         [BZ #18969]
18239         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
18240         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18241         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
18242         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18243         $(gen-locales).
18244         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
18245         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18246         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18247         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18248         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18249         $(gen-locales).
18250         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
18251         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18252         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18253         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18254         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18255         ($(objpfx)tst-ftell-active-handler.out)
18256         ($(objpfx)tst-ftell-append.out)
18257         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18258         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18259         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18260         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18261         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
18262         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18263         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18264         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18265         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18266         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18267         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18268         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18269         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18270         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18271         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18272         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18273         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18274         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18275         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
18276         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18277         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18278         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18279         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18280         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
18281         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18282         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18283         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18284         $(gen-locales).
18285         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
18286         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18287         $(gen-locales).
18288         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
18289         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18290         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18291         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18292         $(gen-locales).
18293         * libio/tst_wprintf2.c (main): Use explicit locale.
18294         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18296 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18298         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18299         __msg_sig_post.
18300         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18302 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18304         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18305         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18307         * sysdeps/arm/libm-test-ulps: Regenerated.
18309         [BZ #15470]
18310         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18312         [BZ #16399]
18313         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18314         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18315         and <fix-fp-int-convert-overflow.h>.
18316         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18317         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18318         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18319         and <fix-fp-int-convert-overflow.h>.
18320         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18321         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18322         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18323         <fix-fp-int-convert-overflow.h>.
18324         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18325         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18326         * sysdeps/ieee754/dbl-64/s_lround.c: Include
18327         <fix-fp-int-convert-overflow.h>.
18328         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18329         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18330         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18331         and <fix-fp-int-convert-overflow.h>.
18332         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18333         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18334         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18335         <limits.h> and <fix-fp-int-convert-overflow.h>.
18336         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18337         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18338         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18339         and <fix-fp-int-convert-overflow.h>.
18340         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18341         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18342         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18343         and <fix-fp-int-convert-overflow.h>.
18344         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18345         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18346         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18348 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
18350         [BZ #18589]
18351         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18352         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18353         $(gen-locales).
18355 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18356             Phil Blundell <pb@pbcl.net>
18358         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18359         * nptl/tst-cancel26.c: New file.
18360         * nptl/tst-cancel27.c: Likewise.
18362 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
18364         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18365         __ILP32__ isn't defined.
18366         (lrint): Likewise.
18367         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18368         (lrintf): Likewise.
18369         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18370         (lrintl): Likewise.
18371         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18372         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18373         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18375 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18377         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18378         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18380         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18381         file.
18382         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18383         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18385 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18387         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18388         configure test.
18389         * sysdeps/i386/configure: Regenerated.
18390         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18391         configure test.
18392         * sysdeps/x86_64/configure: Regenerated.
18393         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18394         Make code unconditional.
18396         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18397         test.
18398         * sysdeps/i386/configure: Regenerated.
18399         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18400         test.
18401         * sysdeps/x86_64/configure: Regenerated.
18402         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18403         Make code unconditional.
18404         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18405         Likewise.
18406         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18407         Likewise.
18408         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18409         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18410         code unconditional.
18411         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18412         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18413         code unconditional.
18414         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18415         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18416         code unconditional.
18417         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18418         code unconditional.
18419         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18420         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18421         code unconditional.
18422         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18423         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18424         code unconditional.
18425         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18426         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18427         code unconditional.
18428         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18429         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18430         code unconditional.
18431         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18432         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18434         [BZ #19095]
18435         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18436         mantissa to long int before shifting left.
18438 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18440         [BZ #19094]
18441         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18442         <limits.h>.
18443         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18444         when result overflows but exception would not result from cast.
18445         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18446         <limits.h>.
18447         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18448         when result overflows but exception would not result from cast.
18449         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18450         <limits.h>.
18451         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18452         when result overflows but exception would not result from cast.
18453         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18454         <limits.h>.
18455         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18456         when result overflows but exception would not result from cast.
18457         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18458         <limits.h>.
18459         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18460         when result overflows but exception would not result from cast.
18461         * math/libm-test.inc (lrint_test_data): Add more tests.
18462         (llrint_test_data): Likewise.
18464 2015-10-08  Roland McGrath  <roland@hack.frob.com>
18466         [BZ #18872]
18467         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18468         Move out from under [$(run-built-tests) = yes] conditional.
18469         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18470         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18472 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
18474         [BZ #18589]
18475         * string/Makefile (tests): Add bug-strcoll2.
18476         (LOCALES): Add cs_CZ.UTF-8.
18477         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18479         [BZ #18589]
18480         * string/bug-strcoll2.c: New file.
18481         * locale/categories.def: Revert commit
18482         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18483         * locale/langinfo.h: Likewise.
18484         * locale/localeinfo.h: Likewise.
18485         * locale/C-collate.c: Likewise.
18486         * locale/programs/ld-collate.c (collate_output): Likewise.
18487         * string/strcoll_l.c (STRDIFF): Likewise.
18488         (STRCOLL): Likewise.
18489         * wcsmbs/wcscoll_l.c: Likewise.
18491 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18493         * math/libm-test.inc (lround_test_data): Do not expect the absence
18494         of "inexact" for some tests with non-integer arguments.
18495         (llround_test_data): Likewise.
18497         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18498         test.
18499         (libc_cv_cc_sse2avx): Likewise.
18500         * sysdeps/i386/configure: Regenerated.
18501         * sysdeps/i386/i686/multiarch/Makefile
18502         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18503         [$(subdir) = math].
18504         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18505         code unconditional.
18506         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18507         Likewise.
18508         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18509         Likewise.
18510         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18511         Likewise.
18512         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18513         test.
18514         (libc_cv_cc_sse2avx): Likewise.
18515         * sysdeps/x86_64/configure: Regenerated.
18516         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18517         unconditional.
18518         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18519         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18520         unconditional.
18521         (_dl_runtime_profile)
18522         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18523         conditional code.
18524         * sysdeps/x86_64/fpu/multiarch/Makefile
18525         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18526         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18527         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18528         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18529         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18530         * sysdeps/x86_64/fpu/multiarch/e_log.c
18531         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18532         * sysdeps/x86_64/fpu/multiarch/s_atan.c
18533         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18534         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18535         Likewise.
18536         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18537         Likewise.
18538         * sysdeps/x86_64/fpu/multiarch/s_sin.c
18539         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18540         * sysdeps/x86_64/fpu/multiarch/s_tan.c
18541         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18542         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18543         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18544         (HAVE_SSE2AVX_SUPPORT): Likewise.
18546 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
18548         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18549         instead of #pragma optimize.
18551 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18553         [BZ #17195]
18554         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18555         as is similarly done in systrim and _int_free already.
18557 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18559         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18561 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18563         [BZ #19088]
18564         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18565         <limits.h>.
18566         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18567         overflows but exception would not result from cast.
18568         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18569         and <limits.h>.
18570         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18571         overflows but exception would not result from cast.
18572         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18573         <limits.h>.
18574         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18575         overflows but exception would not result from cast.
18576         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18577         <limits.h>.
18578         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18579         overflows but exception would not result from cast.
18580         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18581         <limits.h>.
18582         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18583         overflows but exception would not result from cast.
18584         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18585         <limits.h>.
18586         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18587         overflows but exception would not result from cast.
18588         * math/libm-test.inc (lround_test_data): Add more tests.
18589         (llround_test_data): Likewise.
18591 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
18593         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18594         (CFLAGS-ialloc.c): Ditto.
18595         (CFLAGS-scheck.c): Ditto.
18597 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18599         [BZ #19086]
18600         * manual/filesys.texi (Storage Allocation): Fix argument order for
18601         posix_fallocate64.
18603 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18605         [BZ #19085]
18606         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18607         exponent below 48 inside case for non-overflowing exponent.
18608         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18610 2015-10-07  Florian Weimer  <fweimer@redhat.com>
18612         * iconvdata/cp737.h (from_idx): Add const.
18613         * iconvdata/cp775.h (from_idx): Likewise.
18615 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18617         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18618         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18619         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18621         [BZ #19079]
18622         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18623         file, conditioned on [!_LP64].
18624         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18625         [!_LP64] (__lround): Do not define as function or alias.
18626         [!_LP64] (lround): Likewise.
18627         [!_LP64] (__lroundl): Likewise.
18628         [!_LP64] (lroundl): Likewise.
18629         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18630         macro.
18631         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18632         Likewise.
18634 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18636         * math/libm-test.inc (lrint_test_data): Add more tests.
18637         (llrint_test_data): Likewise.
18638         (lround_test_data): Likewise.
18639         (llround_test_data): Likewise.
18641         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18642         (llrint_test_data): Add tests used for lrint.
18644         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18645         test.
18646         * sysdeps/i386/configure: Regenerated.
18647         * sysdeps/i386/i686/multiarch/Makefile
18648         [$(config-cflags-sse4) = yes]: Make code unconditional.
18649         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18650         Likewise.
18651         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18652         Likewise.
18653         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18654         test.
18655         * sysdeps/x86_64/configure: Regenerated.
18656         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18657         Make code unconditional.
18658         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18659         Likewise.
18660         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18661         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18663         * scripts/rpm2dynsym.sh: Remove file.
18665 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18667         * configure.ac (libc_cv_cxx_thread_local): Define.
18668         * configure: Regenerate.
18669         * config.make.in (have-cxx-thread_local): Define.
18670         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18671         (LDLIBS-tst-thread_local1): Define.
18672         (tests): Add tst-thread_local1.
18673         [have-cxx-thread_local != yes] (tests-unsupported): Add
18674         tst-thread_local1.
18675         * nptl/tst-thread_local1.cc: New file.
18677 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18679         [BZ #19078]
18680         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18681         (u_thres): Likewise.
18682         (__expl): Determine whether to call __kernel_standard_l based on
18683         value of result, not argument.
18685         * math/libm-test.inc (scalb_test_data): Add more expectations for
18686         the "inexact" exception.
18688         [BZ #19077]
18689         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18690         0.0L for argument 1.0L.
18692         [BZ #19076]
18693         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18694         constant 0.0L when computing infinite result.
18696 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18698         [BZ #10432]
18699         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18700         malloc_usable_size.
18702 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18704         [BZ #19018]
18705         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18706         Mangle function pointer before storing it.
18707         (__call_tls_dtors): Demangle function pointer before calling it.
18709 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18711         [BZ #19012]
18712         * iconv/gconv_db.c (gen_steps): Check for additional errors.
18713         Clean up on failure.
18715 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
18717         [BZ #19071]
18718         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18719         long int variable to store possibly incremented high part of
18720         mantissa.
18721         * math/libm-test.inc (lround_test_data): Add tests used for
18722         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
18723         for tests requiring 64-bit long.  Do not condition tests on
18724         [TEST_FLOAT] unnecessarily.
18725         (llround_test_data): Add tests used for lround.  Add another
18726         expectation for the "inexact" exception.  Do not condition tests
18727         on [TEST_FLOAT] unnecessarily.
18729         [BZ #887]
18730         [BZ #19049]
18731         [BZ #19050]
18732         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18733         * sysdeps/ieee754/dbl-64/e_log10.c: Include
18734         <fix-int-fp-convert-zero.h>.
18735         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18736         * sysdeps/ieee754/dbl-64/e_log2.c: Include
18737         <fix-int-fp-convert-zero.h>.
18738         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18739         * sysdeps/ieee754/dbl-64/s_erf.c: Include
18740         <fix-int-fp-convert-zero.h>.
18741         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18742         * sysdeps/ieee754/dbl-64/s_logb.c: Include
18743         <fix-int-fp-convert-zero.h>.
18744         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18745         * sysdeps/ieee754/flt-32/e_log10f.c: Include
18746         <fix-int-fp-convert-zero.h>.
18747         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18748         * sysdeps/ieee754/flt-32/e_log2f.c: Include
18749         <fix-int-fp-convert-zero.h>.
18750         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18751         * sysdeps/ieee754/flt-32/s_erff.c: Include
18752         <fix-int-fp-convert-zero.h>.
18753         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18754         * sysdeps/ieee754/flt-32/s_logbf.c: Include
18755         <fix-int-fp-convert-zero.h>.
18756         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18757         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18758         <fix-int-fp-convert-zero.h>.
18759         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18761         <fix-int-fp-convert-zero.h>.
18762         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18763         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18764         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18765         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18766         file.
18767         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18769 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18771         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18773 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
18775         [BZ #19059]
18776         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18777         overflowing computation.
18778         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18779         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18780         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18781         Likewise.
18782         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18783         Likewise.
18784         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18785         Likewise.
18786         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18787         Likewise.
18788         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18789         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18790         Likewise.
18791         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18792         Likewise.
18793         * math/libm-test.inc (nexttoward_test_data): Add more tests.
18795         * nss/rewrite_field.c (__nss_rewrite_field): Use
18796         internal_function.
18797         * nss/valid_field.c (__nss_valid_field): Likewise.
18798         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18800 2015-10-02  Florian Weimer  <fweimer@redhat.com>
18802         [BZ #18724]
18803         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18804         (__nss_invalid_field_characters, __nss_valid_field)
18805         (__nss_valid_list_field, __nss_rewrite_field): Declare.
18806         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18807         tst-field.c: New file.
18808         * nss/Makefile (routines): Add valid_field, rewrite_field.
18809         (tests-static): Define unconditionally.
18810         (tests): Include tests-static.
18811         [build-static-nss] (tests-static): Use append.
18812         [build-static-nss] (tests): Remove modification.
18813         * nss/getent.c (print_group): Call putgrent.  Report error.
18814         (print_gshadow): Call putsgent.  Report error.
18815         (print_passwd): Call putpwent.  Report error.
18816         (print_shadow): Call putspent.  Report error.
18817         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18818         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18819         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
18820         name, password, directory, shell fields for valid syntax.  Rewrite
18821         GECOS field to match syntax.
18822         * pwd/Makefile (tests): Add tst-putpwent.
18823         * pwd/tst-putpwent.c: New file.
18824         * grp/putgrent.c (putgrent): Convert to ISO function definition.
18825         Check grName, grpasswd, gr_mem fields for valid syntax.
18826         Change loop variable i to size_t.
18827         * grp/Makefile (tests): Add tst-putgrent.
18828         * grp/tst-putgrent.c: New file.
18829         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18830         valid syntax.
18831         * shadow/Makefile (tests): Add tst-putspent.
18832         * shadow/tst-putspent.c: New file.
18833         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18834         sg_mem fields for valid syntax.
18835         * gshadow/Makefile (tests): Add tst-putsgent.
18836         * gshadow/tst-putsgent.c: New file.
18838 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18840         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18841         assembly instructions.
18843 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18845         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18846         prefix from operands.
18848 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
18850         [BZ #16347]
18851         [BZ #19046]
18852         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18853         <libc-internal.h>.
18854         (MAXLGM): Do not use diagnostic control macros.
18855         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18856         threshold for ldbl-128ibm.
18857         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18858         instead of multiplying by log then subtracting.
18859         * math/auto-libm-test-in: Add more tests of lgamma.
18860         * math/auto-libm-test-out: Regenerated.
18862         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18863         (TYPE_HEX_DIG): Likewise.
18864         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18865         precisions when printing floating-point numbers.
18866         (check_float_internal): Likewise.
18868 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
18870         [BZ #16620]
18871         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
18872         of log (10) rounded downward to 48 bits.
18873         (log10_low): Use corresponding low part of log (10).
18875         [BZ #19032]
18876         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
18877         compute result as (x - x) / (x - x) not as 0 / 0.
18878         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18879         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
18881         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18882         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
18883         and expm1.
18884         * math/auto-libm-test-out: Regenerated.
18885         * math/libm-test.inc (acos_test_data): Add more tests.
18886         (asin_test_data): Likewise.
18887         (asinh_test_data): Likewise.
18888         (atan_test_data): Likewise.
18889         (atanh_test_data): Likewise.
18890         (atan2_test_data): Likewise.
18891         (cbrt_test_data): Likewise.
18892         (ceil_test_data): Likewise.
18893         (copysign_test_data): Likewise.
18894         (cos_test_data): Likewise.
18895         (cosh_test_data): Likewise.
18896         (erf_test_data): Likewise.
18897         (erfc_test_data): Likewise.
18898         (exp_test_data): Likewise.
18899         (exp10_test_data): Likewise.
18900         (exp2_test_data): Likewise.
18901         (expm1_test_data): Likewise.
18902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18904 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
18906         [BZ #19006]
18907         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
18908         to ...
18909         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
18910         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
18911         to ...
18912         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
18913         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
18914         to ...
18915         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
18916         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
18917         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
18918         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
18919         to ...
18920         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
18921         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18922         Moved to ...
18923         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
18924         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18925         Moved to ...
18926         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
18927         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
18928         to ...
18929         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
18930         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18931         Moved to ...
18932         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
18933         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
18934         to ...
18935         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
18936         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
18937         Removed.
18938         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
18939         Likewise.
18940         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
18941         Likewise.
18942         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
18943         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
18944         Likewise.
18945         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18946         Likewise.
18947         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18948         Likewise.
18949         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18950         Likewise.
18951         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18952         Likewise.
18953         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
18954         Likewise.
18955         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
18956         Likewise.
18957         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
18958         Likewise.
18959         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
18960         Likewise.
18961         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
18962         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
18963         Likewise.
18964         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18965         Likewise.
18966         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18967         Likewise.
18968         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18969         Likewise.
18970         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
18971         Likewise.
18972         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18973         Replace ../i486/pthread_cond_timedwait.S with
18974         ../pthread_cond_timedwait.S.
18976 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
18978         * math/libm-test.inc (acos_test_data): Refine expectations for
18979         errno and "inexact" exceptions.
18980         (acosh_test_data): Likewise.
18981         (asin_test_data): Likewise.
18982         (asinh_test_data): Likewise.
18983         (atan_test_data): Likewise.
18984         (atanh_test_data): Likewise.
18985         (atan2_test_data): Likewise.
18986         (cbrt_test_data): Likewise.
18987         (ceil_test_data): Likewise.
18988         (copysign_test_data): Likewise.
18989         (cosh_test_data): Likewise.
18990         (erf_test_data): Likewise.
18991         (erfc_test_data): Likewise.
18992         (exp_test_data): Likewise.
18993         (exp10_test_data): Likewise.
18994         (exp2_test_data): Likewise.
18995         (expm1_test_data): Likewise.
18996         (fabs_test_data): Likewise.
18997         (floor_test_data): Likewise.
18998         (fma_test_data): Likewise.
18999         (fmax_test_data): Likewise.
19000         (fmin_test_data): Likewise.
19001         (fmod_test_data): Likewise.
19002         (fpclassify_test_data): Likewise.
19003         (frexp_test_data): Likewise.
19004         (hypot_test_data): Likewise.
19005         (ilogb_test_data): Likewise.
19006         (isgreater_test_data): Likewise.
19007         (isgreaterequal_test_data): Likewise.
19008         (isinf_test_data): Likewise.
19009         (isless_test_data): Likewise.
19010         (islessequal_test_data): Likewise.
19011         (islessgreater_test_data): Likewise.
19012         (isnan_test_data): Likewise.
19013         (isnormal_test_data): Likewise.
19014         (issignaling_test_data): Likewise.
19015         (isunordered_test_data): Likewise.
19016         (j0_test_data): Likewise.
19017         (j1_test_data): Likewise.
19018         (jn_test_data): Likewise.
19019         (lgamma_test_data): Likewise.
19020         (lrint_test_data): Likewise.
19021         (llrint_test_data): Likewise.
19022         (log_test_data): Likewise.
19023         (log10_test_data): Likewise.
19024         (log1p_test_data): Likewise.
19025         (log2_test_data): Likewise.
19026         (logb_test_data): Likewise.
19027         (lround_test_data): Likewise.
19028         (llround_test_data): Likewise.
19029         (modf_test_data): Likewise.
19030         (nearbyint_test_data): Likewise.
19031         (nextafter_test_data): Likewise.
19032         (nexttoward_test_data): Likewise.
19033         (pow_test_data): Likewise.
19034         (remainder_test_data): Likewise.
19035         (remquo_test_data): Likewise.
19036         (rint_test_data): Likewise.
19037         (round_test_data): Likewise.
19038         (signbit_test_data): Likewise.
19039         (sinh_test_data): Likewise.
19040         (sqrt_test_data): Likewise.
19041         (tanh_test_data): Likewise.
19042         (tgamma_test_data): Likewise.
19043         (trunc_test_data): Likewise.
19044         (y0_test_data): Likewise.
19045         (y1_test_data): Likewise.
19046         (yn_test_data): Likewise.
19047         (significand_test_data): Likewise.
19049 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19051         * manual/filesys.texi (Storage Allocation): Document that
19052         posix_fallocate emulation fails when fd is open with O_WRONLY.
19054 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19056         [BZ #19016]
19057         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19058         allow more cases with X^2 + Y^2 >= 0.5.
19059         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19060         normal element in sum instead of special-casing based on values of
19061         arguments.
19062         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19063         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19064         -1 as normal element in sum instead of special-casing based on
19065         values of arguments.
19066         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19067         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19068         (__x2y2m1): Update comment.
19069         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19070         as normal element in sum instead of special-casing based on values
19071         of arguments.
19072         * math/s_clog.c (__clog): Handle more cases using log1p without
19073         hypot.
19074         * math/s_clog10.c (__clog10): Likewise.
19075         * math/s_clog10f.c (__clog10f): Likewise.
19076         * math/s_clog10l.c (__clog10l): Likewise.
19077         * math/s_clogf.c (__clogf): Likewise.
19078         * math/s_clogl.c (__clogl): Likewise.
19079         * math/auto-libm-test-in: Add more tests of clog and clog10.
19080         * math/auto-libm-test-out: Regenerated.
19081         * sysdeps/i386/fpu/libm-test-ulps: Update.
19082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19084 2015-09-28  Martin Sebor  <msebor@redhat.com>
19086         [BZ #18969]
19087         * string/Makefile (LOCALES): Define.
19088         (gen-locales.mk): Include.
19089         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19090         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19091         * string/tst-strxfrm2.c (do_test): Print the name of the locale
19092         on setlocale failure.
19094 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19096         [BZ #18985]
19097         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19098         (__strftime_internal): Likewise.
19099         * time/tst-strftime.c (do_bz18985): New test.
19100         (do_test): Call it.
19102 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
19104         [BZ #18956]
19105         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19106         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
19107         extracting high part.
19108         * math/auto-libm-test-in: Add another test of pow.
19109         * math/auto-libm-test-out: Regenerated.
19110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19112 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19114         [BZ #18825]
19115         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19116         New macro.
19117         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19118         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19119         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19120         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19121         DBL_NARROW_EVAL, reloading the PIC register as needed.
19122         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19123         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19124         FLT_NARROW_EVAL.  Use separate return path for case when first
19125         argument is NaN.
19126         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
19127         DEFINE_LDBL_MIN.
19128         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19129         PIC register.
19130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19131         math_check_force_underflow_nonneg.
19132         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19133         underflow for subnormal result.
19134         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19135         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19136         math_check_force_underflow_nonneg.
19137         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19138         math_check_force_underflow.
19139         * sysdeps/x86_64/fpu/x86_64-math-asm.h
19140         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19141         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
19142         DEFINE_LDBL_MIN.
19143         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19144         * math/auto-libm-test-in: Add more tests of pow.
19145         * math/auto-libm-test-out: Regenerated.
19147 2015-09-25  Florian Weimer  <fweimer@redhat.com>
19149         * nss/bug17079.c (init_test_items): Add diagnostic for
19150         inconsistent entries.
19151         (test_buffer_size): Skip inconsistent entries.
19153 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19155         [BZ #13304]
19156         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19157         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19158         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19160         [BZ #13304]
19161         * sysdeps/microblaze/s_fma.c: New file.
19162         * sysdeps/microblaze/s_fmaf.c: Likewise.
19163         * sysdeps/microblaze/sfp-machine.h: Likewise.
19165 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
19167         [BZ #17250]
19168         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19169         member.
19171 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19173         [BZ #18803]
19174         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19175         (MO): New macro.
19176         (__ieee754_hypot) [PIC]: Load PIC register.
19177         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19178         DBL_NARROW_EVAL.
19179         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19180         math_check_force_underflow_nonneg in case where result might be
19181         tiny.
19182         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19183         Likewise.
19184         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19185         Likewise.
19186         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19187         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19188         * math/auto-libm-test-in: Add more tests of hypot.
19189         * math/auto-libm-test-out: Regenerated.
19191 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
19193         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19195 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19197         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19198         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19199         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19200         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19201         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19202         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19203         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19205         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19206         LOAD_PIC_REG.
19208         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19209         (FLT_CHECK_FORCE_UFLOW): Likewise.
19210         (DBL_CHECK_FORCE_UFLOW): Likewise.
19211         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19212         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19213         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19214         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19215         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19216         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19217         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19218         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19219         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19220         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19221         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19222         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19223         (flt_min): Replace with use of DEFINE_FLT_MIN.
19224         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19225         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19226         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19227         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19228         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19229         (flt_min): Replace with use of DEFINE_FLT_MIN.
19230         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19231         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19232         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19233         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19234         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19235         (flt_min): Replace with use of DEFINE_FLT_MIN.
19236         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19237         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19238         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19239         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19240         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19241         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19242         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19243         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19244         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19245         (__atan): Use DBL_CHECK_FORCE_UFLOW.
19246         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19247         (flt_min): Replace with use of DEFINE_FLT_MIN.
19248         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19249         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19250         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19251         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
19252         main computation.
19253         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19254         (flt_min): Replace with use of DEFINE_FLT_MIN.
19255         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
19256         main computation.
19257         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19258         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19259         (MO): New macro.
19260         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19261         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19262         (flt_min): Replace with use of DEFINE_FLT_MIN.
19263         (MO): New macro.
19264         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19265         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19266         (__log1pl): Use MO.
19268         [BZ #19003]
19269         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19270         $(config-cflags-nofma).
19272 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19274         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19276 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
19278         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19279         (TWO127): Likewise.
19281         * sysdeps/generic/math_private.h (fabs_tg): New macro.
19282         (min_of_type): Likewise.
19283         (math_check_force_underflow): Likewise.
19284         (math_check_force_underflow_nonneg): Likewise.
19285         (math_check_force_underflow_complex): Likewise.
19286         * math/e_exp2l.c (__ieee754_exp2l): Use
19287         math_check_force_underflow_nonneg.
19288         * math/k_casinh.c (__kernel_casinh): Likewise.
19289         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19290         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19291         * math/s_catan.c (__catan): Use
19292         math_check_force_underflow_complex.
19293         * math/s_catanf.c (__catanf): Likewise.
19294         * math/s_catanh.c (__catanh): Likewise.
19295         * math/s_catanhf.c (__catanhf): Likewise.
19296         * math/s_catanhl.c (__catanhl): Likewise.
19297         * math/s_catanl.c (__catanl): Likewise.
19298         * math/s_ccosh.c (__ccosh): Likewise.
19299         * math/s_ccoshf.c (__ccoshf): Likewise.
19300         * math/s_ccoshl.c (__ccoshl): Likewise.
19301         * math/s_cexp.c (__cexp): Likewise.
19302         * math/s_cexpf.c (__cexpf): Likewise.
19303         * math/s_cexpl.c (__cexpl): Likewise.
19304         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19305         * math/s_clog10.c (__clog10): Likewise.
19306         * math/s_clog10f.c (__clog10f): Likewise.
19307         * math/s_clog10l.c (__clog10l): Likewise.
19308         * math/s_clogf.c (__clogf): Likewise.
19309         * math/s_clogl.c (__clogl): Likewise.
19310         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19311         * math/s_csinf.c (__csinf): Likewise.
19312         * math/s_csinh.c (__csinh): Likewise.
19313         * math/s_csinhf.c (__csinhf): Likewise.
19314         * math/s_csinhl.c (__csinhl): Likewise.
19315         * math/s_csinl.c (__csinl): Likewise.
19316         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19317         * math/s_csqrtf.c (__csqrtf): Likewise.
19318         * math/s_csqrtl.c (__csqrtl): Likewise.
19319         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19320         * math/s_ctanf.c (__ctanf): Likewise.
19321         * math/s_ctanh.c (__ctanh): Likewise.
19322         * math/s_ctanhf.c (__ctanhf): Likewise.
19323         * math/s_ctanhl.c (__ctanhl): Likewise.
19324         * math/s_ctanl.c (__ctanl): Likewise.
19325         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19326         instead of volatile.
19327         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19328         math_check_force_underflow.
19329         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19330         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19331         volatile when forcing underflow.
19332         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19333         math_check_force_underflow_nonneg.
19334         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19335         Likewise.
19336         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19337         math_check_force_underflow.
19338         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19339         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19340         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19341         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19342         math_check_force_underflow_nonneg.
19343         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19344         math_check_force_underflow.
19345         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19347         instead of volatile.
19348         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19349         math_check_force_underflow.
19350         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19351         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19352         math_check_force_underflow_nonneg.
19353         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19354         math_check_force_underflow.
19355         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19356         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19357         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19358         math_check_force_underflow_nonneg.
19359         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19360         Likewise.
19361         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19362         math_check_force_underflow.
19363         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19364         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19365         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19366         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19367         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19368         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19369         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19370         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19371         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19372         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19373         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19374         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19375         Likewise.
19376         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19377         math_check_force_underflow_nonneg.
19378         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19379         Likewise.
19380         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19381         math_check_force_underflow.
19382         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19383         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19384         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19385         Likewise.
19386         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19387         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19388         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19389         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19390         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19391         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19393         instead of volatile.
19394         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19395         math_check_force_underflow.
19396         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19397         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19398         math_check_force_underflow.
19399         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19400         Likewise.
19401         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19402         Use math_check_force_underflow_nonneg.
19403         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19404         math_check_force_underflow.
19405         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19406         Likewise.
19407         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19408         Likewise.
19409         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19410         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19411         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19412         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19413         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19414         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19415         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19416         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19417         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19418         math_check_force_underflow_nonneg.
19419         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19420         math_check_force_underflow.
19421         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19422         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19423         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19424         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19425         math_check_force_underflow_nonneg.
19426         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19427         math_check_force_underflow.
19428         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19430         instead of volatile.
19431         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19432         math_check_force_underflow.
19434         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19435         * stdlib/strtod_l.c: Include <math_private.h>.
19436         (overflow_value): Use math_narrow_eval.
19437         (underflow_value): Likewise.
19438         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19439         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19440         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19441         (__ieee754_gamma_r): Likewise.
19442         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19443         Likewise.
19444         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19445         Likewise.
19446         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19447         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19448         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19449         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19450         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19451         (__ieee754_gammaf_r): Likewise.
19452         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19453         Likewise.
19454         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19455         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19456         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19457         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19458         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19459         volatile.
19460         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19461         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19462         math_narrow_eval.
19463         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19464         Likewise.
19465         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19466         Likewise.
19467         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19468         Likewise.
19469         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19470         volatile.
19471         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19472         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19473         math_narrow_eval.
19474         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19475         Likewise.
19476         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19477         Likewise.
19479 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
19481         * nptl/Versions: Remove ignored symbols.
19483 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19485         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
19486         * nss/Makefile (tests): Update.
19488 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19490         * nss/bug18287.c: New file.
19491         * nss/Makefile (tests): Add bug18287.
19493 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19495         * mach/Versions (__mach_host_self_): Add symbol.
19497 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19499         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19500         vm_page_size.
19502 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19504         Really fix sysdeps/i386/fpu/s_scalbn.S build
19506         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19507         (libc: GLIBC_2_22): Remove unused version set.
19509 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19511         * config.make.in (enable-timezone-tools): New variable.
19512         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19513         (enable_timezone_tools): Export to generated files.
19514         * configure: Regenerate.
19515         * INSTALL: Regenerate.
19516         * manual/install.texi (--disable-timezone-tools): Document new flag.
19517         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19518         ifeq ($(enable-timezone-tools),yes) check.
19520 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19522         * timezone/Makefile: Revert previous change.
19524         [BZ #18980]
19525         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19526         (DEFINE_DBL_MIN): Likewise.
19527         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19528         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19529         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19530         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19531         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19532         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19533         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19534         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19535         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19536         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19537         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19538         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19539         (flt_min): Replace with use of DEFINE_FLT_MIN.
19540         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19541         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19542         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19543         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19544         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19545         (flt_min): Replace with use of DEFINE_FLT_MIN.
19546         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19547         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19548         (flt_min): Replace with use of DEFINE_FLT_MIN.
19549         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19550         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19551         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19552         (__ieee754_hypot): Use DBL_NARROW_EVAL.
19553         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19554         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19555         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19556         (__ieee754_pow): Use DBL_NARROW_EVAL.
19557         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19558         (__ieee754_powf): Use FLT_NARROW_EVAL.
19559         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19560         (__ieee754_expf_sse2): Convert double-precision result to single
19561         precision.
19562         * sysdeps/i386/fpu/libm-test-ulps: Update.
19564 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19566         * timezone/Makefile: Ignore unused variable errors due to private.h
19567         (time_t_min) and (time_t_max).
19568         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
19569         Likewise.
19571 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19573         [BZ #18981]
19574         * sysdeps/i386/fpu/i386-math-asm.h: New file.
19575         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19576         (__ieee754_scalb): Use DBL_NARROW_EVAL.
19577         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19578         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19579         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19580         (__scalbn): Use DBL_NARROW_EVAL.
19581         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19582         (__scalbnf): Use FLT_NARROW_EVAL.
19584 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19586         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19587         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19588         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19589         * stdio-common/printf_fp.c (___printf_fp):
19590         Use signbit to get the sign. Use isinf macro to allow inlining.
19591         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19592         * stdio-common/printf_size.c (__printf_size): Likewise.
19594 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19596         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19598 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19600         [BZ #18980]
19601         * sysdeps/generic/math_private.h: Include <float.h>.
19602         (math_narrow_eval): New macro.
19603         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19604         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19605         math_narrow_eval on overflowing return value.
19606         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19607         Likewise.
19608         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19609         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19610         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19611         Likewise.
19612         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19614 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19616         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19617         * math/Makefile: Remove isinf_ns.c.
19618         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19619         * math/multc3.c (__multc3): Likewise.
19620         * math/s_casin.c (__casin): Likewise.
19621         * math/s_casinf.c (__casinf): Likewise.
19622         * math/s_casinl.c (__casinl): Likewise.
19623         * math/s_cproj.c (__cproj): Likewise.
19624         * math/s_cprojf.c (__cprojf): Likewise.
19625         * math/s_cprojl.c (__cprofl): Likewise.
19626         * math/s_ctan.c (__ctan): Likewise.
19627         * math/s_ctanf.c (__ctanf): Likewise.
19628         * math/s_ctanh.c (__ctanh): Likewise.
19629         * math/s_ctanhf.c (__ctanhf): Likewise.
19630         * math/s_ctanhl.c (__ctanhl): Likewise.
19631         * math/s_ctanl.c (__ctanl): Likewise.
19632         * math/w_fmod.c (__fmod): Likewise.
19633         * math/w_fmodf.c (__fmodf): Likewise.
19634         * math/w_fmodl.c (_fmodl): Likewise.
19635         * math/w_remainder.c (__remainder): Likewise.
19636         * math/w_remainderf.c (__remainderf): Likewise.
19637         * math/w_remainderl.c (__remainderl): Likewise.
19638         * math/w_scalb.c (__scalb): Likewise.
19639         * math/w_scalbf.c (__scalbf): Likewise.
19640         * math/w_scalbl.c (__scalbl): Likewise.
19641         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19642         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19643         with isinf.
19644         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19645         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19646         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19647         __isinf_nsf with isinf.
19648         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19649         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19650         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19651         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19652         with isinf.
19653         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19654         __isinf_nsl with isinf.
19655         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19656         with isinf.
19657         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19658         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19659         __isinf_nsl with isinf.
19660         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19661         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19662         with isinf.
19664 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19666         * resolv/base64.c (rcsid): Remove unused static.
19667         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19668         static.  (tqpi1): Likewise.
19669         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19670         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19671         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19672         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19673         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19674         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19675         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19676         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
19677         Likewise.
19679 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
19681         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19682         <nptl/pthreadP.h>.
19683         (_longjmp_unwind): Use __libc_ptf_call.
19684         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19686 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
19688         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19689         * sysdeps/arm/__longjmp.S: Likewise.
19691 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19693         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19694         Use __builtin_signbit.
19695         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19696         Use __builtin_signbitf.
19697         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19698         Use __builtin_signbitl.
19699         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19700         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19702 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19704         [BZ #15367]
19705         [BZ #17441]
19707         * math/Makefile: Build test-snan.c with -fsignaling-nans.
19708         * math/math.h (fpclassify): Use __builtin_fpclassify when
19709         available.  (signbit): Use __builtin_signbit(f/l).
19710         (isfinite): Use__builtin_isfinite.  (isnormal): Use
19711         __builtin_isnormal.  (isnan): Use __builtin_isnan.
19712         (isinf): Use __builtin_isinf_sign.
19714 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19716         * benchtests/Makefile: Add bench-math-inlines, link with libm.
19717         * benchtests/bench-math-inlines.c: New benchmark.
19718         * benchtests/bench-util.h: New file.
19719         * benchtests/bench-util.c: New file.
19720         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19722 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
19724         * elf/tst-dlmopen1.c: Define TEST_SO.
19725         (do_test): Use TEST_SO.
19727         * elf/dl-load.c: Include libc-internal.h.
19728         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19730 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19732         [BZ #17887]
19733         * time/strptime_l.c (__strptime_internal): Make %z accept
19734         [+-]HH:MM time zones.
19736 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19738         [BZ #17886]
19739         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19740         valid time zone.
19742 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
19744         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19745         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19746         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19747         (__ASSUME_FDATASYNC): Delete.
19749 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19751         * conform/linknamespace.pl: Require weak undefined symbols to be
19752         in the standard namespace.
19753         (%strong_syms): Rename to %seen_syms.
19754         (%strong_seen): Rename to %seen_where.
19756 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
19758         [BZ #18970]
19759         * misc/error.c (error): Replace pthread_setcancelstate with
19760         __pthread_setcancelstate.
19761         (error_at_line): Likewise.
19762         * posix/wordexp.c (parse_comm): Likewise.
19763         * stdlib/fmtmsg.c (fmtmsg): Likewise.
19764         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19765         (__pthread_setcancelstate): This.
19766         (pthread_setcancelstate): Add an alias.
19767         * nptl/nptl-init.c (pthread_functions): Replace
19768         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19769         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19770         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19771         hidden_proto.
19772         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19773         it with hidden_def.
19774         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19775         (pthread_setcancelstate): Renamed to ...
19776         (__pthread_setcancelstate): This.
19777         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19778         __libc_ptf_call with __pthread_setcancelstate.
19780 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19781             Andreas Schwab  <schwab@suse.de>
19783         [BZ #17118]
19784         * math/s_ctan.c (__ctan): Determine sign of zero real part of
19785         result when imaginary part of argument is infinite using sine and
19786         cosine.
19787         * math/s_ctanf.c (__ctanf): Likewise.
19788         * math/s_ctanl.c (__ctanl): Likewise.
19789         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19790         of result when real part of argument is infinite using sine and
19791         cosine.
19792         * math/s_ctanhf.c (__ctanhf): Likewise.
19793         * math/s_ctanhl.c (__ctanhl): Likewise.
19794         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19795         (ctanh_test_data): Add more tests of ctanh.
19797 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19799         [BZ #15384]
19800         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19801         bit-mask as in subtraction.
19802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19803         Likewise.
19804         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19805         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19806         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19808         [BZ #18951]
19809         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19810         underflow exception for small results.
19811         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19812         Likewise.
19813         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19814         Likewise.
19815         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19816         Likewise.
19817         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19818         Likewise.
19819         * math/auto-libm-test-in: Add more tests of tgamma.
19820         * math/auto-libm-test-out: Regenerated.
19822 2015-09-17  Andreas Schwab  <schwab@suse.de>
19824         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19826 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19828         [BZ #18977]
19829         * math/bits/mathcalls.h
19830         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19831         not declare.
19832         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19833         Likewise.
19834         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19835         Likewise.
19836         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19837         Likewise.
19838         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19839         Likewise.
19840         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19841         Likewise.
19842         * conform/data/math.h-data
19843         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19844         function.
19845         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19846         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19847         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19848         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19849         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19850         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19851         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19852         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19853         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19854         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19855         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19857         [BZ #6803]
19858         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19859         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19860         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19861         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19862         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19863         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19864         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19865         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19866         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19868         Likewise.
19869         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19870         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
19871         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
19872         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
19873         long_double_symbol calls.
19874         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
19875         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
19876         strong alias of __ldexpl.
19877         (scalbnl): Define using long_double_symbol.
19878         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
19879         Remove alias.
19880         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
19881         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
19882         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
19883         (scalbln_test_data): Add more errno expectations.
19885 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
19887         Cache the host port like we cache the task port.  This way we do not
19888         need to call the kernel just to get the port.  Furthermore, we no
19889         longer increase the reference count on every invocation of
19890         `mach_host_self'.
19892         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
19893         Protect declarations against the macro expansion.
19894         * mach/mach_init.c (__mach_host_self_): New variable.
19895         (mach_init): Initialize `__mach_host_self_'.
19896         * mach/mach_init.h (__mach_host_self_): New declaration.
19897         (__mach_host_self, mach_host_self): New macros.
19898         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
19899         Release reference.
19901 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19903         [BZ #4404]
19904         * po/de.po: Update from Translation Project.
19906         [BZ #16415]
19907         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
19908         (__expm1l): Remove code to handle positive infinity and overflow.
19909         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
19910         variable.
19911         (__expm1l): Remove code to handle positive infinity and overflow.
19913 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
19914             Paul Pluzhnikov  <ppluzhnikov@google.com>
19916         [BZ #18872]
19917         * stdio-common/Makefile (tst-printf-bz18872): New test.
19918         (tst-printf-bz18872-mem.out): Likewise.
19919         * stdio-common/tst-printf-bz18872.sh: Generate new test.
19920         * stdio-common/vfprintf.c: Fix memory leaks.
19922 2015-09-16  Andreas Schwab  <schwab@suse.de>
19924         [BZ #17244]
19925         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
19926         Remove extra va_start/va_end calls.
19928         [BZ #17243]
19929         * posix/execl.c (execl): Add missing va_end.
19930         * posix/execle.c (execle): Likewise.
19931         * posix/execlp.c (execlp): Likewise.
19933 2015-09-15  Roland McGrath  <roland@hack.frob.com>
19935         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
19936         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
19938 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
19940         [BZ #18967]
19941         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
19942         undefine around includes of <bits/mathcalls.h>.
19943         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
19944         not declare function.
19945         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
19946         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
19947         (scalb): Likewise.
19948         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
19949         not define macro.
19950         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
19951         variable.
19952         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19953         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19954         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19956         [BZ #18857]
19957         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
19958         return non-finite argument without doing ordered comparisons on
19959         it.
19961         [BZ #16296]
19962         * math/fenv.h (fegetround): Use __attribute_pure__.
19963         * include/fenv.h (__fegetround): Likewise.
19965         [BZ #18595]
19966         * math/s_ctan.c (__ctan): Force underflow exception for results
19967         whose real or imaginary part has small absolute value.
19968         * math/s_ctanf.c (__ctanf): Likewise.
19969         * math/s_ctanh.c (__ctanh): Likewise.
19970         * math/s_ctanhf.c (__ctanhf): Likewise.
19971         * math/s_ctanhl.c (__ctanhl): Likewise.
19972         * math/s_ctanl.c (__ctanl): Likewise.
19973         * math/auto-libm-test-in: Do not allow missing underflow for ctan
19974         and ctanh.  Add more tests of ctan and ctanh.
19976         [BZ #15918]
19977         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
19978         handling of cases where one argument is an infinity.
19980         [BZ #18875]
19981         [BZ #18966]
19982         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
19983         (MO): New macro.
19984         (__ieee754_exp10): For small results, force underflow exception
19985         and remove excess range and precision from return value.
19986         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
19987         (MO): New macro.
19988         (__ieee754_exp10f): For small results, force underflow exception
19989         and remove excess range and precision from return value.
19990         * math/auto-libm-test-in: Add more tests of exp10.
19991         * math/auto-libm-test-out: Regenerated.
19993 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
19995         [BZ #18875]
19996         [BZ #18961]
19997         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
19998         (MO): New macro.
19999         (__ieee754_exp): For small results, force underflow exception and
20000         remove excess range and precision from return value.
20001         (__exp_finite): Likewise.
20002         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20003         (MO): New macro.
20004         (__ieee754_expf): For small results, force underflow exception and
20005         remove excess range and precision from return value.
20006         (__expf_finite): Likewise.
20007         * math/auto-libm-test-in: Add more tests of exp.
20008         * math/auto-libm-test-out: Regenerated.
20010         [BZ #16521]
20011         [BZ #18875]
20012         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20013         small results.
20014         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20015         (MO): New macro.
20016         (__ieee754_exp2): For small results, force underflow exception and
20017         remove excess range and precision from return value.
20018         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20019         (MO): New macro.
20020         (__ieee754_exp2f): For small results, force underflow exception
20021         and remove excess range and precision from return value.
20022         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20023         (MO): New macro.
20024         (__ieee754_exp2l): Force underflow exception for small results.
20025         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20026         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20027         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20028         (MO): New macro.
20029         (__ieee754_exp2l): Force underflow exception for small results.
20030         * math/auto-libm-test-in: Add more tests or exp2.
20031         * math/auto-libm-test-out: Regenerated.
20033 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20035         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20037         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20038         /dev/null.
20040 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20042         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20043         io fs process)): Drop spurious backslash.
20045 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20047         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20048         Use sysinfo system call instead of parsing /proc/meminfo.
20049         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20050         Likewise.
20052 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20054         [BZ #16985]
20055         * programs/localedef.c (main): Display argv[remaining] when
20056         output_path is NULL.
20058 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20060         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20061         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20062         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20063         tanh.
20064         * math/auto-libm-test-out: Regenerated.
20065         * sysdeps/i386/fpu/libm-test-ulps: Update.
20066         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20067         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20070 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20072         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20073         Use 'override' keyword to freeze the value here, preventing
20074         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20076 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20078         [BZ #14912]
20079         * sysdeps/aarch64/bits/atomic.h: Move to ...
20080         * sysdeps/aarch64/atomic-machine.h: ...here.
20081         (_AARCH64_BITS_ATOMIC_H): Rename macro to
20082         _AARCH64_ATOMIC_MACHINE_H.
20083         * sysdeps/alpha/bits/atomic.h: Move to ...
20084         * sysdeps/alpha/atomic-machine.h: ...here.
20085         * sysdeps/arm/bits/atomic.h: Move to ...
20086         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
20087         * bits/atomic.h: Move to ...
20088         * sysdeps/generic/atomic-machine.h: ...here.
20089         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20090         * sysdeps/i386/bits/atomic.h: Move to ...
20091         * sysdeps/i386/atomic-machine.h: ...here.
20092         * sysdeps/ia64/bits/atomic.h: Move to ...
20093         * sysdeps/ia64/atomic-machine.h: ...here.
20094         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20095         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20096         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20097         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20098         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20099         * sysdeps/microblaze/bits/atomic.h: Move to ...
20100         * sysdeps/microblaze/atomic-machine.h: ...here.
20101         * sysdeps/mips/bits/atomic.h: Move to ...
20102         * sysdeps/mips/atomic-machine.h: ...here.
20103         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20104         * sysdeps/powerpc/bits/atomic.h: Move to ...
20105         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
20106         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20107         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
20108         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
20109         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20110         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
20111         <atomic-machine.h> instead of <bits/atomic.h>.
20112         * sysdeps/s390/bits/atomic.h: Move to ...
20113         * sysdeps/s390/atomic-machine.h: ...here.
20114         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20115         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20116         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20117         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20118         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20119         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20120         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20121         * sysdeps/tile/bits/atomic.h: Move to ...
20122         * sysdeps/tile/atomic-machine.h: ...here.
20123         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20124         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
20125         <sysdeps/tile/atomic-machine.h> instead of
20126         <sysdeps/tile/bits/atomic.h>.
20127         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20128         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20129         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
20130         <sysdeps/tile/atomic-machine.h> instead of
20131         <sysdeps/tile/bits/atomic.h>.
20132         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20133         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20134         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
20135         <sysdeps/arm/atomic-machine.h> instead of
20136         <sysdeps/arm/bits/atomic.h>.
20137         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20138         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20139         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20140         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20141         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20142         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20143         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20144         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20145         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20146         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20147         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20148         * sysdeps/x86_64/bits/atomic.h: Move to ...
20149         * sysdeps/x86_64/atomic-machine.h: ...here.
20150         * include/atomic.h: Include <atomic-machine.h> instead of
20151         <bits/atomic.h>.
20153         * sysdeps/mips/mips32/libm-test-ulps: Update.
20154         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20156         [BZ #18952]
20157         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20158         not convert non-integer negative arguments to int to determine the
20159         value of signgam.
20160         * math/auto-libm-test-in: Add more tests of lgamma.
20161         * math/auto-libm-test-out: Regenerated.
20163         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20164         cosh, csqrt, erfc, expm1 and lgamma.
20165         * math/auto-libm-test-out: Regenerated.
20166         * sysdeps/i386/fpu/libm-test-ulps: Update.
20167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20169 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
20171         [BZ #2542]
20172         [BZ #2543]
20173         [BZ #2558]
20174         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20175         __lgamma_neg for arguments from -28.0 to -2.0.
20176         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20177         __lgamma_negf for arguments from -15.0 to -2.0.
20178         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20179         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20180         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20181         Call __lgamma_negl for arguments from -33.0 to -2.0.
20182         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20183         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20184         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20185         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20186         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20187         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20188         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20189         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20190         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20191         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20192         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20193         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20194         (__lgamma_neg): Likewise.
20195         (__lgamma_negl): Likewise.
20196         (__lgamma_product): Likewise.
20197         (__lgamma_productl): Likewise.
20198         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20199         * math/auto-libm-test-in: Add more tests of lgamma.
20200         * math/auto-libm-test-out: Regenerated.
20201         * sysdeps/i386/fpu/libm-test-ulps: Update.
20202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20204 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
20206         [BZ #18675]
20207         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20209 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
20211         [BZ #14912]
20212         * bits/libc-lock.h: Move to ...
20213         * sysdeps/generic/libc-lock.h: ...here.
20214         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20215         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20216         * sysdeps/mach/hurd/libc-lock.h: ...here.
20217         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20218         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20219         * sysdeps/mach/bits/libc-lock.h: Move to ...
20220         * sysdeps/mach/libc-lock.h: ...here.
20221         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20222         * sysdeps/nptl/bits/libc-lock.h: Move to ...
20223         * sysdeps/nptl/libc-lock.h: ...here.
20224         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20225         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20226         * sysdeps/nptl/libc-lockP.h: ...here.
20227         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20228         * crypt/crypt_util.c: Include <libc-lock.h> instead of
20229         <bits/libc-lock.h>.
20230         * dirent/scandir-tail.c: Likewise.
20231         * dlfcn/dlerror.c: Likewise.
20232         * elf/dl-close.c: Likewise.
20233         * elf/dl-iteratephdr.c: Likewise.
20234         * elf/dl-lookup.c: Likewise.
20235         * elf/dl-open.c: Likewise.
20236         * elf/dl-support.c: Likewise.
20237         * elf/dl-writev.h: Likewise.
20238         * elf/rtld.c: Likewise.
20239         * grp/fgetgrent.c: Likewise.
20240         * gshadow/fgetsgent.c: Likewise.
20241         * gshadow/sgetsgent.c: Likewise.
20242         * iconv/gconv_conf.c: Likewise.
20243         * iconv/gconv_db.c: Likewise.
20244         * iconv/gconv_dl.c: Likewise.
20245         * iconv/gconv_int.h: Likewise.
20246         * iconv/gconv_trans.c: Likewise.
20247         * include/link.h: Likewise.
20248         * inet/getnameinfo.c: Likewise.
20249         * inet/getnetgrent.c: Likewise.
20250         * inet/getnetgrent_r.c: Likewise.
20251         * intl/bindtextdom.c: Likewise.
20252         * intl/dcigettext.c: Likewise.
20253         * intl/finddomain.c: Likewise.
20254         * intl/gettextP.h: Likewise.
20255         * intl/loadmsgcat.c: Likewise.
20256         * intl/localealias.c: Likewise.
20257         * intl/textdomain.c: Likewise.
20258         * libidn/idn-stub.c: Likewise.
20259         * libio/libioP.h: Likewise.
20260         * locale/duplocale.c: Likewise.
20261         * locale/freelocale.c: Likewise.
20262         * locale/newlocale.c: Likewise.
20263         * locale/setlocale.c: Likewise.
20264         * login/getutent_r.c: Likewise.
20265         * login/getutid_r.c: Likewise.
20266         * login/getutline_r.c: Likewise.
20267         * login/utmp-private.h: Likewise.
20268         * login/utmpname.c: Likewise.
20269         * malloc/mtrace.c: Likewise.
20270         * misc/efgcvt.c: Likewise.
20271         * misc/error.c: Likewise.
20272         * misc/fstab.c: Likewise.
20273         * misc/getpass.c: Likewise.
20274         * misc/mntent.c: Likewise.
20275         * misc/syslog.c: Likewise.
20276         * nis/nis_call.c: Likewise.
20277         * nis/nis_callback.c: Likewise.
20278         * nis/nss-default.c: Likewise.
20279         * nis/nss_compat/compat-grp.c: Likewise.
20280         * nis/nss_compat/compat-initgroups.c: Likewise.
20281         * nis/nss_compat/compat-pwd.c: Likewise.
20282         * nis/nss_compat/compat-spwd.c: Likewise.
20283         * nis/nss_nis/nis-alias.c: Likewise.
20284         * nis/nss_nis/nis-ethers.c: Likewise.
20285         * nis/nss_nis/nis-grp.c: Likewise.
20286         * nis/nss_nis/nis-hosts.c: Likewise.
20287         * nis/nss_nis/nis-network.c: Likewise.
20288         * nis/nss_nis/nis-proto.c: Likewise.
20289         * nis/nss_nis/nis-pwd.c: Likewise.
20290         * nis/nss_nis/nis-rpc.c: Likewise.
20291         * nis/nss_nis/nis-service.c: Likewise.
20292         * nis/nss_nis/nis-spwd.c: Likewise.
20293         * nis/nss_nisplus/nisplus-alias.c: Likewise.
20294         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20295         * nis/nss_nisplus/nisplus-grp.c: Likewise.
20296         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20297         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20298         * nis/nss_nisplus/nisplus-network.c: Likewise.
20299         * nis/nss_nisplus/nisplus-proto.c: Likewise.
20300         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20301         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20302         * nis/nss_nisplus/nisplus-service.c: Likewise.
20303         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20304         * nis/ypclnt.c: Likewise.
20305         * nptl/libc_pthread_init.c: Likewise.
20306         * nss/getXXbyYY.c: Likewise.
20307         * nss/getXXent.c: Likewise.
20308         * nss/getXXent_r.c: Likewise.
20309         * nss/nss_db/db-XXX.c: Likewise.
20310         * nss/nss_db/db-netgrp.c: Likewise.
20311         * nss/nss_db/nss_db.h: Likewise.
20312         * nss/nss_files/files-XXX.c: Likewise.
20313         * nss/nss_files/files-alias.c: Likewise.
20314         * nss/nsswitch.c: Likewise.
20315         * posix/regex_internal.h: Likewise.
20316         * posix/wordexp.c: Likewise.
20317         * pwd/fgetpwent.c: Likewise.
20318         * resolv/res_hconf.c: Likewise.
20319         * resolv/res_libc.c: Likewise.
20320         * shadow/fgetspent.c: Likewise.
20321         * shadow/lckpwdf.c: Likewise.
20322         * shadow/sgetspent.c: Likewise.
20323         * socket/opensock.c: Likewise.
20324         * stdio-common/reg-modifier.c: Likewise.
20325         * stdio-common/reg-printf.c: Likewise.
20326         * stdio-common/reg-type.c: Likewise.
20327         * stdio-common/vfprintf.c: Likewise.
20328         * stdio-common/vfscanf.c: Likewise.
20329         * stdlib/abort.c: Likewise.
20330         * stdlib/cxa_atexit.c: Likewise.
20331         * stdlib/fmtmsg.c: Likewise.
20332         * stdlib/random.c: Likewise.
20333         * stdlib/setenv.c: Likewise.
20334         * string/strsignal.c: Likewise.
20335         * sunrpc/auth_none.c: Likewise.
20336         * sunrpc/bindrsvprt.c: Likewise.
20337         * sunrpc/create_xid.c: Likewise.
20338         * sunrpc/key_call.c: Likewise.
20339         * sunrpc/rpc_thread.c: Likewise.
20340         * sysdeps/arm/backtrace.c: Likewise.
20341         * sysdeps/generic/ldsodefs.h: Likewise.
20342         * sysdeps/generic/stdio-lock.h: Likewise.
20343         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20344         * sysdeps/i386/backtrace.c: Likewise.
20345         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20346         * sysdeps/m68k/backtrace.c: Likewise.
20347         * sysdeps/mach/hurd/cthreads.c: Likewise.
20348         * sysdeps/mach/hurd/dirstream.h: Likewise.
20349         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20350         * sysdeps/nptl/malloc-machine.h: Likewise.
20351         * sysdeps/nptl/stdio-lock.h: Likewise.
20352         * sysdeps/posix/dirstream.h: Likewise.
20353         * sysdeps/posix/getaddrinfo.c: Likewise.
20354         * sysdeps/posix/system.c: Likewise.
20355         * sysdeps/pthread/aio_suspend.c: Likewise.
20356         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20357         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20358         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20359         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20360         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20361         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20362         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20363         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20364         * sysdeps/unix/sysv/linux/system.c: Likewise.
20365         * sysdeps/x86_64/backtrace.c: Likewise.
20366         * time/alt_digit.c: Likewise.
20367         * time/era.c: Likewise.
20368         * time/tzset.c: Likewise.
20369         * wcsmbs/wcsmbsload.c: Likewise.
20370         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20371         instead of <bits/libc-lock.h> in comment.
20373 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
20375         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20376         Only use .set mips2 if the current ISA is below mips2.
20377         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20378         Likewise.
20379         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20380         mips32r2 if the current ISA is below mips32r2.
20381         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20382         (TLS_IE): Updated to use the TLD_RDHWR macro.
20383         (TLS_LE): Likewise.
20384         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20385         __ASSEMBLER__ condition.
20387 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20389         Fix parallel build of before-compile targets.
20391         * sysdeps/mach/Makefile ($(patsubst
20392         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20393         mach-before-compile target.
20394         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20395         io fs process)): Move rule to dedicated hurd-before-compile target.
20397 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20399         Fix rules generating headers in hurd/ and mach/ when initial make call
20400         has subdir= explicitly set.
20402         * sysdeps/mach/Makefile ($(patsubst
20403         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20404         calling $(MAKE).
20405         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20406         io fs process)): Force subdir to hurd when calling $(MAKE).
20407         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20408         subdir to mach when calling $(MAKE).
20410 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
20412         Check sysheaders when looking for Mach and Hurd headers
20414         * sysdeps/mach/configure.ac: Add sysheaders check.
20415         * sysdeps/mach/configure: Regenerate.
20416         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20417         * sysdeps/mach/hurd/configure: Regenerate.
20419 2015-09-04  Roland McGrath  <roland@hack.frob.com>
20421         [BZ #18921]
20422         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20423         Fix inverted sense of test of 'o_directory_works' value.
20424         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20425         Bernhard Voelker <mail@bernhard-voelker.de>.
20427 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20429         [BZ #14912]
20430         * bits/linkmap.h: Move to ...
20431         * sysdeps/generic/linkmap.h: ...here.
20432         * sysdeps/aarch64/bits/linkmap.h: Move to ...
20433         * sysdeps/aarch64/linkmap.h: ...here.
20434         * sysdeps/arm/bits/linkmap.h: Move to ...
20435         * sysdeps/arm/linkmap.h: ...here.
20436         * sysdeps/hppa/bits/linkmap.h: Move to ...
20437         * sysdeps/hppa/linkmap.h: ...here.
20438         * sysdeps/ia64/bits/linkmap.h: Move to ...
20439         * sysdeps/ia64/linkmap.h: ...here.
20440         * sysdeps/mips/bits/linkmap.h: Move to ...
20441         * sysdeps/mips/linkmap.h: ...here.
20442         * sysdeps/s390/bits/linkmap.h: Move to ...
20443         * sysdeps/s390/linkmap.h: ...here.
20444         * sysdeps/sh/bits/linkmap.h: Move to ...
20445         * sysdeps/sh/linkmap.h: ...here.
20446         * sysdeps/x86/bits/linkmap.h: Move to ...
20447         * sysdeps/x86/linkmap.h: ...here.
20448         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20450 2015-09-04  Andreas Schwab  <schwab@suse.de>
20452         [BZ #18635]
20453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20454         (__makecontext): Terminate FDE before return label.
20455         (__novec_makecontext): Likewise.
20457 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20459         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20460         first member of struct sv in syscall macro.
20462 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20464         [BZ #14912]
20465         * bits/stdio-lock.h: Move to ...
20466         * sysdeps/generic/stdio-lock.h: ...here.
20467         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20468         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20469         * sysdeps/nptl/stdio-lock.h: ...here.
20470         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20471         * include/libio.h: Include <stdio-lock.h> instead of
20472         <bits/stdio-lock.h>.
20473         * sysdeps/nptl/fork.c: Likewise.
20474         * sysdeps/pthread/flockfile.c: Likewise.
20475         * sysdeps/pthread/ftrylockfile.c: Likewise.
20476         * sysdeps/pthread/funlockfile.c: Likewise.
20478         [BZ #14912]
20479         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20480         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20481         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20482         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20483         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20484         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20485         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20487 2015-09-03  Roland McGrath  <roland@hack.frob.com>
20489         * elf/Makefile (test-xfail-tst-protected1a): New variable.
20490         (test-xfail-tst-protected1b): New variable.
20492 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
20494         [BZ #14912]
20495         * bits/libc-tsd.h: Move to ...
20496         * sysdeps/generic/libc-tsd.h: ...here.
20497         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20498         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20499         * sysdeps/mach/hurd/libc-tsd.h: ...here.
20500         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20501         * include/ctype.h: Include <libc-tsd.h> instead of
20502         <bits/libc-tsd.h>.
20503         * include/rpc/rpc.h: Likewise.
20504         * locale/localeinfo.h: Likewise.
20505         * sunrpc/rpc_thread.c: Likewise.
20506         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20507         * sysdeps/nptl/malloc-machine.h: Likewise.
20509         * Makefile (headers): Remove bits/libc-lock.h.
20510         * libio/Makefile (headers): Remove bits/stdio-lock.h.
20512         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20513         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20514         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20515         <bits/stdio-lock.h>.
20516         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20517         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20519 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20521         [BZ #18757]
20522         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20523         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20524         BZ #18757.
20526 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20528         * malloc/mtrace.pl: Filter out NULL entries.
20530 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
20532         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20533         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20534         macro.
20536         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20537         (TCP_CC_INFO): Likewise.
20538         (TCP_SAVE_SYN): Likewise.
20539         (TCP_SAVED_SYN): Likewise.
20541 2015-08-31  Brett Neumeier <brett@neumeier.us>
20543         [BZ #18870]
20544         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20546 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
20548         [BZ #18873]
20549         Fix broken overflow check in posix_fallocate
20550         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20551         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20552         Fix parenthesization typo.
20554 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
20556         [BZ #18887]
20557         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20558         tst-mntent-blank-passno.
20559         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20560         * misc/tst-mntent-blank-corrupt.c: New test.
20561         * misc/tst-mntent-blank-passno.c: New test ripped from ...
20562         * misc/tst-mntent.c (do_test): ... here.
20564 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
20566         [BZ #4404]
20567         * po/de.po: Fix SIGALRM typo.
20569 2015-08-28  James Perkins  <james@loowit.net>
20571         * time/tst-strptime2.c (tests): Replace short list of test
20572         strings for strptime %z specifier with code which exhaustively
20573         tests every combination of sign and 0 to 5 digits. Tests for
20574         rejection of invalid strings.
20576 2015-08-28  James Perkins  <james@loowit.net>
20578         [BZ #16141]
20579         * time/strptime_l.c (__strptime_internal): Fix %z minutes
20580         calculation, removing incorrect decimal time rounding, so that
20581         all minute values result in a valid seconds value.
20582         * time/strptime_l.c (__strptime_internal): Extend %z time zone
20583         offset range limits to UTC-99:59 through UTC+99:59 to parse
20584         current and historical use cases.
20585         * time/tst-strptime2.c (tests): Modify and add tests for the
20586         strptime %z input field descriptor, specifically conversion of
20587         minutes to seconds and validating an offset range of -9959 to
20588         +9959.
20590 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20591             Dmitry V. Levin  <ldv@altlinux.org>
20593         [BZ #18877]
20594         * posix/Makefile (tests): Add tst-mmap-offset.
20595         * posix/tst-mmap.c: New file.
20596         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20597         offset calculation for negative values.
20599 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20601         * sysdeps/i386/init-arch.h: New file.
20602         * sysdeps/i386/i586/init-arch.h: Likewise.
20603         * sysdeps/i386/i686/init-arch.h: Likewise.
20604         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20605         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
20606         * sysdeps/x86/cpu-features.h (bit_I586): New.
20607         (bit_I686): Likewise.
20608         (bit_CX8): Likewise.
20609         (bit_CMOV): Likewise.
20610         (index_CX8): Likewise.
20611         (index_CMOV): Likewise.
20612         (index_I586): Likewise.
20613         (index_I686): Likewise.
20614         (reg_CX8): Likewise.
20615         (reg_CMOV): Likewise.
20616         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20617         available at compile-time.
20618         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20619         available at compile-time.
20620         * sysdeps/x86/init-arch.h (USE_I586): New macro.
20621         (USE_I686): Likewise.
20623 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20625         * sysdeps/i386/bcopy.S: New file.
20626         * sysdeps/i386/bzero.S: Likewise.
20627         * sysdeps/i386/memcpy.S: Likewise.
20628         * sysdeps/i386/memmove.S: Likewise.
20629         * sysdeps/i386/mempcpy.S: Likewise.
20630         * sysdeps/i386/memset.S: Likewise.
20631         * sysdeps/i386/bzero.c: Removed.
20632         * sysdeps/i386/memset.c: Likewise.
20633         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20634         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20635         * sysdeps/i386/i586/memset_chk.S: Likewise.
20636         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20637         * sysdeps/i386/memcpy_chk.S: Here.
20638         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20639         * sysdeps/i386/memmove_chk.S: Here.
20640         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20641         * sysdeps/i386/mempcpy_chk.S: Likewise.
20642         * sysdeps/i386/i686/memset_chk.S: Moved to ...
20643         * sysdeps/i386/memset_chk.S: Likewise.
20645 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
20647         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20648         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20649         file, move DIAG_POP_NEEDS_COMMENT to end of file.
20650         * soft-fp/fmadf4.c: Ditto.
20651         * soft-fp/fmatf4.c: Ditto.
20653 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20655         * sysdeps/i386/i586/Implies: Removed.
20656         * sysdeps/i386/i686/Implies: Likewise.
20658 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20660         * sysdeps/i386/i486/strlen.S: Moved to ...
20661         * sysdeps/i386/strlen.S: Here.
20663 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20665         * sysdeps/i386/i486/strcat.S: Moved to ...
20666         * sysdeps/i386/strcat.S: Here.
20668 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20670         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20671         * sysdeps/i386/pthread_spin_trylock.S: Here.
20672         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20673         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20675 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20677         * sysdeps/i386/i486/string-inlines.c: Moved to ...
20678         * sysdeps/i386/string-inlines.c: Here.
20680 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20682         * sysdeps/i386/i486/htonl.S: Moved ...
20683         * sysdeps/i386/htonl.S: here.
20685 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20687         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20688         * sysdeps/i386/bits/atomic.h: Here.
20690 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20692         * sysdeps/i386/i486/Versions: Removed.
20694 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20696         [BZ #2898]
20697         * misc/mktemp.c: Add mkdtemp to the link_warning message.
20698         Based on patch by Aurelien Jarno.
20700 2015-08-26  Stan Shebs  <stanshebs@google.com>
20702         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20703         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20705 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20707         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20708         * sysdeps/powerpc/dl-procinfo.c:
20709         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20710         feature so it shows when LD_SHOW_AUXV=1.
20712 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20714         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20715         (__arch_compare_and_exchange_val_32_acq): Remove and use common
20716         definition.  ISA 2.07B no longer requires full sync.
20718 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
20720         [BZ #18863]
20721         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20722         (si_call_addr): Define.
20723         (si_syscall): Define.
20724         (si_arch): Define.
20726 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20728         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20729         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20730         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20731         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20732         (__memset_zero_constant_len_parameter): New.
20733         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20734         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20735         (__memset_zero_constant_len_parameter): Don't define if
20736         __memset_chk or USE_AS_BZERO are defined.
20738         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20739         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20740         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20742         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20743         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20744         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20745         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
20746         comments.
20747         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20748         -mno-mmx for $(all-rtld-routines).
20749         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20750         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
20751         i386.
20753 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20755         * sysdeps/generic/unwind.h
20756         (_Unwind_Word): Use __mode__(__unwind_word__)
20757         instead of __mode__(__word__).
20758         (_Unwind_Sword): Likewise.
20760         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20761         (MAX_NEEDED_INPUT): New define.
20762         (MAX_NEEDED_OUTPUT): New define.
20764         * NEWS: New item for IBM z13 string optimizations.
20766         * sysdeps/s390/multiarch/memrchr-c.c: New File.
20767         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20768         * sysdeps/s390/multiarch/memrchr.c: Likewise.
20769         * sysdeps/s390/multiarch/Makefile
20770         (sysdep_routines): Add memrchr functions.
20771         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20772         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20774         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20775         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20776         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20777         * sysdeps/s390/multiarch/Makefile
20778         (sysdep_routines): Add wmemcmp functions.
20779         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20780         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20781         * benchtests/bench-wmemcmp.c: New File.
20782         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20784         * sysdeps/s390/multiarch/wmemset-c.c: New File.
20785         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20786         * sysdeps/s390/multiarch/wmemset.c: Likewise.
20787         * sysdeps/s390/multiarch/Makefile
20788         (sysdep_routines): Add wmemset functions.
20789         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20790         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20791         * wcsmbs/wmemset.c: Use WMEMSET if defined.
20792         * string/test-memset.c: Add wmemset support.
20793         * wcsmbs/test-wmemset.c: New File.
20794         * wcsmbs/Makefile (strop-tests): Add wmemset.
20795         * benchtests/bench-memset.c: Add wmemset support.
20796         * benchtests/bench-wmemset.c: New File.
20797         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20799         * sysdeps/s390/multiarch/memccpy-c.c: New File.
20800         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20801         * sysdeps/s390/multiarch/memccpy.c: Likewise.
20802         * sysdeps/s390/multiarch/Makefile
20803         (sysdep_routines): Add memccpy functions.
20804         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20805         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20806         * string/memccpy.c: Use MEMCCPY if defined.
20808         * sysdeps/s390/multiarch/memchr-vx.S: New File.
20809         * sysdeps/s390/multiarch/memchr.c: Likewise.
20810         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20811         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20812         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20813         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20814         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20815         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20816         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20817         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20818         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20819         and rawmemchr functions.
20820         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20821         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20822         and wmemchr.
20823         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20824         * string/test-memchr.c: Add wmemchr support.
20825         * wcsmbs/test-wmemchr.c: New File.
20826         * wcsmbs/Makefile (strop-tests): Add wmemchr.
20827         * benchtests/bench-memchr.c: Add wmemchr support.
20828         * benchtests/bench-wmemchr.c: New File.
20829         * benchtests/Makefile (wcsmbs-bench): wmemchr.
20831         * sysdeps/s390/multiarch/strcspn-c.c: New File.
20832         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20833         * sysdeps/s390/multiarch/strcspn.c: Likewise.
20834         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20835         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20836         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20837         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20838         wcscspn functions.
20839         * sysdeps/s390/multiarch/ifunc-impl-list.c
20840         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20841         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20842         * string/test-strcspn.c: Add wcscspn support.
20843         * wcsmbs/test-wcscspn.c: New File.
20844         * wcsmbs/Makefile (strop-tests): Add wcscspn.
20845         * benchtests/bench-strcspn.c: Add wcscspn support.
20846         * benchtests/bench-wcscspn.c: New File.
20847         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20849         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20850         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20851         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20852         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20853         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20854         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20855         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20856         wcspbrk functions.
20857         * sysdeps/s390/multiarch/ifunc-impl-list.c
20858         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20859         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20860         * string/test-strpbrk.c: Add wcspbrk support.
20861         * wcsmbs/test-wcspbrk.c: New File.
20862         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20863         * benchtests/bench-strpbrk.c: Add wcspbrk support.
20864         * benchtests/bench-wcspbrk.c: New File.
20865         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20867         * sysdeps/s390/multiarch/strspn-c.c: New File.
20868         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20869         * sysdeps/s390/multiarch/strspn.c: Likewise.
20870         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
20871         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
20872         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
20873         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
20874         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
20875         wcsspn functions.
20876         * sysdeps/s390/multiarch/ifunc-impl-list.c
20877         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
20878         * string/test-strspn.c: Add wcsspn support.
20879         * wcsmbs/test-wcsspn.c: New File.
20880         * wcsmbs/Makefile (strop-tests): Add wcsspn.
20881         * benchtests/bench-strspn.c: Add wcsspn support.
20882         * benchtests/bench-wcsspn.c: New File.
20883         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
20885         * sysdeps/s390/multiarch/strrchr-c.c: New File.
20886         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
20887         * sysdeps/s390/multiarch/strrchr.c: Likewise.
20888         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
20889         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
20890         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
20891         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
20892         wcsrchr functions.
20893         * sysdeps/s390/multiarch/ifunc-impl-list.c
20894         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
20895         * benchtests/bench-wcsrchr.c: New File.
20896         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
20898         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
20899         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
20900         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
20901         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
20902         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
20903         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
20904         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
20905         wcschrnul functions.
20906         * sysdeps/s390/multiarch/ifunc-impl-list.c
20907         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
20908         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
20909         * string/test-strchr.c: Add wcschrnul support.
20910         * wcsmbs/test-wcschrnul.c: New File.
20911         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
20912         * benchtests/bench-strchr.c: Add wcschrnul support.
20913         * benchtests/bench-wcschrnul.c: New File.
20914         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
20916         * sysdeps/s390/multiarch/strchr-c.c: New File.
20917         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
20918         * sysdeps/s390/multiarch/strchr.c: Likewise.
20919         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
20920         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
20921         * sysdeps/s390/multiarch/wcschr.c: Likewise.
20922         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
20923         wcschr functions.
20924         * sysdeps/s390/multiarch/ifunc-impl-list.c
20925         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
20926         * string/strchr.c (STRCHR): Define and use macro.
20927         * benchtests/bench-wcschr.c: New File.
20928         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
20930         * sysdeps/s390/multiarch/strncmp-c.c: New File.
20931         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
20932         * sysdeps/s390/multiarch/strncmp.c: Likewise.
20933         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
20934         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
20935         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
20936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
20937         wcsncmp functions.
20938         * sysdeps/s390/multiarch/ifunc-impl-list.c
20939         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
20940         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
20941         * benchtests/bench-strncmp.c: Add wcsncmp support.
20942         * benchtests/bench-wcsncmp.c: New File.
20943         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
20945         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
20946         * sysdeps/s390/multiarch/strcmp.c: Likewise.
20947         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
20948         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
20949         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
20950         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
20951         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
20952         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
20953         wcscmp functions.
20954         * sysdeps/s390/multiarch/ifunc-impl-list.c
20955         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
20956         * string/strcmp.c (STRCMP): Define and use macro.
20957         * benchtests/bench-wcscmp.c: New File.
20958         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
20959         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
20960         instead of _HAVE_STRING_ARCH_memchr.
20962         * sysdeps/s390/multiarch/strncat-c.c: New File.
20963         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
20964         * sysdeps/s390/multiarch/strncat.c: Likewise.
20965         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
20966         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
20967         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
20968         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
20969         wcsncat functions.
20970         * sysdeps/s390/multiarch/ifunc-impl-list.c
20971         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
20972         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
20973         * string/test-strncat.c: Add wcsncat support.
20974         * wcsmbs/test-wcsncat.c: New File.
20975         * wcsmbs/Makefile (strop-tests): Add wcsncat.
20976         * benchtests/bench-strncat.c: Add wcsncat support.
20977         * benchtests/bench-wcsncat.c: New File.
20978         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
20980         * sysdeps/s390/multiarch/strcat-c.c: New File.
20981         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
20982         * sysdeps/s390/multiarch/strcat.c: Likewise.
20983         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
20984         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
20985         * sysdeps/s390/multiarch/wcscat.c: Likewise.
20986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
20987         wcscat functions.
20988         * sysdeps/s390/multiarch/ifunc-impl-list.c
20989         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
20990         * string/strcat.c (STRCAT): Define and use macro.
20991         * wcsmbs/wcscat.c: Use WCSCAT if defined.
20992         * string/test-strcat.c: Add wcscat support.
20993         * wcsmbs/test-wcscat.c: New File.
20994         * wcsmbs/Makefile (strop-tests): Add wcscat.
20995         * benchtests/bench-strcat.c: Add wcscat support.
20996         * benchtests/bench-wcscat.c: New File.
20997         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
20999         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21000         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21001         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21002         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21003         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21004         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21005         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21006         wcpncpy functions.
21007         * sysdeps/s390/multiarch/ifunc-impl-list.c
21008         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21009         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21010         * string/test-stpncpy.c: Add wcpncpy support.
21011         * wcsmbs/test-wcpncpy.c: New File.
21012         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21013         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21014         * benchtests/bench-wcpncpy.c: New File.
21015         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21017         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21018         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21019         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21020         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21021         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21022         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21023         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21024         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21025         wcsncpy functions.
21026         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21027         * sysdeps/s390/multiarch/ifunc-impl-list.c
21028         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21029         * string/test-strncpy.c: Add wcsncpy support.
21030         * wcsmbs/test-wcsncpy.c: New File.
21031         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21032         * benchtests/bench-strncpy.c: Add wcsncpy support.
21033         * benchtests/bench-wcsncpy.c: New File.
21034         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21036         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21037         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21038         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21039         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21040         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21041         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21042         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21043         wcpcpy functions.
21044         * string/stpcpy.c: Use STPCPY if defined.
21045         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21046         * sysdeps/s390/multiarch/ifunc-impl-list.c
21047         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21048         * string/test-stpcpy.c: Add wcpcpy support.
21049         * wcsmbs/test-wcpcpy.c: New File.
21050         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21051         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21052         * benchtests/bench-wcpcpy.c: New File.
21053         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21055         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21056         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21057         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21058         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21059         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21060         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21061         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21062         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21063         wcscpy functions.
21064         * sysdeps/s390/multiarch/ifunc-impl-list.c
21065         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21066         * benchtests/bench-wcscpy.c: New File.
21067         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21069         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21070         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21071         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21072         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21073         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21074         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21075         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21076         wcsnlen functions.
21077         * sysdeps/s390/multiarch/ifunc-impl-list.c
21078         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21079         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21080         * string/test-strnlen.c: Add wcsnlen support.
21081         * wcsmbs/test-wcsnlen.c: New File.
21082         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21083         * benchtests/bench-strnlen.c: Add wcsnlen support.
21084         * benchtests/bench-wcsnlen.c: New File.
21085         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21087         * sysdeps/s390/multiarch/Makefile: New File.
21088         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21089         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21090         * sysdeps/s390/multiarch/strlen.c: Likewise.
21091         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21092         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21093         * sysdeps/s390/multiarch/wcslen.c: Likewise.
21094         * string/strlen.c (STRLEN): Define and use macro.
21095         * sysdeps/s390/multiarch/ifunc-impl-list.c
21096         (IFUNC_VX_IMPL): New macro function.
21097         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21098         * benchtests/Makefile (wcsmbs-bench): New variable.
21099         (string-bench-all): Added wcsmbs-bench.
21100         * benchtests/bench-wcslen.c: New File.
21102         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21103         s390_vx_libc_ifunc2): New macro function.
21105         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21106         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21107         assembler support.
21108         * sysdeps/s390/configure: Regenerated.
21110         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21111         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21113         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21114         * sysdeps/s390/dl-procinfo.h: Add vector capability.
21115         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21117         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21118         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21120         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21121         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21122         (memcmp, bcmp): Use __memcmp_default as alias source.
21123         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21124         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21125         Rename to __memcmp_default.
21126         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21127         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21128         (memcpy): Use __memcpy_default as alias source.
21129         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21130         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21131         Rename to __memcpy_default.
21132         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21133         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21134         (memset): Use __memset_default as alias source.
21135         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21136         * sysdeps/s390/s390-32/memset.S (__memset_g5):
21137         Rename to __memset_default.
21138         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21139         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21140         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21141         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21142         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21143         (memcmp, bcmp): Use __memcmp_default as alias source.
21144         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21145         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21146         Rename to __memcmp_default.
21147         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21148         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21149         (memcpy): Use __memcpy_default as alias source.
21150         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21151         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21152         Rename to __memcpy_default.
21153         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21154         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21155         (memset): Use __memset_default as alias source.
21156         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21157         * sysdeps/s390/s390-64/memset.S (__memset_z900):
21158         Rename to __memset_default.
21159         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21160         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21162         [BZ #18610]
21163         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21164         __ieee_instruction_pointer to __unused.
21165         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21166         __ieee_instruction_pointer.
21167         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21168         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21169         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21170         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21171         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21172         Mark dxc-field as reserved.
21174 2015-08-25  Roland McGrath  <roland@hack.frob.com>
21176         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21177         if the weak reference is not null.
21179 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21181         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21183         [BZ #11214]
21184         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21186 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21188         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21189         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21190         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21191         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21192         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21193         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21194         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21195         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21196         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21197         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21198         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21199         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21200         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21201         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21202         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21203         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21204         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21205         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21207 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21209         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21210         register other than r0 for tabort, it has special meaning.
21211         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21212         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21213         transaction before starting syscall.
21215 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21217         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21219 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21221         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21223         * sysdeps/x86_64/rtld-memcmp.c: Removed.
21224         * sysdeps/x86_64/rtld-memset.S: Likewise.
21225         * sysdeps/x86_64/rtld-strchr.S: Likewise.
21226         * sysdeps/x86_64/rtld-strlen.S: Likewise.
21227         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21228         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21230         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21232 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
21234         * debug/strcpy_chk.c: Improve performance.
21235         * debug/stpcpy_chk.c: Likewise.
21236         * sysdeps/x86_64/strcpy_chk.S: Remove.
21237         * sysdeps/x86_64/stpcpy_chk.S: Remove.
21239         [BZ #18240]
21240         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21242 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21244         [BZ #15128]
21245         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21246         ifuncmain8.
21247         (modules-names): Add ifuncmod8.
21248         ($(objpfx)ifuncmain8): New rule.
21249         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21250         <cpuid.h>.
21251         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21252         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21253         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21254         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21255         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21256         * sysdeps/x86_64/dl-trampoline.h: Likewise.
21257         * sysdeps/x86_64/ifuncmain8.c: New file.
21258         * sysdeps/x86_64/ifuncmod8.c: Likewise.
21259         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21260         Removed.
21261         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21262         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21263         Change rtld_savespace_sse to __glibc_unused2.
21264         (RTLD_CHECK_FOREIGN_CALL): Removed.
21265         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21266         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21267         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21269 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21271         * sysdeps/aarch64/bzero.S (__bzero): Remove.
21273 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21275         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21276         Unconditionally set __fpcr to avoid uninialized warning.
21277         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21279 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21281         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21282         is corrupt.
21284         * malloc/arena.c (arena_get2): Drop unused argument.
21285         (arena_lock): Adjust.
21286         (arena_get_retry): Likewise.
21288 2015-08-24  Andreas Schwab  <schwab@suse.de>
21290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21291         Don't define.
21292         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21293         (__ASSUME_IPC64): Don't undef.
21294         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21295         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21296         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21297         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21298         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21299         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21300         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21301         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21302         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21303         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21304         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21305         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21306         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21307         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21308         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21309         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21310         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21311         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21312         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21313         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21314         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21316 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
21318         * manual/Makefile (install): Only build manual when perl is available.
21320 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21322         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21323         '#undef memcpy' by '#undef memchr'.
21325 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21327         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21328         memchr not point to the internal __GI_memchr implementation.
21330 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21332         * timezone/Makefile (CFLAGS-zdump.c): Remove
21333         -Wno-strict-prototypes.
21334         (CFLAGS-zic.c): Likewise.
21335         (CFLAGS-ialloc.c): Likewise.
21336         (CFLAGS-scheck.c): Likewise.
21338         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21339         -Wno-error=undef.
21341 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21343         * i386/i686/multiarch/strcasestr-c.c: Removed.
21344         * x86_64/multiarch/strcasestr.c: Likewise.
21345         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21346         Remove strcasestr.
21348 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21350         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21352         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21353         variables for high and low parts before possibly modifying them.
21355 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21357         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21358         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21359         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21360         of "multiarch/init-arch.h".
21361         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21362         * sysdeps/x86/init-arch.h: This.
21364 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21366         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21367         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21369 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
21371         [BZ #17787]
21372         * manual/macros.texi: Add twoexp macro.
21373         * manual/filesys.texi: Fix exponents.
21374         * manual/llio.texi: Likewise.
21375         * manual/stdio.texi: Likewise.
21377 2015-08-20  Florian Weimer  <fweimer@redhat.com>
21379         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21380         incorrect use.
21382 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21384         [BZ #18370]
21385         * math/s_csqrt.c (__csqrt): Force underflow exception for results
21386         whose real or imaginary part has small absolute value.
21387         * math/s_csqrtf.c (__csqrtf): Likewise.
21388         * math/s_csqrtl.c (__csqrtl): Likewise.
21389         * math/auto-libm-test-in: Add more tests of csqrt.
21390         * math/auto-libm-test-out: Regenerated.
21391         * sysdeps/i386/fpu/libm-test-ulps: Update.
21393 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21395         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21396         __ppc_set_ppr_very_low): New functions.
21397         * manual/platform.texi: Add documentation about
21398         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21400 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
21402         * string/stpncpy.c (stpncpy): Improve performance using
21403         __strnlen/memcpy/memset.
21405 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21407         [BZ #18796]
21408         * scripts/test-installation.pl: Don't add -lmvec to build options if
21409         libmvec wasn't built.
21411 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21413         [BZ #14341]
21414         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21415         case when there is a gap between DT_REL and DT_JMPREL sections.
21416         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21417         (LDFLAGS-tst-split-dynreloc): New.
21418         (tst-split-dynreloc-ENV): Likewise.
21419         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21420         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21422 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21424         [BZ #18822]
21425         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21426         attribute_hidden.
21427         (__xstat64_conv): Likewise.
21428         (__xstat32_conv): Likewise.
21430 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21432         [BZ #18822]
21433         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21434         Don't load %ebx when calling __setcontext.  Call __setcontext
21435         with HIDDEN_JUMPTARGET.
21436         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21437         libc_hidden_def.
21439 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21441         * sysdeps/i386/i686/Makefile
21442         [$(subdir) == string] (sysdep_routines): Moved to ...
21443         * sysdeps/i386/Makefile: Here.
21444         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21445         * sysdeps/i386/cacheinfo.c: Here.
21446         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21447         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21448         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21449         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21451 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21453         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21454         __i586__ is defined.
21455         (HAS_I686): Defined to 1 if __i686__ is defined.
21457 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21459         * elf/Makefile [$(have-z-execstack) = yes]
21460         (CPPFLAGS-tst-execstack.c): New variable.
21462         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21463         conditional to [defined UTMPX || _HAVE_UT_TYPE].
21464         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21465         UTMPX || _HAVE_UT_TV].
21466         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21467         UTMPX || _HAVE_UT_TV - 0].
21469 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
21471         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21472         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21473         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21475 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21477         * sysdeps/powerpc/dl-procinfo.c:
21478         (_dl_powerpc_cap_flags): Added missing strings for some
21479         hwcap features.
21480         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21482 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
21484         Port the 0x7efe...feff pattern to GCC 6.
21485         See Steve Ellcey's bug report in:
21486         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21487         * string/memrchr.c (MEMRCHR):
21488         * string/rawmemchr.c (RAWMEMCHR):
21489         * string/strchr.c (strchr):
21490         * string/strchrnul.c (STRCHRNUL):
21491         Rewrite code to avoid issues with signed shift overflow.
21493 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
21495         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21496         whether cpuid is available only if HAS_CPUID is 0.
21497         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21498         (HAS_I586): Likewise.
21499         (HAS_I686): Likewise.
21501 2015-08-18  Zack Weinberg  <zackw@panix.com>
21503         * misc/Versions (libc): Add GLIBC_2.23.
21505 2015-08-18  Alan Modra  <amodra@gmail.com>
21507         [BZ #18421]
21508         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21509         .Lp__global.
21510         (_start): Load %dp via .Lp__global.
21511         [!SHARED]: Use .section .rodata.
21513 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21515         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21516         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21518 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21520         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21521         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21523 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21525         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21526         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21528 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21530         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21531         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21533 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21535         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21536         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21538 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21540         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21541         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21543 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21545         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21547 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21549         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21550         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
21551         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21552         (__ASSUME_LWS_CAS): Delete.
21554 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21556         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21557         * sysdeps/hppa/configure: Regenerated.
21558         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21559         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21560         * sysdeps/hppa/nptl/tls.h: Likewise.
21562 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
21564         [BZ #18823]
21565         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21566         for scaling up small arguments.
21567         * math/s_csqrtf.c (__csqrtf): Likewise.
21568         * math/s_csqrtl.c (__csqrtl): Likewise.
21569         * math/auto-libm-test-in: Add more tests of csqrt.
21570         * math/auto-libm-test-out: Regenerated.
21572 2015-08-17  Andreas Schwab  <schwab@suse.de>
21574         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21575         version set GLIBC_2.19.
21577 2015-08-16  Zack Weinberg  <zackw@panix.com>
21579         [BZ #18681]
21580         * misc/regexp.h: This interface is no longer supported.
21581         Remove all contents, leaving only an #error directive.
21582         * misc/regexp.c (loc1, loc2, locs, step, advance):
21583         Demote to compatibility symbols.
21585 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
21587         [BZ #18084]
21588         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21589         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21590         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21591         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21592         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21593         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21594         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21595         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21596         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21598 2015-08-15  Zack Weinberg  <zackw@panix.com>
21600         [BZ #18795]
21601         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21602         buffer length is known to be too large, not if it's known to be
21603         small enough.
21604         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21605         overflow at runtime, involving a length parameter, twice: once
21606         with a compile-time constant length parameter, once without.
21608 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
21610         [BZ #18824]
21611         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21612         scaling x * y up instead of down.
21613         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21614         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21615         * math/auto-libm-test-in: Add more tests of fma.
21616         * math/auto-libm-test-out: Regenerated.
21618 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21620         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21622 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21624         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21625         unnecessary movq.
21626         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21627         Likewise.
21629 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
21631         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21632         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21633         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21634         and tgamma.
21635         * math/auto-libm-test-out: Regenerated.
21636         * sysdeps/i386/fpu/libm-test-ulps: Update.
21637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21639         [BZ #16520]
21640         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21641         (__tanh): Force underflow exception for arguments with small
21642         absolute value.
21643         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21644         (__tanhf): Force underflow exception for arguments with small
21645         absolute value.
21646         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21647         (__tanhl): Force underflow exception for arguments with small
21648         absolute value.
21649         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21650         (__tanhl): Force underflow exception for arguments with small
21651         absolute value.
21652         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21653         (__tanhl): Force underflow exception for arguments with small
21654         absolute value.
21655         * math/auto-libm-test-in: Add more tests of tanh.
21656         * math/auto-libm-test-out: Regenerated.
21657         * sysdeps/i386/fpu/libm-test-ulps: Update.
21659 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21661         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21662         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21664 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21666         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21667         <cpuid.h>.
21669 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21671         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21672         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21674 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21676         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21677         Remove $(objpfx)init-arch.o.
21678         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21679         init-arch.
21680         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21681         (INIT_ARCH_EXT): Defined as empty.
21682         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21684         __init_cpu_features call.  Replace HAS_XXX with
21685         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21686         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21687         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21688         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21689         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21690         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21691         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21692         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21693         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21694         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21695         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21696         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21697         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21698         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21699         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21700         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21701         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21702         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21703         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21704         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21705         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21706         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21707         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21708         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21709         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21710         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21711         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21712         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21713         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21714         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21715         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21716         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21717         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21718         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21719         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21720         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21722 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21724         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21725         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21726         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21727         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21728         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21729         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21730         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21731         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21732         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21733         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21734         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21735         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
21736         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21737         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21738         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21739         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21740         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21741         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21742         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21743         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21744         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21745         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21746         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21747         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21748         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21749         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21750         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21751         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21752         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21753         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21754         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21755         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21756         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21757         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21758         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21759         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21760         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21761         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21762         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21763         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21764         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21765         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21766         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21768 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21770         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21771         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21772         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21773         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21774         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21775         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21776         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21777         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21778         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21779         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21780         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21781         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21782         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21783         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21784         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21785         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21786         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21787         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21788         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21789         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21791         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21792         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21793         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21794         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21795         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21796         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21797         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
21798         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21799         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21800         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21801         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21802         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21803         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21804         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21805         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21806         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21807         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21808         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21809         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21810         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21811         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21812         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21814 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21816         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21817         (dl_platform_init): Call init_cpu_features.
21818         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21819         * sysdeps/i386/i686/cacheinfo.c
21820         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21821         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21822         * sysdeps/i386/i686/multiarch/Versions: Removed.
21823         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21824         Removed.
21825         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21826         * sysdeps/unix/sysv/linux/x86/Makefile
21827         (libpthread-sysdep_routines): Remove init-arch.
21828         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21829         <sysdeps/x86_64/dl-procinfo.c> instead of
21830         sysdeps/generic/dl-procinfo.c>.
21831         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21832         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21833         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21834         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21835         [$(subdir) == elf] (tests-static): Add
21836         tst-get-cpu-features-static.
21837         * sysdeps/x86/Versions: New file.
21838         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21839         * sysdeps/x86/cpu-features.c: Likewise.
21840         * sysdeps/x86/cpu-features.h: Likewise.
21841         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21842         * sysdeps/x86/libc-start.c: Likewise.
21843         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21844         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21845         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21846         * sysdeps/x86_64/dl-procinfo.c: Likewise.
21847         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21848         Assume USE_MULTIARCH is defined and don't check it.
21849         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21850         (is_amd): Likewise.
21851         (max_cpuid): Likewise.
21852         (intel_check_word): Likewise.
21853         (__cache_sysconf): Don't call __init_cpu_features.
21854         (__x86_preferred_memory_instruction): Removed.
21855         (init_cacheinfo): Don't call __init_cpu_features. Replace
21856         __cpu_features with GLRO(dl_x86_cpu_features).
21857         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21858         (dl_platform_init): Call init_cpu_features.
21859         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21860         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21861         * sysdeps/x86_64/multiarch/Versions: Removed.
21862         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21863         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21864         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21865         Removed.
21866         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21868 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21870         [BZ #18820]
21871         * libio/Makefile (test-fmemopen-mem): New test.
21872         * libio/test-fmemopen.c (do_bz18820): New test.
21873         * libio/fmemopen.c (__fmemopen): Fix memory leak.
21874         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
21876 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21878         [BZ #16734]
21879         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
21880         (FREE_BUF): Delete.
21881         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
21882         * libio/genops.c (_IO_setb): Use malloc and free directly.
21883         (_IO_default_doallocate, _IO_default_finish): Likewise.
21884         ( _IO_unbuffer_all): Likewise.
21885         ( libc_freeres_fn): Likewise.
21886         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21887         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21888         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
21889         (_IO_wdefault_doallocate): Likewise.
21891 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21893         [BZ #18086]
21894         * sysdeps/posix/nice.c (nice): Restore old errno.
21895         * posix/tst-nice.c (do_test): Add test for BZ #18086.
21897 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
21899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
21901 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21903         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
21904         __bcopy and add a weak_alias to bcopy.
21905         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
21906         for static build.
21908         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
21909         cleanup macro usage.
21910         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
21911         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
21912         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21913         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
21914         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21915         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
21916         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
21917         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21918         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21919         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
21920         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21921         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
21922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21923         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
21924         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21925         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
21926         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
21927         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
21928         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21930         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
21931         libc_hidden_def.
21932         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
21934         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
21935         (sysdep_routines): Add strstr-ppc64.
21936         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
21938 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
21940         [BZ #18778]
21941         * elf/Makefile (tests): Add Add tst-nodelete2.
21942         (modules-names): Add tst-nodelete2mod.
21943         (tst-nodelete2mod.so-no-z-defs): New.
21944         ($(objpfx)tst-nodelete2): Likewise.
21945         ($(objpfx)tst-nodelete2.out): Likewise.
21946         (LDFLAGS-tst-nodelete2): Likewise.
21947         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
21948         out of loop through all loaded libraries.
21949         * elf/tst-nodelete2.c: New file.
21950         * elf/tst-nodelete2mod.c: Likewise.
21951         * elf/tst-znodelete-zlib.cc: Delete.
21953 2015-08-11  Andreas Schwab  <schwab@suse.de>
21955         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
21956         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
21957         (__openat64_nocancel): Likewise.
21959 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
21961         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
21962         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
21963         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
21964         * math/auto-libm-test-out: Regenerated.
21965         * sysdeps/i386/fpu/libm-test-ulps: Update.
21966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21968 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
21970         [BZ #18790]
21971         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
21972         threshold for returning +/- 1.
21973         * math/auto-libm-test-in: Add more tests of tanh.
21974         * math/auto-libm-test-out: Regenerated.
21975         * sysdeps/i386/fpu/libm-test-ulps: Update.
21977 2015-08-10  Andreas Schwab  <schwab@suse.de>
21979         [BZ #18781]
21980         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
21981         MORE_OFLAGS to oflag.
21982         * io/test-lfs.c (do_test): Test openat64.
21984 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
21986         [BZ #18789]
21987         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
21988         smaller threshold for returning the argument.
21989         * math/auto-libm-test-in: Add more tests of sinh.
21990         * math/auto-libm-test-out: Regenerated.
21991         * sysdeps/i386/fpu/libm-test-ulps: Update.
21993 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21995         [BZ #18674]
21996         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
21997         break.
21999 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22001         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22002         (generated): Don't add $(addprefix z.,$(tzfiles)).
22004 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22006         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22007         * scripts/sysd-rules.awk: Likewise.
22009 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22011         * iconvdata/tst-tables.sh: Change echo -n to printf.
22012         * nss/db-Makefile: Likewise.
22013         * posix/tst-getconf.sh: Likewise.
22014         * stdio-common/tst-unbputc.sh: Likewise.
22016 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22018         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22019         MADV_*_PAGES defines behind this feature check.
22021 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22023         [BZ #18480]
22024         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22025         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22026         Define.
22027         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22028         LOAD_REGS_5, LOAD_REGS_6): Update.
22029         (INTERNAL_SYSCALL): Update using new LOAD defines.
22030         (INTERNAL_SYSCALL_NCS): Likewise.
22031         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22033 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22035         [BZ #16734]
22036         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22038 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22040         [BZ #17905]
22041         * catgets/Makefile (tst-catgets-mem): New test.
22042         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22043         * catgets/open_catalog.c (__open_catalog): Likewise.
22044         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22046 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22048         [BZ #18787]
22049         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22050         clobber registers.
22051         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22052         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22053         Cast return to __typeof (oldval).
22055 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22057         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22058         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22059         and delete sys/syscall.h include.
22061 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22063         [BZ #16517]
22064         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22065         (tan): Force underflow exception for arguments with small absolute
22066         value.
22067         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22068         (__kernel_tanf): Force underflow exception for arguments with
22069         small absolute value.
22070         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22071         (__kernel_tanl): Force underflow exception for arguments with
22072         small absolute value.
22073         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22074         (__kernel_tanl): Force underflow exception for arguments with
22075         small absolute value.
22076         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22077         (__kernel_tanl): Force underflow exception for arguments with
22078         small absolute value.
22079         * math/auto-libm-test-in: Add more tests of tan.
22080         * math/auto-libm-test-out: Regenerated.
22082 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22084         Fix sysdeps/i386/fpu/s_scalbn.S build
22086         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22088 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
22090         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22092 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22094         Fix gcrt0.o compilation
22096         When static-start-installed-name is different from
22097         start-installed-name, we must not use the shared objects.
22099         * csu/Makefile
22100         (extra-objs): Add gmon-start.o when building shared library and
22101         $(static-start-installed-name) is different from
22102         $(start-installed-name).
22103         $(objpfx)g$(static-start-installed-name): When building shared
22104         library and $(static-start-installed-name) is different from
22105         $(static-start-installed-name), revert to non-shared rule,
22106         i.e. using $(objpfx)% and gmon-start.o.
22108 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
22110         [BZ #16519]
22111         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22112         (__ieee754_sinh): Force underflow exception for arguments with
22113         small absolute value.
22114         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22115         (__ieee754_sinhf): Force underflow exception for arguments with
22116         small absolute value.
22117         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22118         (__ieee754_sinhl): Force underflow exception for arguments with
22119         small absolute value.
22120         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22121         (__ieee754_sinhl): Force underflow exception for arguments with
22122         small absolute value.
22123         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22124         (__ieee754_sinhl): Force underflow exception for arguments with
22125         small absolute value.
22126         * math/auto-libm-test-in: Add more tests of sinh.
22127         * math/auto-libm-test-out: Regenerated.
22128         * sysdeps/i386/fpu/libm-test-ulps: Update.
22130 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22132         * libio/oldfileops.c: Include unistd.h.
22134 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
22136         * stdlib/isomac.c: Include ctype.h.
22138 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
22140         * dirent/tst-seekdir.c (main): Converted to ...
22141         (do_test): ... this.
22142         (TEST_FUNCTION): New macro.
22143         Include test-skeleton.c.
22144         * elf/tst-dlmodcount.c (main): Converted to ...
22145         (do_test): ... this.
22146         (TEST_FUNCTION): New macro.
22147         Include test-skeleton.c.
22148         * elf/tst-order-main.c (main): Converted to ...
22149         (do_test): ... this.
22150         (TEST_FUNCTION): New macro.
22151         Include test-skeleton.c.
22152         * elf/tst-pie2.c (main): Converted to ...
22153         (do_test): ... this.
22154         (TEST_FUNCTION): New macro.
22155         Include test-skeleton.c.
22156         * inet/tst-ether_aton.c (main): Converted to ...
22157         (do_test): ... this.
22158         (TEST_FUNCTION): New macro.
22159         Include test-skeleton.c.
22160         * misc/tst-mntent.c (main): Converted to ...
22161         (do_test): ... this.
22162         (TEST_FUNCTION): New macro.
22163         Include test-skeleton.c.
22164         * misc/tst-tsearch.c (main): Converted to ...
22165         (do_test): ... this.
22166         (TEST_FUNCTION): New macro.
22167         Include test-skeleton.c.
22168         * posix/tst-regexloc.c (main): Converted to ...
22169         (do_test): ... this.
22170         (TEST_FUNCTION): New macro.
22171         Include test-skeleton.c.
22172         * resolv/tst-aton.c (main): Converted to ...
22173         (do_test): ... this.
22174         (TEST_FUNCTION): New macro.
22175         Include test-skeleton.c.
22176         * stdio-common/test-fwrite.c (main): Converted to ...
22177         (do_test): ... this.
22178         (TEST_FUNCTION): New macro.
22179         Include test-skeleton.c.
22180         * stdio-common/tst-ferror.c (main): Converted to ...
22181         (do_test): ... this.
22182         (TEST_FUNCTION): New macro.
22183         Include test-skeleton.c.
22184         * stdio-common/tst-printf.c (main): Converted to ...
22185         (do_test): ... this.
22186         (TEST_FUNCTION): New macro.
22187         Include test-skeleton.c.
22188         * stdio-common/tst-printfsz.c (main): Converted to ...
22189         (do_test): ... this.
22190         (TEST_FUNCTION): New macro.
22191         Include test-skeleton.c.
22192         * stdlib/tst-strtod.c (main): Converted to ...
22193         (do_test): ... this.
22194         (TEST_FUNCTION): New macro.
22195         Include test-skeleton.c.
22196         * string/tst-strlen.c (main): Converted to ...
22197         (do_test): ... this.
22198         (TEST_FUNCTION): New macro.
22199         Include test-skeleton.c.
22200         * string/tst-svc.c (main): Converted to ...
22201         (do_test): ... this.
22202         (TEST_FUNCTION): New macro.
22203         Include test-skeleton.c.
22204         * time/tst-strptime.c (main): Converted to ...
22205         (do_test): ... this.
22206         (TEST_FUNCTION): New macro.
22207         Include test-skeleton.c.
22208         * timezone/tst-timezone.c (main): Converted to ...
22209         (do_test): ... this.
22210         (TEST_FUNCTION): New macro.
22211         Include test-skeleton.c.
22213 2015-08-05  Zack Weinberg  <zackw@panix.com>
22215         * misc/regexp.h: Update comments.
22217 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
22219         [BZ #18635]
22220         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22221         before return label.
22223 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22225         [BZ #18661]
22226         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22227         when calling __errno_location.
22228         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22229         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22231 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22233         [BZ #18661]
22234         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22235         (__lll_timedwait_tid): Align stack to 16 bytes when calling
22236         __gettimeofday.
22238 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22240         [BZ #18661]
22241         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22242         (__start_context): Don't use pop to restore %rdi so that stack
22243         is aligned to 16 bytes when calling __setcontext.
22245 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22247         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22248         only for libc.
22249         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22251 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22253         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22254         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
22255         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22257 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22259         * string/memccpy.c (memccpy):
22260         Improve performance by using memchr/memcpy/__mempcpy.
22262 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22264         * string/strncpy.c (strncpy):
22265         Improve performance by using __strnlen/memcpy.
22267 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22269         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22270         Optimize to avoid an unnecessary FPCR read.
22272 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22274         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22275         Optimize to reduce FPCR/FPSR accesses.
22277 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22279         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22280         dead->data[category] != NULL.
22282 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
22284         [BZ #18647]
22285         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22286         and |x| close to 1, use absolute value of x when computing log.
22287         * math/auto-libm-test-in: Add more tests of pow.
22288         * math/auto-libm-test-out: Regenerated.
22290 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22292         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22293         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22294         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22296 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
22298         [BZ #18525]
22299         * locales/km_KH: Remove timezone definition.
22300         * locales/lo_LA: Likewise.
22301         * locales/my_MM: Likewise.
22302         * locales/nan_TW@latin: Likewise.
22303         * locales/th_TH: Likewise.
22304         * locales/uk_UA: Likewise.
22306 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22308         [BZ #18265]
22309         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22310         (wcsncat): Likewise.
22311         (wcscmp): Likewise.
22312         (wcsncmp): Likewise.
22314 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22316         * test-skeleton.c (usage): New function.
22317         (main): Call usage when opt is '?'.
22319 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22321         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22322         before first use.
22324 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22326         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22327         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
22328         in there too.
22330 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
22332         * version.h (RELEASE): Set to "development".
22333         (VERSION): Set to "2.22.90"
22335         * version.h (RELEASE): Set to "stable".
22336         (VERSION): Set to "2.22"
22337         * include/features.h (__GLIBC_MINOR__): Set to 22.
22339 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
22341         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22342         Restructure macro to avoid "value computed is not used" warning.
22343         (atomic_compare_and_exchange_val_acq): Likewise.
22345 2015-08-04  Andreas Schwab  <schwab@suse.de>
22347         [BZ #18635]
22348         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22349         ret.
22350         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22352 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
22354         * po/pl.po: Updated translation.
22355         * po/uk.po: Likewise.
22356         * po/fi.po: Likewise.
22357         * po/ko.po: Likewise.
22358         * po/ru.po: Likewise.
22359         * po/vi.po: Likewise.
22361 2015-07-31  Zack Weinberg  <zackw@panix.com>
22363         [BZ #18681]
22364         * regexp.h: Add unconditional #warning stating that this header
22365         will be removed soon.  Revise banner comment to match.
22366         (compile): Consistently use ERROR instead of RETURN to report
22367         errors (partial fix for bz#18681).
22368         * regexp.c: Don't include regexp.h. Remove some unnecessary
22369         declarations.
22371 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
22373         * po/libc.pot: Regenerated.
22375 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22377         [BZ #18740]
22378         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22379         float-vlen4-arch-ext-cflags): Removed.
22380         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22381         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22383 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22385         [BZ #14113]
22386         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22387         aligned to __aligned__.
22388         (pthread_cond_t, pthread_rwlock_t): Likewise.
22390 2015-07-30  Torvald Riegel  <triegel@redhat.com>
22392         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22394 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22396         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22397         (struct sigaction): Change sa_flags from a long to an int, and add
22398         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22400 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22402         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22403         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22404         sysdeps/generic/sysdep.h include.
22405         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22406         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
22407         sysdeps/hppa/sysdep.h.
22408         (ENTRY, PSEUDO): Undefine before defining.
22410 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22412         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22413         from scratch to use INTERNAL_SYSCALL.
22415 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
22417         [BZ #18078]
22418         * scripts/check-localplt.awk: Support alternate relocations.
22419         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22420         sections.
22421         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22422         malloc entries with + REL R_386_GLOB_DAT.
22423         * sysdeps/x86_64/localplt.data: New file.
22425 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
22427         [BZ #18731]
22428         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22429         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22430         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22432 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22434         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22436 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22438         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22439         directly in terms of __sync_fetch_and_add and delete (int) cast.
22441 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22443         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22444         the -D_ASM_IA64_CURRENT_H flag.
22446 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22448         [BZ #18641]
22449         * pwd/pwd.h (putpwent): Delete __nonnull markings.
22451 2015-07-27  Andreas Schwab  <schwab@suse.de>
22453         * conform/conformtest.pl (checknamespace): Filter out string
22454         literals while tokenizing.
22456 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22458         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22459         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22460         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22462 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22464         * nptl/tst-join7mod.c: Add #include <string.h>.
22466 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22468         * sysdeps/nios2/libm-test-ulps: Update.
22470 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22472         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22473         Fix order of arguments to the rt_sigprocmask syscall.
22474         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22475         Likewise.
22477 2015-07-24  Roland McGrath  <roland@hack.frob.com>
22479         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22481 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22483         [BZ #18457]
22484         * nptl/Makefile (tests): New test case tst-join7.
22485         (modules-names): New test case module tst-join7mod.
22486         * nptl/tst-join7.c: New file.
22487         * nptl/tst-join7mod.c: New file.
22488         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22489         all translation units in libc.so, libpthread.so and rtld.
22491 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22495 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22497         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22498         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22499         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22500         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22501         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22502         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22503         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22504         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22505         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22506         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22507         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22508         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22509         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22510         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22511         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22512         implementation.
22514 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22516         [BZ #17711]
22517         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22518         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22519         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22520         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22521         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22522         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22524 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22526         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22527         instead of just saying load lock in the comments.
22529 2015-07-23  Roland McGrath  <roland@hack.frob.com>
22531         * sysdeps/unix/Subdirs: Moved ...
22532         * sysdeps/posix/Subdirs: ... here.
22533         * login/pty.h (struct termios, struct winsize): Add forward decls.
22534         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22535         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22536         * sysdeps/arm/nacl/libc.abilist: Updated.
22537         * sysdeps/nacl/libutil.abilist: New file.
22539         * bits/signum.h: Update comments to mention 1003.1-2013 too.
22540         (SIGWINCH): New macro.
22542         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22543         * sysdeps/arm/nacl/libc.abilist: Add it.
22545 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22547         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22549 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22551         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22552         Swap __glibc_reserved0 and sa_flags order.
22554 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22556         [BZ #18657]
22557         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22558         are pending TLS destructor calls.
22559         * include/link.h (struct link_map): Add concurrency note for
22560         L_TLS_DTOR_COUNT.
22561         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22562         Don't touch the link map flag.  Atomically increment
22563         l_tls_dtor_count.
22564         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22565         Avoid taking the load lock and don't touch the link map flag.
22566         * stdlib/tst-tls-atexit-nodelete.c: New test case.
22567         * stdlib/Makefile (tests): Use it.
22568         * stdlib/tst-tls-atexit.c (do_test): dlopen
22569         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
22570         to allow tst-tls-atexit-nodelete test case to use it.
22572 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22574         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22575         to bits/types.h.
22576         (msgqnum_t): New typedef.
22577         (msglen_t): Likewise.
22578         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
22579         and msg_qbytes type to msglen_t.
22581 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22583         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22584         pad0 to __glibc_reserved0.
22585         (struct stat64): Likewise.
22587 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22589         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22590         Change sa_flags from a long to an int and add __glibc_reserved0 before
22591         it for padding.
22593 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22595         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22596         anonymous by deleting "siginfo" name.
22598 2015-07-21  Roland McGrath  <roland@hack.frob.com>
22600         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22601         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22602         rather than __nacl_irt_filename.
22603         * sysdeps/nacl/xstat.c (__xstat): Likewise.
22605         * NEWS: New item for arm-nacl port.
22606         * sysdeps/arm/nacl/libc.abilist: New file.
22607         * sysdeps/nacl/ld.abilist: New file.
22608         * sysdeps/nacl/libBrokenLocale.abilist: New file.
22609         * sysdeps/nacl/libanl.abilist: New file.
22610         * sysdeps/nacl/libcrypt.abilist: New file.
22611         * sysdeps/nacl/libdl.abilist: New file.
22612         * sysdeps/nacl/libm.abilist: New file.
22613         * sysdeps/nacl/libpthread.abilist: New file.
22614         * sysdeps/nacl/libresolv.abilist: New file.
22615         * sysdeps/nacl/librt.abilist: New file.
22617 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
22619         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22620         __startcontext to initialize the new context.
22621         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22622         up CFI directive to forbid further backtracing.
22624 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
22626         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22627         reference.
22628         * charmaps/ANSI_X3.4-1968: Likewise.
22629         * charmaps/BS_4730: Likewise.
22630         * charmaps/BS_VIEWDATA: Likewise.
22631         * charmaps/CP1250: Likewise.
22632         * charmaps/CP1251: Likewise.
22633         * charmaps/CP1252: Likewise.
22634         * charmaps/CP1253: Likewise.
22635         * charmaps/CP1254: Likewise.
22636         * charmaps/CP1255: Likewise.
22637         * charmaps/CP1256: Likewise.
22638         * charmaps/CSN_369103: Likewise.
22639         * charmaps/EBCDIC-DK-NO: Likewise.
22640         * charmaps/GB_1988-80: Likewise.
22641         * charmaps/GREEK-CCITT: Likewise.
22642         * charmaps/GREEK7: Likewise.
22643         * charmaps/INIS-8: Likewise.
22644         * charmaps/ISIRI-3342: Likewise.
22645         * charmaps/ISO_2033-1983: Likewise.
22646         * charmaps/ISO_5427-EXT: Likewise.
22647         * locales/POSIX: Likewise.
22648         * locales/ar_SA: Likewise.
22649         * locales/be_BY: Likewise.
22650         * locales/be_BY@latin: Likewise.
22651         * locales/ca_ES: Likewise.
22652         * locales/cs_CZ: Likewise.
22653         * locales/da_DK: Likewise.
22654         * locales/de_BE: Likewise.
22655         * locales/de_CH: Likewise.
22656         * locales/de_LU: Likewise.
22657         * locales/en_AU: Likewise.
22658         * locales/en_BW: Likewise.
22659         * locales/en_CA: Likewise.
22660         * locales/en_DK: Likewise.
22661         * locales/en_GB: Likewise.
22662         * locales/en_IE: Likewise.
22663         * locales/en_NZ: Likewise.
22664         * locales/en_ZA: Likewise.
22665         * locales/en_ZW: Likewise.
22666         * locales/es_AR: Likewise.
22667         * locales/es_BO: Likewise.
22668         * locales/es_CL: Likewise.
22669         * locales/es_CO: Likewise.
22670         * locales/es_DO: Likewise.
22671         * locales/es_EC: Likewise.
22672         * locales/es_ES: Likewise.
22673         * locales/es_HN: Likewise.
22674         * locales/es_MX: Likewise.
22675         * locales/es_PA: Likewise.
22676         * locales/es_PE: Likewise.
22677         * locales/es_PY: Likewise.
22678         * locales/es_SV: Likewise.
22679         * locales/es_US: Likewise.
22680         * locales/es_UY: Likewise.
22681         * locales/es_VE: Likewise.
22682         * locales/et_EE: Likewise.
22683         * locales/fa_IR: Likewise.
22684         * locales/fo_FO: Likewise.
22685         * locales/fr_CA: Likewise.
22686         * locales/fr_CH: Likewise.
22687         * locales/gv_GB: Likewise.
22688         * locales/he_IL: Likewise.
22689         * locales/hr_HR: Likewise.
22690         * locales/id_ID: Likewise.
22691         * locales/is_IS: Likewise.
22692         * locales/it_CH: Likewise.
22693         * locales/iw_IL: Likewise.
22694         * locales/kl_GL: Likewise.
22695         * locales/ko_KR: Likewise.
22696         * locales/kw_GB: Likewise.
22697         * locales/lg_UG: Likewise.
22698         * locales/lt_LT: Likewise.
22699         * locales/lv_LV: Likewise.
22700         * locales/mi_NZ: Likewise.
22701         * locales/nhn_MX: Likewise.
22702         * locales/nl_BE: Likewise.
22703         * locales/pl_PL: Likewise.
22704         * locales/sk_SK: Likewise.
22705         * locales/sl_SI: Likewise.
22706         * locales/sv_FI: Likewise.
22707         * locales/tl_PH: Likewise.
22708         * locales/tr_TR: Likewise.
22709         * locales/vi_VN: Likewise.
22711 2015-07-21  Khem Raj  <raj.khem@gmail.com>
22713         [BZ #17475]
22714         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22715         of tu_IN and bh_IN.
22717 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
22719         [BZ #18694]
22720         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22721         bits/wordsize.h.
22722         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22724 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22726         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22727         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22728         (spawn_thread): New function.
22729         (load): Rename to reg_dtor_and_close.  Move dlopen to...
22730         (do_test): ... here.  Use IS_LOADED to test for its
22731         availability.
22733 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
22735         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22737 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
22739         [BZ #18696]
22740         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22741         si_addr_bnd.
22742         (si_lower): New.
22743         (si_upper): Likewise.
22745 2015-07-16  David S. Miller  <davem@davemloft.net>
22747         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22749 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22751         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22752         buffer.
22753         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22754         fail output information.
22756 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22759         and strstr-ppc64..
22760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22761         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22762         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22763         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22764         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22766 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22768         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22769         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22770         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22771         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22773 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22775         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22776         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22777         rtld_hidden_proto.
22778         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22780 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22782         * tst-nodelete-opened.c (do_test): Add comment to clarify how
22783         the test can fail.
22785         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22787         [BZ #18676]
22788         * elf/tst-nodelete-opened.c: New test case.
22789         * elf/tst-nodelete-opened-lib.c: New test case module.
22790         * elf/Makefile (tests, modules-names): Use them.
22791         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22792         early.
22794 2015-07-15  David S. Miller  <davem@davemloft.net>
22796         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22797         futex-intenal.h
22798         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22799         * sysdeps/sparc/sparc64/Makefile: Likewise.
22800         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22801         Remove space from macro define.
22802         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22804 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
22806         [BZ #17475]
22807         * locale/iso-639.def: Update Bhili and Tulu language codes as
22808         per iso639-3.
22810 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
22812         * elf/tst-leaks1.c (main): Converted to ...
22813         (do_test): ... this.
22814         (TEST_FUNCTION): New macro.
22815         Include test-skeleton.c.
22816         * localedata/tst-langinfo.c (main): Converted to ...
22817         (do_test): ... this.
22818         (TEST_FUNCTION): New macro.
22819         Include test-skeleton.c.
22820         * math/test-fpucw.c (main): Converted to ...
22821         (do_test): ... this.
22822         (TEST_FUNCTION): New macro.
22823         Include test-skeleton.c.
22824         * math/test-tgmath.c (main): Converted to ...
22825         (do_test): ... this.
22826         (TEST_FUNCTION): New macro.
22827         Include test-skeleton.c.
22828         * math/test-tgmath2.c (main): Converted to ...
22829         (do_test): ... this.
22830         (TEST_FUNCTION): New macro.
22831         Include test-skeleton.c.
22832         * setjmp/tst-setjmp.c (main): Converted to ...
22833         (do_test): ... this.
22834         (TEST_FUNCTION): New macro.
22835         Include test-skeleton.c.
22836         * stdio-common/tst-sscanf.c (main): Converted to ...
22837         (do_test): ... this.
22838         (TEST_FUNCTION): New macro.
22839         Include test-skeleton.c.
22840         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22841         (do_test): ... this.
22842         (TEST_FUNCTION): New macro.
22843         Include test-skeleton.c.
22845         * elf/tst-audit9.c (main): Converted to ...
22846         (do_test): ... this.
22847         (TEST_FUNCTION): New macro.
22848         Include test-skeleton.c.
22850 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
22852         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22854 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22856         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22857         New variable.
22859 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22861         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22863 2015-07-14  Roland McGrath  <roland@hack.frob.com>
22865         * sysdeps/generic/dl-fileid.h: New file.
22866         * sysdeps/posix/dl-fileid.h: New file.
22867         * sysdeps/nacl/dl-fileid.h: New file.
22868         * include/link.h: Include <dl-fileid.h>.
22869         (struct link_map): Replace l_dev and l_ino with l_file_id.
22870         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
22871         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
22872         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
22874 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22876         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
22878 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22880         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
22881         Add iff $CXX is set.
22882         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
22883         Likewise.
22884         (tst-nodelete-zmodiff): Likewise.
22885         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
22887 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22889         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
22891 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
22893         * sysdeps/aarch64/fpu/math_private.h
22894         (define math_opt_barrier): Add AArch64 version.
22895         (math_force_eval): Likewise.
22897 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
22899         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
22901 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
22903         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
22904         %ld with %jd and cast to intmax_t.
22905         (do_test_length_zero): Likewise.
22907 2015-07-10  Roland McGrath  <roland@hack.frob.com>
22909         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
22911 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
22913         * sysdeps/tile/libm-test-ulps: Regenerated.
22915         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
22916         Comment out the whole function, not just its body.
22918 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22920         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
22921         locks.
22923         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
22925 2015-07-10  Torvald Riegel  <triegel@redhat.com>
22927         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
22928         (sem_assume_only_signals_cause_futex_EINTR): Remove.
22930 2015-07-10  Torvald Riegel  <triegel@redhat.com>
22932         * sysdeps/nptl/futex-internal.h: New file.
22933         * sysdeps/nacl/futex-internal.h: New file.
22934         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
22935         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
22936         error checking.
22937         (setxid_unmark_thread): Likewise.
22938         (__nptl_setxid): Likewise.
22939         (__wait_lookup_done): Likewise.
22940         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
22941         * nptl/nptl-init.c (sighandler_setxid): Likewise.
22942         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22943         * nptl/pthread_once.c (clear_once_control): Likewise.
22944         (__pthread_once_slow): Likewise.
22945         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22946         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
22947         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
22948         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22949         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
22950         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
22951         Likewise.
22952         (__pthread_rwlock_rdlock): Likewise.
22953         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22954         Likewise.
22955         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22956         Likewise.
22957         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22958         Likewise.
22959         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
22960         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
22961         Likewise.
22962         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
22963         __ASSUME_PRIVATE_FUTEX check.
22964         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
22965         Check that shared futexes are supported.
22966         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
22967         wrappers with error checking.
22968         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
22969         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
22970         * nptl/pthread_barrierattr_setpshared.c
22971         (pthread_barrierattr_setpshared): Check that shared futexes are
22972         supported.
22973         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
22974         Likewise.
22975         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
22976         Likewise.
22977         * nptl/sem_init.c (futex_private_if_supported): Remove.
22978         (__new_sem_init): Adapt and check that shared futexes are supported.
22979         * nptl/sem_open.c (sem_open): Likewise.
22980         * nptl/sem_post.c (futex_wake): Remove.
22981         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
22982         (do_futex_wait): Use futex wrappers with error checking.
22983         * nptl/sem_wait.c: Include lowlevellock.h.
22984         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
22985         Use futex_supports_pshared.
22986         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
22987         Use futex wrappers with error checking.
22988         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
22989         Likewise.
22990         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
22991         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
22992         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
22993         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
22994         (futex_wake): Likewise.
22995         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
22996         (do_futex_wait): Use futex wrappers with error checking.
22997         (__new_sem_wait_slow): Update EINTR handling.
22998         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23000 2015-07-09  Martin Sebor  <msebor@redhat.com>
23002         [BZ #18435]
23003         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23004         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23005         * nptl/Makefile (test-xfail-tst-once5): Define.
23007 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23009         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23010         * elf/dl-minimal.c: For readability, reorder some definitions and
23011         introduce more page breaks.  Include <stdio.h>.
23012         (__libc_fatal): New function.
23014         * include/unistd.h: Add rtld_hidden_proto for _exit.
23015         * posix/_exit.c: Add rtld_hidden_def.
23016         * sysdeps/mach/hurd/_exit.c: Likewise.
23017         * sysdeps/nacl/_exit.c: Likewise.
23018         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23019         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23021 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23023         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23024         bndmov encoding with zero displacement.
23026 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23027             H.J. Lu  <hongjiu.lu@intel.com>
23029         [BZ #18134]
23030         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23031         * sysdeps/i386/configure: Regenerated.
23032         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23033         (_dl_runtime_profile): Save and restore Intel MPX return bound
23034         registers when calling _dl_call_pltexit.  Add
23035         PRESERVE_BND_REGS_PREFIX before return.
23036         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23037         (LRV_BND1_OFFSET): Likewise.
23038         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23039         lrv_bnd1.
23040         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23041         typo in bndmov encoding.
23042         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23043         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23044         branch instructions to preserve bounds.
23046 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23049         [GLIBC_2.22]: Add fmemopen.
23051 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23053         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23054         returns an error, also try to use host port from __mach_host_self for
23055         the __vm_wire call.
23056         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23058 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23060         [BZ #18400]
23061         [BZ #18648]
23062         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23063         Fix pr_uid and pr_gid members.
23064         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23065         definition to elf_greg_t.
23067 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23069         [BZ #18383]
23070         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23071         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23072         * sysdeps/arm/configure: Regenerated.
23073         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23074         (test-xfail-tst-tlsalign-static): Variable removed.
23076         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23077         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23078         rather than explicit 'ln -s'.
23080         * resolv/rpc/netdb.h: New file.
23081         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23083 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23085         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23086         length buffers.
23087         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23088         test-skeleton.c.
23090         [BZ #6544]
23091         [BZ #11216]
23092         [BZ #12836]
23093         [BZ #13151]
23094         [BZ #13152]
23095         [BZ #14292]
23096         * include/stdio.h (fmemopen): Remove hidden prototype.
23097         (__fmemopen): Add new hidden prototype.
23098         * libio/Makefile: Add oldfmemopen object.
23099         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23100         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23101         compliance.
23102         * libio/oldfmemopen.c: New file: old fmemopen implementation for
23103         symbol compatibility.
23104         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23105         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23106         fmemopen.
23107         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23108         on append and read mode.
23109         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23110         fmemopen.
23111         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23112         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23113         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23114         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23115         Likewise.
23116         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23117         [GLIBC_2.22]: Likewise.
23118         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23119         Likewise.
23120         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23121         Likewise.
23122         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23123         [GLIBC_2.22]: Likewise.
23124         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23125         [GLIBC_2.22]: Likewise.
23126         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23127         [GLIBC_2.22]: Likewise.
23128         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23129         [GLIBC_2.22]: Likewise.
23130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23131         [GLIBC_2.22]: Likewise.
23132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23133         [GLIBC_2.22]: Likewise.
23134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23135         [GLIBC_2.22]: Likewise.
23136         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23137         Likewise.
23138         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23139         Likewise.
23140         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23141         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23142         [GLIBC_2.22]: Likewise.
23143         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23144         [GLIBC_2.22]: Likewise.
23145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23146         [GLIBC_2.22]: Likewise.
23147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23148         [GLIBC_2.22]: Likewise.
23149         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23150         Likewise.
23151         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23152         Likewise.
23153         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23154         Likewise.
23155         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23156         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23158 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23160         [BZ #18643]
23161         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23162         IPV6_PATHMTU, and IPV6_DONTFRAG.
23164 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
23166         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23167         and _IO_UNBUFFERED.
23168         * libio/oldfileops.c: Likewise.
23169         * libio/wfileops.c: Likewise.
23171 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23173         * nscd/selinux.c: Delete selinux/flask.h include.
23175 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23177         [BZ #18641]
23178         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23179         (putpwent): Likewise.
23180         (getpwnam): Likewise.
23181         (getpwent_r): Likewise.
23182         (getpwuid_r): Likewise.
23183         (getpwnam_r): Likewise.
23184         (fgetpwent_r): Likewise.
23186 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23188         [BZ #18557]
23189         * inet/rcmd.c (__validuser2_sa): Check user first to
23190         short-circuit host check.
23192 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
23193             Mikhail Ilin  <m.ilin@samsung.com>
23195         [BZ #17833]
23196         * elf/Makefile (tests): Add tst-nodelete.
23197         (modules-names): Add tst-nodelete-uniquemod.
23198         (tst-nodelete-uniquemod.so-no-z-defs): New.
23199         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23200         (tst-nodelete-zmod.so-no-z-defs): Likewise.
23201         ($(objpfx)tst-nodelete): Likewise.
23202         ($(objpfx)tst-nodelete.out): Likewise.
23203         (LDFLAGS-tst-nodelete): Likewise.
23204         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23205         * elf/dl-close.c (_dl_close_worker): Add a parameter to
23206         implement forced object deletion.
23207         (_dl_close): Pass false to _dl_close_worker.
23208         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23209         * elf/tst-nodelete.cc: New file.
23210         * elf/tst-nodeletelib.cc: Likewise.
23211         * elf/tst-znodeletelib.cc: Likewise.
23212         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23214 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23216         [BZ #18508]
23217         * stdlib/Makefile ($(objpfx)tst-makecontext3):
23218         Depend on $(libdl).
23219         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23220         is not called infinitely times.
23221         (backtrace_helper): New function.
23222         (trace_arg): New struct.
23223         (st1): Enlarge stack size.
23224         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23225         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23226         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23227         Likewise.
23229 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23231         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23233 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23235         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23236         Include sys/types.h instead of bits/types.h.
23237         Remove inclusion of bits/wordsize.h.
23239 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23241         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23242         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23243         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23244         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23245         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23246         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23248 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23250         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23251         link-defines.sym.
23252         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23253         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23254         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23255         and LR_SIZE.
23256         * sysdeps/i386/link-defines.sym: New file.
23258 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23260         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23261         (modules-names): Add tst-auditmod3a tst-auditmod3b.
23262         ($(objpfx)tst-audit3): New rule.
23263         ($(objpfx)tst-audit3.out): Likewise.
23264         * sysdeps/i386/tst-audit3.c: New file.
23265         * sysdeps/i386/tst-audit3.h: Likewise.
23266         * sysdeps/i386/tst-auditmod3a.c: Likewise.
23267         * sysdeps/i386/tst-auditmod3b.c: Likewise.
23269 2015-07-07  Torvald Riegel  <triegel@redhat.com>
23271         [BZ #18633]
23272         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23273         pointer in C code.
23274         (__strcat_c): Likewise.
23275         (__strcat_g): Likewise.
23277 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
23279         [BZ #18592]
23280         * misc/sbrk.c: Set errno to ENOMEM on overflow.
23282 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23284         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23285         New function.  (__ieee754_sqrtf): New function.
23286         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23287         New function.
23288         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23289         New function.
23291 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23293         * sysdeps/ieee754/support.c: Remove unused file.
23295 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23297         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23298         registers instead of d ones so the layout is kernel abi compatible.
23299         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23300         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23301         Likewise.
23303 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23305         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23307 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23309         [BZ #18619]
23310         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23311         and return argument in case of subnormal argument.
23313 2015-07-01  Martin Sebor  <msebor@redhat.com>
23315         [BZ #18435]
23316         * nptl/Makefile: Add tst-once5.cc.
23317         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23318         Remove macro redefinitions.
23319         * nptl/tst-once5.cc: New test.
23321 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23323         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23325         * sysdeps/arm/libm-test-ulps: Regenerated.
23327         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23328         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23330 2015-06-30  Torvald Riegel  <triegel@redhat.com>
23332         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23333         lll_lock_wait_private and lll_futex_wake probes.
23335         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23337         Likewise.
23338         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23339         atomic_spin_nop.
23340         * sysdeps/x86_64/bits/atomic.h: Likewise.
23341         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23342         to atomic_spin_nop and move ...
23343         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23344         ... here and ...
23345         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23346         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23347         atomic_spin_nop instead of BUSY_WAIT_NOP.
23348         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23349         Likewise.
23350         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23351         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23352         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23353         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23354         instead of atomic_delay.
23356 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
23358         [BZ #18613]
23359         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23360         X_ADJ not X when adjusting exponent.
23361         (__ieee754_gamma_r): Do intermediate computations in
23362         round-to-nearest then adjust overflowing and underflowing results
23363         as needed.
23364         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23365         of X_ADJ not X when adjusting exponent.
23366         (__ieee754_gammaf_r): Do intermediate computations in
23367         round-to-nearest then adjust overflowing and underflowing results
23368         as needed.
23369         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23370         log of X_ADJ not X when adjusting exponent.
23371         (__ieee754_gammal_r): Do intermediate computations in
23372         round-to-nearest then adjust overflowing and underflowing results
23373         as needed.  Use 1.0L not 1.0f as numerator of division.
23374         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23375         log of X_ADJ not X when adjusting exponent.
23376         (__ieee754_gammal_r): Do intermediate computations in
23377         round-to-nearest then adjust overflowing and underflowing results
23378         as needed.  Use 1.0L not 1.0f as numerator of division.
23379         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23380         of X_ADJ not X when adjusting exponent.
23381         (__ieee754_gammal_r): Do intermediate computations in
23382         round-to-nearest then adjust overflowing and underflowing results
23383         as needed.  Use 1.0L not 1.0f as numerator of division.
23384         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
23385         to auto-libm-test-in.
23386         (tgamma_test): Use ALL_RM_TEST.
23387         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
23388         tests of tgamma with spurious-overflow.
23389         * math/auto-libm-test-out: Regenerated.
23390         * math/gen-libm-have-vector-test.sh: Do not check for START.
23391         * sysdeps/i386/fpu/libm-test-ulps: Update.
23392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23394         [BZ #18612]
23395         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23396         arguments, just return 0.5 times the argument, with underflow
23397         forced as needed.
23398         * math/auto-libm-test-in: Add more tests of j1.
23399         * math/auto-libm-test-out: Regenerated.
23401         [BZ #16559]
23402         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23403         (__ieee754_j1): Force underflow exception for small results.
23404         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23405         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23406         (__ieee754_j1f): Force underflow exception for small results.
23407         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23408         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23410         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23411         (__ieee754_j1l): Force underflow exception for small results.
23412         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23413         * math/auto-libm-test-in: Add more tests of j1 and jn.
23414         * math/auto-libm-test-out: Regenerated.
23416         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23417         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23418         (PF_MPLS): Likewise.
23419         (AF_IB): Likewise.
23420         (AF_MPLS): Likewise.
23421         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23422         value and macro.
23423         (MS_RMT_MASK): Include MS_LAZYTIME.
23425 2015-06-26  Mel Gorman  <mgorman@suse.de>
23427         [BZ #18502]
23428         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23429         already minimal.
23431 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
23433         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23434         (DT_MIPS_NUM): Update.
23435         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23436         DT_MIPS_RLD_MAP_REL.
23438 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
23440         [BZ #16559]
23441         [BZ #18602]
23442         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23443         round-to-nearest internally then recompute results that
23444         underflowed to zero in the original rounding mode.
23445         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23446         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23448         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23449         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23450         * sysdeps/i386/fpu/libm-test-ulps: Update.
23451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23453 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23455         * NEWS: Fixed description of link with vector math library.
23457 2015-06-25  Andreas Schwab  <schwab@suse.de>
23459         [BZ #18549]
23460         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23461         * libio/test-fmemopen.c (do_test): Add test for it.
23463 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23465         [BZ #17841]
23466         * Makeconfig (no-pie-ldflag): New.
23467         (+link): Set to $(+link-pie) if default to PIE.
23468         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23469         * config.make.in (build-pie-default): New.
23470         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
23471         is default.  AC_SUBST.
23472         * configure: Regenerated.
23473         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23475 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23477         * nptl/descr.h (struct pthread): Change type of field setxid_futex
23478         to 'unsigned int'.
23480         * resolv/gai_misc.h (struct waitlist): Change type of field
23481         counterp to 'volatile unsigned int *'.
23482         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23483         FUTEXADDR and OLDVAL.
23484         * resolv/getaddrinfo_a.c (getaddrinfo_a):
23485         Give local variable TOTAL type 'volatile unsigned int'.
23486         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23487         * resolv/gai_suspend.c (gai_suspend):
23488         Give local variable CNTR type 'unsigned int'.
23490         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23491         counterp to 'volatile unsigned int *'.
23492         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23493         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23494         (aio_suspend): Give local variable CNTR type 'unsigned int'.
23495         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23496         Give local variable TOTAL type 'volatile unsigned int'.
23497         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23499 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23501         [BZ #18383]
23502         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23503         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
23504         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23505         comment for i386/x86-64.
23506         (test-xfail-tst-tlsalign-extern-static): Removed.
23508 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23510         * math/test-double.h: New file.
23511         * math/test-float.h: Likewise.
23512         * math/test-ldouble.h: Likewise.
23513         * math/test-math-inline.h: Likewise.
23514         * math/test-math-no-inline.h: Likewise.
23515         * math/test-math-scalar.h: Likewise.
23516         * math/test-math-vector.h: Likewise.
23517         * math/test-vec-loop.h: Remove file.  Contents moved into
23518         test-math-vector.h.
23519         * math/libm-test.inc (MATHCONST): Do not document macro.
23520         * math/test-double.c: Include test-double.h, test-math-no-inline.h
23521         and test-math-scalar.h.
23522         (FUNC): Remove macro.
23523         (FUNC_TEST): Likewise.
23524         (FLOAT): Likewise.
23525         (MATHCONST): Likewise.
23526         (PRINTF_EXPR): Likewise.
23527         (PRINTF_XEXPR): Likewise.
23528         (PRINTF_NEXPR): Likewise.
23529         (TEST_DOUBLE): Likewise.
23530         (TEST_MATHVEC): Likewise.
23531         (__NO_MATH_INLINES): Likewise.
23532         * math/test-float.c: Include test-float.h, test-math-no-inline.h
23533         and test-math-scalar.h.
23534         (FUNC): Remove macro.
23535         (FUNC_TEST): Likewise.
23536         (FLOAT): Likewise.
23537         (MATHCONST): Likewise.
23538         (PRINTF_EXPR): Likewise.
23539         (PRINTF_XEXPR): Likewise.
23540         (PRINTF_NEXPR): Likewise.
23541         (TEST_FLOAT): Likewise.
23542         (TEST_MATHVEC): Likewise.
23543         (__NO_MATH_INLINES): Likewise.
23544         * math/test-idouble.c: Include test-double.h, test-math-inline.h
23545         and test-math-scalar.h.
23546         (FUNC): Remove macro.
23547         (FUNC_TEST): Likewise.
23548         (FLOAT): Likewise.
23549         (MATHCONST): Likewise.
23550         (PRINTF_EXPR): Likewise.
23551         (PRINTF_XEXPR): Likewise.
23552         (PRINTF_NEXPR): Likewise.
23553         (TEST_DOUBLE): Likewise.
23554         (TEST_MATHVEC): Likewise.
23555         (TEST_INLINE): Likewise.
23556         (__NO_MATH_INLINES): Likewise.
23557         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23558         test-math-scalar.h.
23559         (FUNC): Remove macro.
23560         (FUNC_TEST): Likewise.
23561         (FLOAT): Likewise.
23562         (MATHCONST): Likewise.
23563         (PRINTF_EXPR): Likewise.
23564         (PRINTF_XEXPR): Likewise.
23565         (PRINTF_NEXPR): Likewise.
23566         (TEST_FLOAT): Likewise.
23567         (TEST_MATHVEC): Likewise.
23568         (TEST_INLINE): Likewise.
23569         (__NO_MATH_INLINES): Likewise.
23570         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23571         and test-math-scalar.h.
23572         (FUNC): Remove macro.
23573         (FUNC_TEST): Likewise.
23574         (FLOAT): Likewise.
23575         (MATHCONST): Likewise.
23576         (PRINTF_EXPR): Likewise.
23577         (PRINTF_XEXPR): Likewise.
23578         (PRINTF_NEXPR): Likewise.
23579         (TEST_LDOUBLE): Likewise.
23580         (TEST_MATHVEC): Likewise.
23581         (TEST_INLINE): Likewise.
23582         (__NO_MATH_INLINES): Likewise.
23583         * math/test-ldouble.c: Include test-ldouble.h,
23584         test-math-no-inline.h and test-math-scalar.h.
23585         (FUNC): Remove macro.
23586         (FUNC_TEST): Likewise.
23587         (FLOAT): Likewise.
23588         (MATHCONST): Likewise.
23589         (PRINTF_EXPR): Likewise.
23590         (PRINTF_XEXPR): Likewise.
23591         (PRINTF_NEXPR): Likewise.
23592         (TEST_LDOUBLE): Likewise.
23593         (TEST_MATHVEC): Likewise.
23594         (__NO_MATH_INLINES): Likewise.
23595         * math/test-double-vlen2.h: Include test-double.h,
23596         test-math-no-inline.h and test-math-vector.h.
23597         (FLOAT): Remove macro.
23598         (FUNC): Likewise.
23599         (MATHCONST): Likewise.
23600         (PRINTF_EXPR): Likewise.
23601         (PRINTF_XEXPR): Likewise.
23602         (PRINTF_NEXPR): Likewise.
23603         (TEST_DOUBLE): Likewise.
23604         (TEST_MATHVEC): Likewise.
23605         (__NO_MATH_INLINES): Likewise.
23606         (CNCT): Likewise.
23607         (CONCAT): Likewise.
23608         (WRAPPER_NAME): Likewise.
23609         (WRAPPER_DECL): Likewise.
23610         (WRAPPER_DECL_ff): Likewise.
23611         (WRAPPER_DECL_fFF): Likewise.
23612         (VECTOR_WRAPPER): Likewise.
23613         (VECTOR_WRAPPER_ff): Likewise.
23614         (VECTOR_WRAPPER_fFF): Likewise.
23615         (VEC_LEN): New macro.
23616         * math/test-double-vlen4.h: Include test-double.h,
23617         test-math-no-inline.h and test-math-vector.h.
23618         (FLOAT): Remove macro.
23619         (FUNC): Likewise.
23620         (MATHCONST): Likewise.
23621         (PRINTF_EXPR): Likewise.
23622         (PRINTF_XEXPR): Likewise.
23623         (PRINTF_NEXPR): Likewise.
23624         (TEST_DOUBLE): Likewise.
23625         (TEST_MATHVEC): Likewise.
23626         (__NO_MATH_INLINES): Likewise.
23627         (CNCT): Likewise.
23628         (CONCAT): Likewise.
23629         (WRAPPER_NAME): Likewise.
23630         (WRAPPER_DECL): Likewise.
23631         (WRAPPER_DECL_ff): Likewise.
23632         (WRAPPER_DECL_fFF): Likewise.
23633         (VECTOR_WRAPPER): Likewise.
23634         (VECTOR_WRAPPER_ff): Likewise.
23635         (VECTOR_WRAPPER_fFF): Likewise.
23636         (VEC_LEN): New macro.
23637         * math/test-double-vlen8.h: Include test-double.h,
23638         test-math-no-inline.h and test-math-vector.h.
23639         (FLOAT): Remove macro.
23640         (FUNC): Likewise.
23641         (MATHCONST): Likewise.
23642         (PRINTF_EXPR): Likewise.
23643         (PRINTF_XEXPR): Likewise.
23644         (PRINTF_NEXPR): Likewise.
23645         (TEST_DOUBLE): Likewise.
23646         (TEST_MATHVEC): Likewise.
23647         (__NO_MATH_INLINES): Likewise.
23648         (CNCT): Likewise.
23649         (CONCAT): Likewise.
23650         (WRAPPER_NAME): Likewise.
23651         (WRAPPER_DECL): Likewise.
23652         (WRAPPER_DECL_ff): Likewise.
23653         (WRAPPER_DECL_fFF): Likewise.
23654         (VECTOR_WRAPPER): Likewise.
23655         (VECTOR_WRAPPER_ff): Likewise.
23656         (VECTOR_WRAPPER_fFF): Likewise.
23657         (VEC_LEN): New macro.
23658         * math/test-float-vlen4.h: Include test-float.h,
23659         test-math-no-inline.h and test-math-vector.h.
23660         (FLOAT): Remove macro.
23661         (FUNC): Likewise.
23662         (MATHCONST): Likewise.
23663         (PRINTF_EXPR): Likewise.
23664         (PRINTF_XEXPR): Likewise.
23665         (PRINTF_NEXPR): Likewise.
23666         (TEST_FLOAT): Likewise.
23667         (TEST_MATHVEC): Likewise.
23668         (__NO_MATH_INLINES): Likewise.
23669         (CNCT): Likewise.
23670         (CONCAT): Likewise.
23671         (WRAPPER_NAME): Likewise.
23672         (WRAPPER_DECL): Likewise.
23673         (WRAPPER_DECL_ff): Likewise.
23674         (WRAPPER_DECL_fFF): Likewise.
23675         (VECTOR_WRAPPER): Likewise.
23676         (VECTOR_WRAPPER_ff): Likewise.
23677         (VECTOR_WRAPPER_fFF): Likewise.
23678         (VEC_LEN): New macro.
23679         * math/test-float-vlen8.h: Include test-float.h,
23680         test-math-no-inline.h and test-math-vector.h.
23681         (FLOAT): Remove macro.
23682         (FUNC): Likewise.
23683         (MATHCONST): Likewise.
23684         (PRINTF_EXPR): Likewise.
23685         (PRINTF_XEXPR): Likewise.
23686         (PRINTF_NEXPR): Likewise.
23687         (TEST_FLOAT): Likewise.
23688         (TEST_MATHVEC): Likewise.
23689         (__NO_MATH_INLINES): Likewise.
23690         (CNCT): Likewise.
23691         (CONCAT): Likewise.
23692         (WRAPPER_NAME): Likewise.
23693         (WRAPPER_DECL): Likewise.
23694         (WRAPPER_DECL_ff): Likewise.
23695         (WRAPPER_DECL_fFF): Likewise.
23696         (VECTOR_WRAPPER): Likewise.
23697         (VECTOR_WRAPPER_ff): Likewise.
23698         (VECTOR_WRAPPER_fFF): Likewise.
23699         (VEC_LEN): New macro.
23700         * math/test-float-vlen16.h: Include test-float.h,
23701         test-math-no-inline.h and test-math-vector.h.
23702         (FLOAT): Remove macro.
23703         (FUNC): Likewise.
23704         (MATHCONST): Likewise.
23705         (PRINTF_EXPR): Likewise.
23706         (PRINTF_XEXPR): Likewise.
23707         (PRINTF_NEXPR): Likewise.
23708         (TEST_FLOAT): Likewise.
23709         (TEST_MATHVEC): Likewise.
23710         (__NO_MATH_INLINES): Likewise.
23711         (CNCT): Likewise.
23712         (CONCAT): Likewise.
23713         (WRAPPER_NAME): Likewise.
23714         (WRAPPER_DECL): Likewise.
23715         (WRAPPER_DECL_ff): Likewise.
23716         (WRAPPER_DECL_fFF): Likewise.
23717         (VECTOR_WRAPPER): Likewise.
23718         (VECTOR_WRAPPER_ff): Likewise.
23719         (VECTOR_WRAPPER_fFF): Likewise.
23720         (VEC_LEN): New macro.
23721         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23722         test-vec-loop.h.
23723         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23724         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23725         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23726         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23727         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23728         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23729         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23731 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23733         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23734         (__getlogin_r): ... this.
23736 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23738         [BZ #18594]
23739         * math/s_ccosh.c (__ccosh): Compare with least normal value
23740         instead of comparing class with FP_SUBNORMAL.
23741         * math/s_ccoshf.c (__ccoshf): Likewise.
23742         * math/s_ccoshl.c (__ccoshl): Likewise.
23743         * math/s_cexp.c (__cexp): Likewise.
23744         * math/s_cexpf.c (__cexpf): Likewise.
23745         * math/s_cexpl.c (__cexpl): Likewise.
23746         * math/s_csin.c (__csin): Likewise.
23747         * math/s_csinf.c (__csinf): Likewise.
23748         * math/s_csinh.c (__csinh): Likewise.
23749         * math/s_csinhf.c (__csinhf): Likewise.
23750         * math/s_csinhl.c (__csinhl): Likewise.
23751         * math/s_csinl.c (__csinl): Likewise.
23752         * math/s_ctan.c (__ctan): Likewise.
23753         * math/s_ctanf.c (__ctanf): Likewise.
23754         * math/s_ctanh.c (__ctanh): Likewise.
23755         * math/s_ctanhf.c (__ctanhf): Likewise.
23756         * math/s_ctanhl.c (__ctanhl): Likewise.
23757         * math/s_ctanl.c (__ctanl): Likewise.
23758         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23759         csin, csinh, ctan and ctanh.
23760         * math/auto-libm-test-out: Regenerated.
23761         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23762         * sysdeps/i386/fpu/libm-test-ulps: Update.
23763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23765 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23767         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23768         return value is wrong, print the expected value too.
23770 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23772         [BZ #18585]
23773         * elf/readlib.c (is_gdb_python_file): New.
23774         (process_file): Don't issue errors on filenames with -gdb.py
23775         suffix.
23777 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23779         * math/auto-libm-test-in: Add more tests of csin and csinh.
23780         * math/auto-libm-test-out: Regenerated.
23781         * math/libm-test.inc (csin_test_data): Remove tests moved to
23782         auto-libm-test-in.
23783         (csinh_test_data): Likewise.
23785         [BZ #18593]
23786         * math/s_csin.c (__csin): Negate before rather than after possibly
23787         overflowing multiplication.
23788         * math/s_csinf.c (__csinf): Likewise.
23789         * math/s_csinh.c (__csinh): Likewise.
23790         * math/s_csinhf.c (__csinhf): Likewise.
23791         * math/s_csinhl.c (__csinhl): Likewise.
23792         * math/s_csinl.c (__csinl): Likewise.
23793         * math/auto-libm-test-in: Add some tests of csin and csinh.
23794         * math/auto-libm-test-out: Regenerated.
23795         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23796         (csinh_test_data): Likewise.
23797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23799         [BZ #18586]
23800         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23801         underflow exception for small results.
23803 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23805         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23806         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23807         variable and included header.
23808         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23809         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23810         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23811         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23812         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23813         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23814         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23815         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23816         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23817         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23818         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23819         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23820         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23821         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23822         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23823         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23825 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23827         [BZ #16526]
23828         [BZ #16538]
23829         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23830         (__sin): Force underflow exception for arguments with small
23831         absolute value.
23832         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23833         (__kernel_sinf): Force underflow exception for arguments with
23834         small absolute value.
23835         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23836         (__kernel_sincosl): Force underflow exception for arguments with
23837         small absolute value.
23838         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23839         (__kernel_sinl): Force underflow exception for arguments with
23840         small absolute value.
23841         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23842         (__kernel_sincosl): Force underflow exception for arguments with
23843         small absolute value.
23844         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23845         (__kernel_sinl): Force underflow exception for arguments with
23846         small absolute value.
23847         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23848         (__kernel_sinl): Force underflow exception for arguments with
23849         small absolute value.
23850         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23851         (__kernel_sinf): Force underflow exception for arguments with
23852         small absolute value.
23853         * math/auto-libm-test-in: Add more tests of sin and sincos.
23854         * math/auto-libm-test-out: Regenerated.
23856         [BZ #18245]
23857         [BZ #18583]
23858         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23859         (__kernel_standard_l): Use feholdexcept and fesetenv around
23860         conversion to double instead of special-casing overflow and
23861         underflow.
23862         * math/libm-test.inc (fmod_test_data): Add more tests.
23863         (remainder_test_data): Likewise.
23864         (sqrt_test_data): Likewise.
23866 2015-06-23  Torvald Riegel  <triegel@redhat.com>
23868         [BZ #17403]
23869         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
23870         atomic_read_barrier, atomic_write_barrier): Define.
23871         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
23872         atomic_read_barrier, atomic_write_barrier): Define.
23874 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23876         * math/Makefile [$(PERL) != no]
23877         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
23878         dependency on libm-test.stmp below the inclusion of Rules.
23880 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
23882         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
23884         and included header.
23885         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
23886         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
23887         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
23888         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
23889         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
23890         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
23891         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
23892         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
23893         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
23894         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
23895         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
23896         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
23897         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
23898         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
23899         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
23900         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
23901         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
23902         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
23903         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
23905 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23907         [BZ #18371]
23908         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
23909         intermediate but not final result might underflow.
23910         * math/s_csqrtf.c (__csqrtf): Likewise.
23911         * math/s_csqrtl.c (__csqrtl): Likewise.
23912         * math/auto-libm-test-in: Add more tests of csqrt.
23913         * math/auto-libm-test-out: Regenerated.
23914         * sysdeps/i386/fpu/libm-test-ulps: Update.
23916         [BZ #18219]
23917         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
23918         threshold on absolute value of exponent for which scaling is used.
23919         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23920         * math/auto-libm-test-in: Add more tests of exp2.
23921         * math/auto-libm-test-out: Regenerated.
23923 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
23925         [BZ #17977]
23926         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
23927         when initializing interface list, based on the bug analysis
23928         and the patch proposed by Eric Newton.
23929         * resolv/tst-res_hconf_reorder.c: New test.
23930         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
23931         tst-res_hconf_reorder.
23932         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
23933         and $(shared-thread-library).
23934         (tst-res_hconf_reorder-ENV): New variable.
23936         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
23937         in comment.
23939 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
23941         [BZ #16353]
23942         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
23943         (__expm1): Force underflow exception for arguments with small
23944         absolute value.
23945         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
23946         (__expm1f): Force underflow exception for arguments with small
23947         absolute value.
23948         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
23949         (__expm1): Force underflow exception for arguments with small
23950         absolute value.
23951         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
23952         (__expm1f): Force underflow exception for arguments with small
23953         absolute value.
23954         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23955         Check for small arguments before calling __expm1.
23956         * math/auto-libm-test-in: Do not mark underflow exceptions as
23957         possibly missing for bug 16353.
23958         * math/auto-libm-test-out: Regenerated.
23960 2015-06-22  Andreas Schwab  <schwab@suse.de>
23962         [BZ #18513]
23963         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
23964         PTR queries.
23966 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
23968         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
23970         * string/strcoll_l.c: Remove unused struct element idxnow.
23972 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
23974         [BZ #18569]
23975         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
23976         underflow and return argument in case of subnormal argument.
23977         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23978         Likewise.
23979         * math/auto-libm-test-in: Add more tests of expm1.
23980         * math/auto-libm-test-out: Regenerated.
23982         [BZ #16361]
23983         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
23984         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
23985         tiny results.
23986         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
23987         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
23988         tiny results.
23989         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
23990         mark underflow exceptions as possibly missing for bug 16361.
23991         * math/auto-libm-test-out: Regenerated.
23993 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
23995         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
23996         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
23997         Remove variable.
23998         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23999         (test-xfail-XOPEN2K8/utmpx.h/conform).
24001         * conform/conformtest.pl ($xerrors): New variable.
24002         (note_error): New function.
24003         (compiletest): New argument $xfail.  Use not_error.
24004         (runtest): Likewise.
24005         (top level): Handle xfail- lines.  Update calls to compiletest and
24006         runtest.  Handle xfail- and optional- in headers listed with
24007         allow-header.
24008         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24009         (O_EXEC): Likewise.
24010         (O_SEARCH): Likewise.
24011         * conform/data/stropts.h-data (ioctl): Likewise.
24012         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24013         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24014         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24015         (msghdr.msg_controllen): Likewise.
24016         (cmsghdr.cmsg_len): Likewise.
24017         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24018         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24019         variable.
24020         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24021         (test-xfail-XPG4/stropts.h/conform): Likewise.
24022         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24023         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24024         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24025         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24026         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24027         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24028         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24029         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24030         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24031         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24032         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24033         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24034         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24035         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24036         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24037         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24038         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24039         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24040         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24042 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24044         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24045         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24046         definitions for proper unfolding of __MATHDECL_VEC.
24048 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24050         * benchtests/bench-strcoll.c:
24051         Include string.h.
24052         (main): Remove unused variable res.
24054 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24056         * timezone/Makefile (%/UTC %/Universal):
24057         Generate test-result files for UTC and Universal.
24059 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24061         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24063 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24065         [BZ #16350]
24066         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24067         for arguments with small absolute value.
24068         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24069         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24070         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24071         (__asinh): Force underflow exception for arguments with small
24072         absolute value.
24073         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24074         (__asinhf): Force underflow exception for arguments with small
24075         absolute value.
24076         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24077         (__asinhl): Force underflow exception for arguments with small
24078         absolute value.
24079         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24080         (__asinhl): Force underflow exception for arguments with small
24081         absolute value.
24082         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24083         (__asinhl): Force underflow exception for arguments with small
24084         absolute value.
24085         * math/auto-libm-test-in: Do not mark underflow exceptions as
24086         possibly missing for bug 16350.
24087         * math/auto-libm-test-out: Regenerated.
24089         * include/bits/ipc.h: Remove file.
24090         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24091         variable.
24092         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24093         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24094         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24095         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24096         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24097         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24098         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24099         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24100         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24102         * math/auto-libm-test-in: Remove spurious underflow allowance for
24103         tests of cexp.
24104         * math/auto-libm-test-out: Regenerated.
24106         [BZ #18558]
24107         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24108         unconditional definition.
24109         (MCAST_BLOCK_SOURCE): Likewise.
24110         (MCAST_UNBLOCK_SOURCE): Likewise.
24111         (MCAST_LEAVE_GROUP): Likewise.
24112         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24113         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24114         (MCAST_MSFILTER): Likewise.
24115         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24116         Remove variable.
24117         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24118         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24119         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24120         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24121         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24123 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
24125         * NEWS: Mention addition of x86_64 vector sincosf.
24126         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24127         * math/test-float-vlen4.h: Likewise.
24128         * math/test-float-vlen8.h: Likewise.
24129         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24130         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24131         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24132         * sysdeps/x86_64/fpu/Versions: New versions added.
24133         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24134         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24135         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24136         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24139         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24140         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24141         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24142         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24143         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24144         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24145         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24146         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24147         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24148         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24149         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24150         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24151         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24152         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24153         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24154         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24155         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24156         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24158         * NEWS: Mention addition of x86_64 vector sincos.
24159         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24160         * math/math.h (__MATHDECL_VEC): New macro.
24161         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24162         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24163         declaration under condition.
24164         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24165         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24166         TEST_VEC_LOOP change.
24167         * math/test-double-vlen4.h: Likewise.
24168         * math/test-double-vlen8.h: Likewise.
24169         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24170         * math/test-float-vlen4.h: Likewise.
24171         * math/test-float-vlen8.h: Likewise.
24172         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24173         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24174         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24175         * sysdeps/x86_64/fpu/Versions: New versions added.
24176         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24177         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24178         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24179         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24180         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24181         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24182         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24183         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24184         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24185         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24186         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24187         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24188         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24189         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24190         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24191         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24192         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24193         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24194         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24195         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24196         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24197         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24198         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24199         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24201         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24202         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24203         redirections for powf.
24204         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24205         * sysdeps/x86_64/fpu/Versions: New versions added.
24206         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24207         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24208         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24209         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24211         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24213         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24214         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24215         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24216         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24217         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24218         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24219         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24220         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24221         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24222         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24223         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24224         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24225         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24226         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24227         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24228         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24229         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24230         * math/test-float-vlen16.h: Fixed 2 argument macro.
24231         * math/test-float-vlen4.h: Likewise.
24232         * math/test-float-vlen8.h: Likewise.
24233         * NEWS: Mention addition of x86_64 vector powf.
24235 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
24237         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24238         and redefine.
24239         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24240         and redefine.
24241         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24242         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24243         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24245         [BZ #18553]
24246         * resource/getpriority.c (getpriority): Rename to __getpriority
24247         and define as weak alias of __getpriority.
24248         * resource/setpriority.c (setpriority): Rename to __setpriority
24249         and define as weak alias of __setpriority.
24250         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24251         __getpriority and define as weak alias of __getpriority.
24252         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24253         __setpriority and define as weak alias of __setpriority.
24254         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24255         strong name.
24256         (setpriority): Use __setpriority as strong name.
24257         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24258         __getpriority and define as weak alias of __getpriority.
24259         * include/sys/resource.h (__getpriority): Declare.  Use
24260         libc_hidden_proto.
24261         (__setpriority): Likewise.
24262         (getpriority): Don't use libc_hidden_proto.
24263         (setpriority): Likewise.
24264         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24265         getpriority.  Call __setpriority instead of setpriority.
24266         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24267         Remove variable.
24269         [BZ #18547]
24270         * misc/getttyent.c (getttynam): Rename to __getttynam and define
24271         as weak alias of __getttynam.  Use prototype function definition.
24272         Call __setttyent, __getttyent and __endttyent instead of
24273         setttyent, getttyent and endttyent.
24274         (getttyent): Rename to __getttyent and define as weak alias of
24275         __getttyent.  Call __setttyent instead of setttyent.  Call
24276         __fgets_unlocked instead of fgets_unlocked.
24277         (setttyent): Rename to __setttyent and define as weak alias of
24278         __setttyent.
24279         (endttyent): Rename to __endttyent and define as weak alias of
24280         __endttyent.
24281         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
24282         (__setttyent): Likewise.
24283         (__endttyent): Likewise.
24284         (getttyent): Don't use libc_hidden_proto.
24285         (setttyent): Likewise.
24286         (endttyent): Likewise.
24287         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24288         __endttyent instead of setttyent, getttyent and endttyent.
24289         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24290         Remove variable.
24292         [BZ #18546]
24293         * socket/recv.c (__recv): Use libc_hidden_def.
24294         * socket/socket.c (__socket): Likewise.
24295         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24296         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24297         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24298         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24299         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24300         libc_hidden_def.
24301         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24302         libc_hidden_weak.
24303         * include/sys/socket.h (__socket): Do not use attribute_hidden.
24304         Use libc_hidden_proto.
24305         (__recv): Likewise.
24306         * socket/Versions (libc): Export __recv and __socket at version
24307         GLIBC_PRIVATE.
24308         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24309         instead of recv.
24310         (init_mq_netlink): Call __socket instead of socket.
24311         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24312         Remove variable.
24314         [BZ #18545]
24315         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24316         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
24317         hidden_weak.
24318         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24319         define as alias of __mq_timedsend.  Use hidden_weak.
24320         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24321         __mq_timedsend as strong name.
24322         (mq_timedreceive): Use __mq_timedreceive as strong name.
24323         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
24324         (__mq_timedreceive): Likewise.
24325         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24326         __mq_timedreceive instead of mq_timedreceive.
24327         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24328         instead of mq_timedsend.
24329         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24330         Remove variable.
24332         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24333         hidden_def and hidden_weak instead of libc_hidden_def and
24334         libc_hidden_weak.
24335         (top level): Refer to hidden_def in comment.
24336         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24337         macro.  Use it instead of libc_hidden_def.
24338         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24339         specify __GI_* name explicitly.
24340         (mq_timedreceive): Likewise.
24341         (mq_setattr): Likewise.
24343         [BZ #18544]
24344         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24345         __pthread_barrier_init and define as weak alias of
24346         __pthread_barrier_init.
24347         * sysdeps/sparc/nptl/pthread_barrier_init.c
24348         (pthread_barrier_init): Likewise.
24349         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24350         __pthread_barrier_wait and define as weak alias of
24351         __pthread_barrier_wait.
24352         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24353         (pthread_barrier_wait): Likewise.
24354         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24355         (pthread_barrier_wait): Likewise.
24356         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24357         (pthread_barrier_wait): Likewise.
24358         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24359         (pthread_barrier_wait): Likewise.
24360         * nptl/Versions (libpthread): Export __pthread_barrier_init and
24361         __pthread_barrier_wait at version GLIBC_PRIVATE.
24362         * include/pthread.h (__pthread_barrier_init): Declare.
24363         (__pthread_barrier_wait): Likewise.
24364         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24365         Call __pthread_barrier_wait instead of pthread_barrier_wait.
24366         (helper_thread): Likewise.
24367         (init_mq_netlink): Call __pthread_barrier_init instead of
24368         pthread_barrier_init.
24370         [BZ #18542]
24371         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24372         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24373         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
24374         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24375         vswscanf.
24376         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24377         Remove variable.
24379         [BZ #18540]
24380         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24381         strong alias of _IO_fflush.  Use libc_hidden_def.
24382         * libio/iofflush_u.c (fflush_unlocked): Rename to
24383         __fflush_unlocked and define as weak alias of __fflush_unlocked.
24384         Use libc_hidden_weak.
24385         * include/stdio.h (__fflush_unlocked): Declare.  Use
24386         libc_hidden_proto.
24387         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24388         fflush_unlocked.
24389         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24390         Remove variable.
24392         [BZ #18539]
24393         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24394         define as weak alias of __addseverity.
24395         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24396         Remove variable.
24397         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24398         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24399         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24401         [BZ #18536]
24402         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24403         (__tfind): Likewise.
24404         (__tdelete): Likewise.
24405         (__twalk): Likewise.
24406         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24407         __twalk to GLIBC_PRIVATE.
24408         * include/search.h (__tsearch): Use libc_hidden_proto.
24409         (__tfind): Likewise.
24410         (__tdelete): Likewise.
24411         (__twalk): Likewise.
24412         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24413         Call __tdelete instead of tdelete.
24414         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24415         tfind.  Call __tsearch instead of tsearch.
24416         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24417         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24418         Remove variable.
24419         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24421         [BZ #18534]
24422         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24423         (dprintf): Define as a weak alias of __dprintf, not a strong
24424         alias.
24425         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
24426         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24427         dprintf.
24428         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24429         Remove variable.
24430         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24431         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24433         [BZ #18533]
24434         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24435         not a strong alias.
24436         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24437         Remove variable.
24439         [BZ #18532]
24440         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24441         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
24442         (in6addr_loopback): Rename to __in6addr_loopback and define as
24443         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
24444         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
24445         libc_hidden_proto.
24446         (__in6addr_any): Likewise.
24447         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24448         in6addr_any.
24449         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24450         variable.
24451         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24453 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24455         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24456         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24457         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24458         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24459         redirections for pow.
24460         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24461         * sysdeps/x86_64/fpu/Versions: New versions added.
24462         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24463         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24464         build of SSE, AVX2 and AVX512 IFUNC versions.
24465         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24466         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24467         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24469         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24470         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24471         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24472         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24473         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24474         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24475         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24476         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24477         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24478         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24479         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24480         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24481         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24482         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24483         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24484         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24485         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24486         * NEWS: Mention addition of x86_64 vector pow.
24488         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24489         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24490         redirections for expf.
24491         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24492         * sysdeps/x86_64/fpu/Versions: New versions added.
24493         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24494         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24495         build of SSE, AVX2 and AVX512 IFUNC versions.
24496         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24497         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24498         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24499         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24500         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24501         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24502         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24503         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24504         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24505         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24506         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24507         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24508         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24509         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24510         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24511         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24512         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24513         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24514         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24515         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24516         * NEWS: Mention addition of x86_64 vector expf.
24518         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24519         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24520         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24521         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24522         redirections for exp.
24523         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24524         * sysdeps/x86_64/fpu/Versions: New versions added.
24525         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24526         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24527         build of SSE, AVX2 and AVX512 IFUNC versions.
24528         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24529         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24530         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24531         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24532         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24533         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24534         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24535         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24536         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24537         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24538         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24539         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24540         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24541         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24542         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24543         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24544         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24545         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24546         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24547         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24548         * NEWS: Mention addition of x86_64 vector exp.
24550         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24551         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24552         redirections for logf.
24553         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24554         * sysdeps/x86_64/fpu/Versions: New versions added.
24555         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24556         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24557         build of SSE, AVX2 and AVX512 IFUNC versions.
24558         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24559         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24560         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24561         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24562         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24564         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24565         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24566         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24567         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24568         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24569         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24570         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24571         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24572         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24573         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24574         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24575         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24576         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24577         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24578         * NEWS: Mention addition of x86_64 vector logf.
24580         * bits/libm-simd-decl-stubs.h: Added stubs for log.
24581         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24582         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24583         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24584         redirections for log.
24585         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24586         * sysdeps/x86_64/fpu/Versions: New versions added.
24587         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24588         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24589         build of SSE, AVX2 and AVX512 IFUNC versions.
24590         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24591         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24592         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24593         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24594         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24595         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24596         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24597         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24598         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24599         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24600         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24601         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24602         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24603         test.
24604         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24605         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24606         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24607         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24608         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24609         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24610         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24611         * NEWS: Mention addition of x86_64 vector log.
24613 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24615         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24616         cfi_adjust_cfa_offset argument.
24617         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24618         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24620         [BZ #18034]
24621         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24622         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24623         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24624         ordering using ldar.
24625         (_dl_tlsdesc_dynamic): Likewise.
24626         (_dl_tlsdesc_return_lazy): Likewise.
24627         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24628         relaxed atomics instead of volatile and synchronize with release store.
24629         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24630         volatile.
24631         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24633 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
24635         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24636         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24637         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24638         * sysdeps/x86_64/fpu/Versions: New versions added.
24639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24640         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24641         build of SSE, AVX2 and AVX512 IFUNC versions.
24642         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24643         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24644         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24645         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24646         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24647         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24648         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24649         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24650         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24651         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24652         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24653         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24654         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24655         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24656         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24657         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24658         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24659         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24660         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24661         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24662         * NEWS: Mention addition of x86_64 vector sinf.
24664 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
24666         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24667         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24668         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24669         Remove variable.
24670         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24671         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24673 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24675         [BZ #18530]
24676         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24677         strong alias of _IO_fputs.  Use libc_hidden_def.
24678         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24679         and define as weak alias of __fputs_unlocked.  Use
24680         libc_hidden_weak.
24681         * include/stdio.h (__fputs_unlocked): Declare.  Use
24682         libc_hidden_proto.
24683         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24684         fputs_unlocked.
24686         [BZ #18529]
24687         * resolv/netdb.h [__USE_POSIX]: Change condition to
24688         [__USE_XOPEN2K].
24689         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24690         not expect.
24691         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24692         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24693         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24694         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24695         [XPG4 || UNIX98] (AI_ALL): Likewise.
24696         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24697         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24698         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24699         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24700         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24701         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24702         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24703         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24704         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24705         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24706         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24707         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24708         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24709         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24710         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24711         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24712         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24713         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24714         [XPG4 || UNIX98] (gai_strerror): Likewise.
24715         [XPG4 || UNIX98] (getaddrinfo): Likewise.
24716         [XPG4 || UNIX98] (getnameinfo): Likewise.
24718         [BZ #18528]
24719         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24720         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24721         __USE_XOPEN2K8].
24722         (getgrent): Likewise.
24723         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24724         expect.
24725         [XPG3 || POSIX2008] (endgrent): Likewise.
24726         [XPG3] (setgrent): Likewise.
24727         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24728         variable.
24729         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24731         [BZ #18527]
24732         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24733         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
24734         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24735         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24736         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24737         * include/unistd.h (__getlogin_r): Declare.  Use
24738         libc_hidden_proto.
24739         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24740         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24741         variable.
24742         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24743         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24744         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24746 2015-06-12  Martin Sebor  <msebor@redhat.com>
24748         [BZ #18512]
24749         * Makerules (check-install-supported): New target.
24750         (install): Add check-install-supported as a dependency.
24751         * manual/install.texi (Installing the C Library): Document
24752         that overriding prefix and exec_prefix is not supported.
24753         Mention DESTDIR.
24754         * INSTALL: Regenerate from the above.
24756 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24758         [BZ #18519]
24759         * posix/Versions (libc): Export __libc_pread at version
24760         GLIBC_PRIVATE.
24761         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24762         instead of pread.
24763         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24764         variable.
24766         [BZ #18522]
24767         * misc/efgcvt_r.c
24768         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24769         (cvt_symbol): Use weak_alias instead of strong_alias.
24770         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24771         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24772         Remove variable.
24773         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24774         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24776         [BZ #18520]
24777         * inet/herrno.c (h_errno): Rename to __h_errno.
24778         (__libc_h_errno): Define as alias of __h_errno not h_errno.
24779         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24780         to __h_errno instead of h_errno.
24781         * nptl/herrno.c (h_errno): Rename to __h_errno.
24782         (__h_errno_location): Refer to __h_errno not h_errno.
24783         * resolv/Versions (h_errno): Rename to __h_errno.
24784         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24785         Remove variable.
24786         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24788 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
24790         * configure.ac: More strict check for AVX512 assembler support.
24791         * configure: Regenerated.
24793         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24794         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24795         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24796         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24797         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24798         * sysdeps/x86_64/fpu/Versions: New versions added.
24799         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24800         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24801         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24802         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24803         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24804         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24805         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24807         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24808         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24809         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24810         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24811         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24812         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24813         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24814         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24815         test.
24816         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24817         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24819         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24820         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24821         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24822         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24823         * NEWS: Mention addition of x86_64 vector sin.
24825 2015-06-11  Florian Weimer  <fweimer@redhat.com>
24827         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24828         comment.
24830 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24832         [BZ #18479]
24833         * nptl/pt-interp.c: New file.
24834         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24835         Add pt-interp.
24836         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24837         $(common-objpfx)runtime-linker.h.
24839 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
24841         * Makeconfig (+interp): Remove unused variable.
24842         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24843         only.  Depend on $(common-objpfx)runtime-linker.h instead of
24844         $(elf-objpfx)runtime-linker.h.
24845         ($(elf-objpfx)runtime-linker.h): Rename to
24846         $(common-objpfx)runtime-linker.h and move ...
24847         * Makerules [$(build-shared) = yes]: ... here.
24848         * elf/interp.c: Include <runtime-linker.h> instead of
24849         <elf/runtime-linker.h>.
24851 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24853         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24854         (__gettimeofday_syscall): Remove vsyscall fallback.
24855         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24856         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24857         Add syscall fallback function.
24858         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24859         if vDSO is not present.
24860         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24861         fallback function.
24862         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24863         present.
24864         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24865         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24867 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
24869         [BZ #18497]
24870         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
24871         of wcscmp.
24872         (wcscmp): Define as weak alias of WCSCMP.
24873         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
24874         wcscoll.
24875         (USE_HIDDEN_DEF): Define.
24876         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
24877         __wcscoll.  Don't use libc_hidden_weak.
24878         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
24879         wcscmp.
24880         * sysdeps/i386/i686/multiarch/wcscmp-c.c
24881         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
24882         __GI_wcscmp.
24883         (weak_alias): Undefine and redefine.
24884         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
24885         __wcscmp and define as weak alias of __wcscmp.
24886         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
24887         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
24888         (__wcscoll): Likewise.
24889         (wcscmp): Don't use libc_hidden_proto.
24890         (wcscoll): Likewise.
24891         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
24892         wcscoll.
24893         * posix/regexec.c (check_node_accept_bytes): Likewise.
24894         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
24895         variable.
24896         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24897         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24899         [BZ #18507]
24900         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
24901         __fstatvfs and define as weak alias of __fstatvfs.  Use
24902         libc_hidden_weak.
24903         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
24904         and define as weak alias of __statvfs.  Use libc_hidden_weak.
24905         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
24906         Define as alias of __fstatvfs, not fstatvfs.
24907         (fstatvfs64): Likewise.
24908         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
24909         Define as alias of __statvfs, not statvfs.
24910         (statvfs64): Likewise.
24911         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
24912         Remove variable.
24914 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24917         (HAVE_GETCPU_VSYSCALL): Define.
24918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24919         (HAVE_GETCPU_VSYSCALL): Likewise.
24920         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
24921         * sysdeps/unix/sysv/linux/sched_getcpu.c
24922         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
24923         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
24924         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
24925         prototype.
24926         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24927         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
24928         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
24929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
24930         Define.
24931         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
24932         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24933         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
24934         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24936 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
24938         * sysdeps/x86_64/fpu/Makefile: New file.
24939         * sysdeps/x86_64/fpu/Versions: New file.
24940         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
24941         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
24942         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
24943         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
24944         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
24945         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
24946         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
24947         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
24948         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
24949         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
24950         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
24951         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
24952         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
24953         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24954         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24955         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
24956         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
24957         * sysdeps/x86_64/configure.ac: Options for libmvec build.
24958         * sysdeps/x86_64/configure: Regenerated.
24959         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
24960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
24961         * manual/install.texi (Configuring and compiling): Document
24962         --disable-mathvec.
24963         * INSTALL: Regenerated.
24964         * NEWS: Mention addition of libmvec and x86_64 vector cos.
24966         * math/Makefile: Added rules for vector tests.
24967         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
24968         declaration under condition.
24969         * math/test-double-vlen2.h: New file.
24970         * math/test-double-vlen4.h: New file.
24971         * math/test-double-vlen8.h: New file.
24972         * math/test-vec-loop.h: Added initialization macro.
24973         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
24974         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
24975         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
24976         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
24977         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
24978         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
24979         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
24980         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
24981         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
24982         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
24983         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
24985         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24986         * sysdeps/x86_64/fpu/Versions: New versions added.
24987         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
24988         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
24989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
24990         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
24991         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
24992         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
24993         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
24994         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
24995         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
24996         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
24997         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
24998         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
24999         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25000         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25001         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25002         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25003         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25004         * NEWS: Mention addition of x86_64 vector cosf.
25006         * math/Makefile: Added CFLAGS for new tests.
25007         * math/test-float-vlen16.h: New file.
25008         * math/test-float-vlen4.h: New file.
25009         * math/test-float-vlen8.h: New file.
25010         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25011         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25013         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25014         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25015         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25016         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25017         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25018         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25019         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25020         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25022 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25024         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25025         * locale/programs/ld-ctype.c: Likewise.
25027 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25029         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25030         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25031         bit_ZMM16_31_state): New macro.
25032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25033         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25035 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25037         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25039 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25041         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25043 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25045         [BZ #18498]
25046         * libio/memstream.c (open_memstream): Rename to __open_memstream
25047         and define as weak alias of __open_memstream.
25048         * include/stdio.h (__open_memstream): Declare.  Use
25049         libc_hidden_proto.
25050         (open_memstream): Don't use libc_hidden_proto.
25051         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25052         open_memstream.
25053         * posix/getopt.c (_getopt_internal_r): Likewise.
25054         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25055         variable.
25056         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25057         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25058         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25060         [BZ #18496]
25061         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25062         instead of wcrtomb.
25064         [BZ #18483]
25065         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25066         [__USE_XOPEN2K8].  Remove redundant #endif.
25067         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25068         Remove redundant #if.
25069         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25070         Remove variable.
25071         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25072         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25074         [BZ #18495]
25075         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25076         (__iswlower): Likewise.
25077         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
25078         (__iswlower): Likewise.
25079         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25080         instead of towlower.
25081         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25082         instead of iswlower.  Call __towupper instead of towupper.
25083         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25084         instead of iswalnum.
25086 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25088         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25089         errors to stderr.
25091 2015-06-05  Florian Weimer  <fweimer@redhat.com>
25093         [BZ #15661]
25094         [BZ #17322]
25095         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25096         Check for overflow properly.  Check for O_APPEND.  Ignore large
25097         file system block sizes.  Add comments about problems.
25098         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25099         * manual/filesys.texi (Storage Allocation): New node.
25101 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25103         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25104         cancellable syscalls.
25105         (SYS_ify): Add guard to no redefine it.
25106         (INLINE_SYSCALL): Likewise.
25107         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25108         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25109         SYSCALL_CANCEL instead.
25110         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25111         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25112         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25113         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25114         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25115         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25116         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25117         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25118         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25119         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25120         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25121         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25122         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25123         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25124         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25125         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25126         Likewise.
25127         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25128         (__libc_pread64): Likewise.
25129         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25130         (__libc_preadv): Likewise.
25131         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25132         (__libc_readv64): Likewise.
25133         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25134         (__libc_pwrite): Likewise.
25135         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25136         (__libc_pwrite64): Likewise.
25137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25138         (__libc_pwritev): Likewise.
25139         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25140         (__libc_pwritev64): Likewise.
25141         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25142         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25143         (sync_file_range): Likewise.
25144         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25145         Likewise.
25146         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25147         Likewise.
25148         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25149         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25150         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25151         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25152         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25153         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25154         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25155         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25157         Likewise.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25159         (__libc_read64): Likewise.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25161         Likewise.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25163         Likewise.
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25165         Likewise.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25167         Likewise.
25168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25169         (__libc_pread64): Likewise.
25170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25171         Likewise.
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25173         (__libc_pwrite64): Likewise.
25174         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25175         (sync_file_range): Likewise.
25176         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25177         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25178         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25179         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25180         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25181         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25182         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25183         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25184         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25185         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25186         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25187         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25188         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25189         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25190         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25191         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25192         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25193         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25194         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25195         Likewise.
25196         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25197         Likewise.
25198         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25199         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25200         Likewise.
25201         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25202         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25203         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25204         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25205         Likewise.
25206         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25207         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25208         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25209         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25210         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25212 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
25214         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25215         Include dl-vdso.
25216         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25217         Use VDSO routines for gettimeofday, clock_gettime if
25218         available.
25219         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25220         Declare VDSO symbols.
25221         * sysdeps/unix/sysv/linux/arm/sysdep.h:
25222         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25223         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25224         * sysdeps/unix/sysv/linux/arm/Versions: Add
25225         __vdso_clock_gettime.
25227 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25229         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25230         be an inline implementation regardless of library is built within.
25231         (open_not_cancel_2): Likewise.
25232         (__read_nocancel): Likewise.
25233         (__write_nocancel): Likewise.
25234         (openat_not_cancel): Likewise.
25235         (openat_not_cancel_3): Likewise.
25236         (openat64_not_cancel): Likewise.
25237         (openat64_not_cancel_3): Likewise.
25238         (__close_nocancel): Likewise.
25239         (pause_not_cancel): Likewise.
25240         (nanosleep_not_cancel): Likewise.
25241         (sigsuspend_not_cancel): Likewise.
25243 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25245         [BZ #14958]
25246         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25247         wake-up.
25248         (__pthread_rwlock_rdlock_slow): Likewise.
25249         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25250         Likewise.
25251         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25252         Likewise.
25253         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25254         * nptl/tst-rwlock16.c: New file.
25255         * nptl/Makefile (tests): Add new test.
25257 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25259         [BZ #18324]
25260         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25261         missing wake-up of readers.
25262         * nptl/tst-rwlock15.c: New file.
25263         * nptl/Makefile (tests): Add new test.
25265 2015-06-03  Roland McGrath  <roland@hack.frob.com>
25267         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25268         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25269         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25270         and __nacl_supply_interface_rtld.
25271         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25272         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25273         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25274         Add __nacl_supply_interface_rtld.
25275         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25277 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25279         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25280         isfinite.
25281         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25282         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25284 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25286         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25287         __signbit* with standard C99 macros.
25288         * math/e_exp10l.c: Likewise.
25289         * math/e_exp2l.c: Likewise.
25290         * math/e_scalb.c: Likewise.
25291         * math/e_scalbf.c: Likewise.
25292         * math/e_scalbl.c: Likewise.
25293         * math/s_ldexp.c: Likewise.
25294         * math/s_ldexpf.c: Likewise.
25295         * math/s_ldexpl.c: Likewise.
25296         * math/w_atan2.c: Likewise.
25297         * math/w_atan2f.c: Likewise.
25298         * math/w_atan2l.c: Likewise.
25299         * math/w_cosh.c: Likewise.
25300         * math/w_coshf.c: Likewise.
25301         * math/w_coshl.c: Likewise.
25302         * math/w_exp10.c: Likewise.
25303         * math/w_exp10f.c: Likewise.
25304         * math/w_exp10l.c: Likewise.
25305         * math/w_exp2.c: Likewise.
25306         * math/w_exp2f.c: Likewise.
25307         * math/w_exp2l.c: Likewise.
25308         * math/w_fmod.c: Likewise.
25309         * math/w_fmodf.c: Likewise.
25310         * math/w_fmodl.c: Likewise.
25311         * math/w_hypot.c: Likewise.
25312         * math/w_hypotf.c: Likewise.
25313         * math/w_hypotl.c: Likewise.
25314         * math/w_jnl.c: Likewise.
25315         * math/w_lgamma.c: Likewise.
25316         * math/w_lgamma_r.c: Likewise.
25317         * math/w_lgammaf.c: Likewise.
25318         * math/w_lgammaf_r.c: Likewise.
25319         * math/w_lgammal.c: Likewise.
25320         * math/w_lgammal_r.c: Likewise.
25321         * math/w_pow.c: Likewise.
25322         * math/w_powf.c: Likewise.
25323         * math/w_powl.c: Likewise.
25324         * math/w_remainder.c: Likewise.
25325         * math/w_remainderf.c: Likewise.
25326         * math/w_remainderl.c: Likewise.
25327         * math/w_scalb.c: Likewise.
25328         * math/w_scalbf.c: Likewise.
25329         * math/w_scalbl.c: Likewise.
25330         * math/w_scalbln.c: Likewise.
25331         * math/w_scalblnf.c: Likewise.
25332         * math/w_scalblnl.c: Likewise.
25333         * math/w_sinh.c: Likewise.
25334         * math/w_sinhf.c: Likewise.
25335         * math/w_sinhl.c: Likewise.
25336         * math/w_tgamma.c: Likewise.
25337         * math/w_tgammaf.c: Likewise.
25338         * math/w_tgammal.c: Likewise.
25339         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25340         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25341         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25342         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25343         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25344         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25345         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25346         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25347         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25348         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25349         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25350         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25351         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25352         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25353         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25354         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25355         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25356         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25357         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25358         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25360         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25361         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25363         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25364         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25365         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25366         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25367         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25368         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25369         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25370         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25371         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25372         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25373         * stdio-common/printf_fp.c: Likewise.
25374         * stdio-common/printf_fphex.c: Likewise.
25375         * stdio-common/printf_size.c: Likewise.
25377 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
25379         [BZ #18470]
25380         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25381         strnlen.
25382         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25383         Remove variable.
25384         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25385         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25386         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25387         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25388         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25389         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25390         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25391         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25392         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25393         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25395         [BZ #18468]
25396         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25397         weak alias of __wmemchr.  Use libc_hidden_weak.
25398         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
25399         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25400         instead of wmemchr.
25402 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25404         [BZ #18383]
25405         * elf/tst-tlsalign-extern.c: New file.
25406         * elf/tst-tlsalign-extern-static.c: New file.
25407         * elf/tst-tlsalign-vars.c: New file.
25408         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25409         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25410         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25411         ($(objpfx)tst-tlsalign-extern-static): Likewise.
25412         (test-xfail-tst-tlsalign-extern-static): New variable.
25414 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
25416         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25417         Use variable name _sc_err instead of err.
25418         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25419         instead of ret.
25420         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25421         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25422         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25423         (INLINE_SYSCALL): Likewise.
25425         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25426         * include/string.h (__strnlen): Use libc_hidden_proto.
25427         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25428         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25429         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25430         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25431         (libc_hidden_def): Undefine and redefine.
25432         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25433         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25434         __GI_strnlen.
25435         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25436         libc_hidden_def.
25437         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25439         [BZ #18469]
25440         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25441         weak alias of __towlower.  Use libc_hidden_weak.
25442         (towupper): Rename to __towupper and define as weak alias of
25443         __towupper.  Use libc_hidden_weak.
25444         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
25445         (__towupper): Likewise.
25446         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25447         __towlower instead of towlower.
25449 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25451         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25452         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25454 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25456         * sysdeps/aarch64/libm-test-ulps: Update.
25458 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25460         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25461         Define.
25462         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25464         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25465         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25466         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25467         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25468         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25470 2015-06-01  Martin Sebor  <msebor@redhat.com>
25472         [BZ #18116]
25473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25474         (__setcontext): Use extended four-operand version of mtsf whenever
25475         possible.
25476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25477         (__novec_swapcontext): Likewise.
25479 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25481         * benchtests/scripts/compare_bench.py: New file.
25482         * benchtests/scripts/import_bench.py (mean): New function.
25483         (split_list): Likewise.
25484         (do_for_all_timings): Likewise.
25485         (compress_timings): Likewise.
25487         * benchtests/scripts/import_bench.py: New file.
25488         * benchtests/scripts/validate_benchout.py: Import import_bench
25489         instead of jsonschema.
25490         (validate_bench): Remove function.
25491         (main): Use import_bench.
25493 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
25495         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25496         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25498 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25502 2015-05-28  Roland McGrath  <roland@hack.frob.com>
25504         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25505         set THREAD_SELF->tid to a magic value and futex-wake it.
25506         Pass its address to the thread_exit system call.
25507         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25508         bit is clear.
25509         * sysdeps/nacl/lowlevellock.h: New file.
25510         * sysdeps/nacl/lll_timedwait_tid.c: New file.
25512         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25513         Add TIMEOUT to current time, don't subtract it.
25515 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
25517         [BZ #2981]
25518         [BZ #18422]
25519         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25520         ($(objpfx)tst-audit2.out): Also depend on
25521         $(objpfx)tst-auditmod9b.so.
25522         * elf/tst-audit2.c: Include <dlfcn.h>.
25523         (calloc_called): New.
25524         (calloc): Allow to be called more than once.
25525         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25527 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
25529         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25530         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25532 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
25534         * stdlib/monetary.h: Fix comment.
25536 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
25538         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25539         Avoid using variables in #defines that might cause shadowing.
25540         (INTERNAL_VSYSCALL_CALL): Likewise.
25542 2015-05-26  Roland McGrath  <roland@hack.frob.com>
25544         * sysdeps/nacl/lll_timedlock_wait.c: New file.
25546         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25547         * nptl/lll_timedlock_wait.c: ... to this new file.
25548         * nptl/Makefile (libpthread-routines): Add it.
25549         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25550         * nptl/lll_timedwait_tid.c: ... to this new file.
25551         * nptl/Makefile (libpthread-routines): Add it.
25552         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25553         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25554         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25555         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25556         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25557         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25558         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25559         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25560         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25561         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25563 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25565         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25566         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25567         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25569         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25571         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25573         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25574         * sysdeps/unix/sysv/linux/tile/sysdep.h
25575         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25576         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25577         using vDSO syscall macro.
25579 2015-05-26  Andriy Rysin  <arysin@gmail.com>
25581         [BZ #17293]
25582         * uk_UA: Fix sorting order for Ukrainian locale
25584 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
25586         * stdlib/monetary.h: Fix comment.
25588 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25590         [BZ #18234]
25591         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25592         st_mtim and st_ctim members.
25593         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25594         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25595         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25596         (struct stat64): Likewise.
25597         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25598         (struct stat64): Likewise.
25599         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25600         (struct stat64): Likewise.
25602 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25604         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25605         Define and include sysdep-vdso.h.
25606         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25607         Likewise.
25608         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25609         Likewise.
25610         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25611         Define with VDSO_SYMBOL and use PTR_MANGLE.
25612         (__vdso_clock_gettime): Likewise.
25613         (__vdso_clock_getres): Likewise.
25614         (_libc_vdso_platform_setup): Likewise.
25615         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25616         Likewise.
25617         (_libc_vdso_platform_setup): Likewise.
25618         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25619         Likewise.
25620         (__vdso_clock_gettime): Likewise.
25621         (__vdso_clock_getres): Likewise.
25622         (__vdso_get_tbfreq): Likewise.
25623         (__vdso_getcpu): Likewise.
25624         (__vdso_time): Likewise.
25625         (__vdso_sigtramp_rt64): Likewise.
25626         (__vdso_signtramp32): Likewise.
25627         (__vdso_sigtramp_rt32): Likewise.
25628         (_libc_vdso_platform_setup): Likewise.
25629         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25630         Likewise.
25631         (__vdso_clock_gettime): Likewise.
25632         (__vdso_clock_getres): Likewise.
25633         (_libc_vdso_platform_setup): Likewise.
25634         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25635         Likewise.
25636         (__vdso_clock_gettime): Likewise.
25637         (_libc_vdso_platform_setup): Likewise.
25638         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25639         Likewise.
25640         (__vdso_getcpu): Likewise.
25641         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25642         Use VDSO_SYMBOL macro to define.
25643         (__vdso_clock_gettime): Likewise.
25644         (__vdso_clock_getres): Likewise.
25645         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25646         Likewise.
25647         (__vdso_clock_gettime): Likewise.
25648         (__vdso_clock_getres): Likewise.
25649         (__vdso_get_tbfreq): Likewise.
25650         (__vdso_getcpu): Likewise.
25651         (__vdso_time): Likewise.
25652         (__vdso_sigtramp_rt64): Likewise.
25653         (__vdso_signtramp32): Likewise.
25654         (__vdso_sigtramp_rt32): Likewise.
25655         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25656         Likewise.
25657         (__vdso_clock_gettime): Likewise.
25658         (__vdso_clock_getres): Likewise.
25659         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25660         Likewise.
25661         (__vdso_clock_gettime): Likewise.
25662         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25663         Likewise.
25664         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
25665         macro.
25666         (INTERNAL_VSYSCALL): Likewise.
25667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25668         Remove macro.
25669         (INTERNAL_VSYSCALL): Likewise.
25670         (INTERNAL_VSYSCALL_NCS): Likewise.
25671         (INTERNAL_VSYSCALL_CALL): New macro.
25672         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25673         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25674         Likewise.
25675         (INTERNAL_VSYSCALL): Likewise.
25676         (INTERNAL_VSYSCALL_NCS): Likewise.
25677         (INTERNAL_VSYSCALL_CALL): New macro.
25678         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25680         (INLINE_VSYSCALL): Remove macro.
25681         (INTERNAL_VSYSCALL): Remove macro.
25682         (INTERNAL_VSYSCALL_NCS): Remove macro.
25683         (INTERNAL_VSYSCALL_CALL): New macro.
25684         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25685         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25686         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25687         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25688         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25690         (INLINE_VSYSCALL): Remove macro.
25691         (INTERNAL_VSYSCALL): Likewise.
25692         (INTERNAL_VSYSCALL_NCS): Likewise.
25693         (INTERNAL_VSYSCALL_CALL): New macro.
25694         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25695         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25696         PTR_DEMANGLE on vDSO pointer.
25697         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25698         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25699         macro.
25700         (INTERNAL_SYSCALL): Likewise.
25701         (INTERNAL_VSYSCALL_NCS): Remove macro.
25702         (INTERNAL_VSYSCALL_CALL): New macro.
25703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25704         Remove macro.
25705         (INTERNAL_VSYSCALL): Likewise.
25706         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25707         sysdep-vdso.h instead of libc-vdso.h.
25708         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25709         definition.
25710         (INLINE_VSYSCALL): Likewise.
25711         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25712         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25713         definition.
25714         (INLINE_VSYSCALL): Likewise.
25715         (INTERNAL_VSYSCALL): Likewise.
25716         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25717         * sysdeps/unix/sysv/linux/timespec_get.c
25718         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25719         (timespec_get): Use ANSI prototype.
25720         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25721         and definition for Linux.
25723 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25725         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25726         * include/libc-symbols.h: libmvec_hidden_* macro series added.
25728 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25730         [BZ #2981]
25731         [BZ #18410]
25732         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25733         for missing DT_PLTRELSZ.
25735 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25737         Remove obsolete aliases that broke 'locale -a'
25738         [BZ #18412]
25739         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25740         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25741         breaking some applications that use 'locale -a' output.
25742         Change the encoding of this file from Latin-1 to ASCII to avoid
25743         other potential problems with people grepping this file.
25745 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25747         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25748         -fasynchronous-unwind-tables.
25749         (CFLAGS-sendto.c): Likewise.
25750         (CFLAGS-sendmsg.c): Likewise.
25751         (CFLAGS-connect.c): Likewise.
25752         (CFLAGS-recvmsg.c): Likewise.
25753         (CFLAGS-recvfrom.c): Likewise.
25754         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25755         (SOCKETCALL): New macro: non-cancellable socketcall.
25756         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25757         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25758         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25759         * sysdeps/unix/sysv/linux/accept.c: New file.
25760         * sysdeps/unix/sysv/linux/bind.c: Likewise.
25761         * sysdeps/unix/sysv/linux/connect.c: Likewise.
25762         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25763         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25764         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25765         * sysdeps/unix/sysv/linux/listen.c: Likewise.
25766         * sysdeps/unix/sysv/linux/recv.c: Likewise.
25767         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25768         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25769         * sysdeps/unix/sysv/linux/send.c: Likewise.
25770         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25771         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25772         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25773         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25774         * sysdeps/unix/sysv/linux/socket.c: Likewise.
25775         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25776         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25777         prototype.
25778         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25779         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25780         instead of __internal_xxx function.
25781         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25782         prototype.
25783         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25784         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25785         instead of __internal_xxx function.
25786         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25787         prototype.
25788         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25789         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25790         instead of __internal_xxx function.
25791         * sysdeps/unix/sysv/linux/accept.S: Remove file.
25792         * sysdeps/unix/sysv/linux/bind.S: Likewise.
25793         * sysdeps/unix/sysv/linux/connect.S: Likewise.
25794         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25795         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25796         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25797         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25798         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25799         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25800         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25801         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25802         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25803         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25804         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25805         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25806         * sysdeps/unix/sysv/linux/listen.S: Likewise.
25807         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25808         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25809         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25810         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25813         * sysdeps/unix/sysv/linux/recv.S: Likewise.
25814         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25815         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25816         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25817         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25818         * sysdeps/unix/sysv/linux/send.S: Likewise.
25819         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25820         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25821         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25822         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25823         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25824         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25825         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25826         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25827         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25828         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25829         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25830         socketcall is implemented in GLIBC.
25832 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25834         * soft-fp/fmadf4.c: Include <libc-internal.h>.
25835         (__fma): Ignore uninitialized warnings around packing.
25836         * soft-fp/fmasf4.c: Include <libc-internal.h>.
25837         (__fmaf): Ignore uninitialized warnings around packing.
25838         * soft-fp/fmatf4.c: Include <libc-internal.h>.
25839         (__fmal): Ignore uninitialized warnings around packing.
25841         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25842         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25843         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25844         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25846         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25847         switch statement into default case.
25848         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25850         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25851         a conditional in forcing "inexact".
25852         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25853         Likewise.
25855 2015-05-22  Roland McGrath  <roland@hack.frob.com>
25857         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25858         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25859         for each INTERNAL_SYSCALL use.
25861 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25863         [BZ #438]
25864         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25865         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25866         variable.
25868         [BZ #18444]
25869         * string/basename.c (basename): Rename to __basename and define as
25870         weak alias of __basename.  Use libc_hidden_weak.
25871         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
25872         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
25873         __basename instead of basename.
25874         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
25875         Remove variable.
25876         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25878 2015-05-18  Florian Weimer  <fweimer@redhat.com>
25880         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
25881         (_IO_JUMPS_FILE_plus): New.
25882         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
25883         _IO_CAST_FIELD_ACCESS.
25884         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
25885         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
25886         * libio/freopen.c (freopen): Likewise.
25887         * libio/freopen64.c (freopen64): Likewise.
25888         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
25889         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
25890         * libio/iofwide.c (_IO_fwide): Likewise.
25891         * libio/memstream.c (open_memstream): Likewise.
25892         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25893         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25894         * libio/oldiopopen.c (_IO_old_popen): Likewise.
25896 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
25898         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
25899         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
25900         NADJ.
25901         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
25902         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
25903         NADJ.
25904         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
25905         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
25906         NADJ.
25908         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
25909         (p == 4) case.
25911         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
25912         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
25913         Remove variable.
25914         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25915         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25916         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25918 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25920         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
25921         Adjust jump table label generation macros.
25923 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25925         * stdio-common/vfprintf.c (vfprintf): Move local variables
25926         args_malloced, specs, specs_malloced, and the code after
25927         do_positional to the printf_positional function.
25928         (printf_positional): New function.
25930 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25932         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
25933         function.
25934         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
25935         STEP4_TABLE, process_arg): Move macro definitions
25936         out of the vfprintf function.  (Cosmetic change only.)
25938 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
25940         * benchtests/Makefile (stdio-common-bench): Define.
25941         (benchset): Add stdio-common-bench.
25942         * sprintf-inputs: New file.
25943         * sprintf-source.c: New file.
25945 2015-05-21  Andreas Schwab  <schwab@suse.de>
25947         [BZ #13028]
25948         [BZ #17053]
25949         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
25950         of struct __res_state.
25951         * resolv/res_send.c (__libc_res_nsend): Likewise.
25952         (get_nsaddr): New function.
25953         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
25954         statp directly.
25956 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
25958         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
25959         -D_POSIX_C_SOURCE=199506L.
25961         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
25963         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
25964         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
25965         Do not mention otherwise.
25966         [POSIX] (_XOPEN_VERSION): Do not expect.
25967         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
25968         [POSIX] (_POSIX2_C_BIND): Likewise.
25969         [POSIX] (_POSIX2_VERSION): Likewise.
25970         [POSIX] (_XOPEN_XPG2): Likewise.
25971         [POSIX] (_XOPEN_XPG3): Likewise.
25972         [POSIX] (_XOPEN_XPG4): Likewise.
25973         [POSIX] (_XOPEN_UNIX): Likewise.
25974         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
25975         [POSIX] (_POSIX_BARRIERS): Likewise.
25976         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
25977         [POSIX] (_POSIX_CPUTIME): Likewise.
25978         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
25979         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
25980         [POSIX] (_POSIX_SHELL): Likewise.
25981         [POSIX] (_POSIX_SPAWN): Likewise.
25982         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
25983         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
25984         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
25985         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
25986         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
25987         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
25988         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
25989         [POSIX] (_XBS5_LP64_OFF64): Likewise.
25990         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
25991         [POSIX] (_POSIX_TIMEOUTS): Likewise.
25992         [POSIX] (_POSIX2_PBS): Likewise.
25993         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
25994         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
25995         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
25996         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
25997         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
25998         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
25999         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26000         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26001         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26002         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26003         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26004         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26005         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26006         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26007         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26008         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26009         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26010         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26011         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26012         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26013         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26014         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26015         [POSIX] (_SC_2_C_BIND): Likewise.
26016         [POSIX] (_SC_2_C_VERSION): Likewise.
26017         [POSIX] (_SC_2_PBS): Likewise.
26018         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26019         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26020         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26021         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26022         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26023         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26024         [POSIX] (_SC_BARRIERS): Likewise.
26025         [POSIX] (_SC_BASE): Likewise.
26026         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26027         [POSIX] (_SC_DEVICE_IO): Likewise.
26028         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26029         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26030         [POSIX] (_SC_FD_MGMT): Likewise.
26031         [POSIX] (_SC_FIFO): Likewise.
26032         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26033         [POSIX] (_SC_FILE_LOCKING): Likewise.
26034         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26035         [POSIX] (_SC_IOV_MAX): Likewise.
26036         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26037         [POSIX] (_SC_NETWORKING): Likewise.
26038         [POSIX] (_SC_PAGE_SIZE): Likewise.
26039         [POSIX] (_SC_PASS_MAX): Likewise.
26040         [POSIX] (_SC_PIPE): Likewise.
26041         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26042         [POSIX] (_SC_REGEXP): Likewise.
26043         [POSIX] (_SC_SHELL): Likewise.
26044         [POSIX] (_SC_SIGNALS): Likewise.
26045         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26046         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26047         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26048         [POSIX] (_SC_USER_GROUPS): Likewise.
26049         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26050         [POSIX] (_SC_STREAMS): Likewise.
26051         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26052         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26053         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26054         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26055         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26056         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26057         [POSIX] (_PC_FILESIZEBITS): Likewise.
26058         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26059         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26060         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26061         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26062         [POSIX] (uid_t): Likewise.
26063         [POSIX] (gid_t): Likewise.
26064         [POSIX] (off_t): Likewise.
26065         [POSIX] (pid_t): Likewise.
26066         [POSIX] (cuserid): Allow.
26067         (_SC_2_CHAR_TERM): Require constant.
26068         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26069         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26070         variable.
26072 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26074         * sysdeps/nacl/pthread-pids.h: New file.
26075         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26076         (create_thread): Use __nacl_get_tid to initialize PD->tid.
26078         * nptl/pthread-pids.h: New file.
26079         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26080         * nptl/nptl-init.c: Include <pthread-pids.h>.
26081         (__pthread_initialize_minimal_internal):
26082         Call __pthread_initialize_pids instead of set_tid_address syscall.
26084         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26085         * sysdeps/posix/usleep.c: ... here.
26087 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26089         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26090         call_pselect6 object.
26091         [$(subdir) = io]: Remove call_sync_file_range object.
26092         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26093         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26094         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26095         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26097 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
26099         * math/s_cproj.c: Add include "math_private.h".
26100         * math/s_cprojf.c: Likewise.
26101         * math/s_cprojl.c: Likewise.
26103 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
26105         [BZ #18244]
26106         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26107         high mantissa bit when testing whether P is a NaN.
26108         * math/libm-test.inc (remainder_test_data): Add more tests.
26109         (remquo_test_data): Likewise.
26111         [BZ #18049]
26112         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26113         below -32, return the argument, with underflow if subnormal.
26114         * math/auto-libm-test-in: Add more tests of atanh.
26115         * math/auto-libm-test-out: Regenerated.
26117 2015-05-19  Roland McGrath  <roland@hack.frob.com>
26119         [BZ #18434]
26120         * nptl/tst-sem15.c: New file.
26121         * nptl/Makefile (tests): Add it.
26122         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26123         s/<</>>/ to fix typo in EOVERFLOW check.
26124         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26126 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26128         * manual/strings.texi (envz_remove): Fix typo in safety
26129         annotations.
26131 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
26132             Steve Ellcey  <sellcey@imgtec.com>
26134         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26135         in order to avoid strict alias warnings.
26136         (iruserok_af): Ditto for ra.
26138 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
26140         [BZ #17581]
26141         * malloc/hooks.c
26142         (magicbyte): Convert to a function and avoid returning 0x01.
26143         (mem2mem_check): Avoid using a length byte equal to the magic byte.
26144         (mem2chunk_check): Fix unsigned comparisons to zero.
26145         Hoist defs of sz and magic.
26147 2015-05-19  Richard Henderson  <rth@redhat.com>
26149         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26151         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26153 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26155         [BZ #16159]
26156         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26157         * malloc/arena.c (arena_lock): Check if arena is corrupt.
26158         (reused_arena): Find a non-corrupt arena.
26159         (heap_trim): Pass arena to unlink.
26160         * malloc/hooks.c (malloc_check_get_size): Pass arena to
26161         malloc_printerr.
26162         (top_check): Likewise.
26163         (free_check): Likewise.
26164         (realloc_check): Likewise.
26165         * malloc/malloc.c (malloc_printerr): Add arena argument.
26166         (unlink): Likewise.
26167         (munmap_chunk): Adjust.
26168         (ARENA_CORRUPTION_BIT): New macro.
26169         (arena_is_corrupt): Likewise.
26170         (set_arena_corrupt): Likewise.
26171         (sysmalloc): Use mmap if there are no usable arenas.
26172         (_int_malloc): Likewise.
26173         (__libc_malloc): Don't fail if arena_get returns NULL.
26174         (_mid_memalign): Likewise.
26175         (__libc_calloc): Likewise.
26176         (__libc_realloc): Adjust for additional argument to
26177         malloc_printerr.
26178         (_int_free): Likewise.
26179         (malloc_consolidate): Likewise.
26180         (_int_realloc): Likewise.
26181         (_int_memalign): Don't touch corrupt arenas.
26182         * malloc/tst-malloc-backtrace.c: New test case.
26184         * Makefile (summarize-tests): Fix return value on success.
26186         * manual/string.texi (Envz Functions): Add envz_remove.
26188 2015-05-18  Roland McGrath  <roland@hack.frob.com>
26190         * sysdeps/posix/opendir.c: Include <stdbool.h>.
26191         (invalid_name): New function, broken out of ...
26192         (__opendirat): ... here.  Call it.
26193         (need_isdir_precheck): New function, broken out of ...
26194         (__opendirat): ... here.  Call it.
26195         Use __fxstatat64, not __xstatat64.
26196         (opendir_oflags): New function, broken out of ...
26197         (__opendirat): ... here.  Call it.
26198         (opendir_tail): New function, broken out of ...
26199         (__opendirat): ... here.  Call it.
26200         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26201         opendir_tail, rather than punting to __opendirat.
26202         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26204 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26206         * .gitignore: Ignore generated *.pyc.
26208 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
26210         * include/stdio.h: Define __need_wint_t.
26211         * test-skeleton.c: Avoid `for' loop initial declaration.
26212         * nptl/tst-initializers1.c: Use test-skeleton.c.
26214 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26216         [BZ #18418]
26217         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26219 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26221         [BZ #16352]
26222         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26223         (__ieee754_atanh): Force underflow exception for results with
26224         small absolute value.
26225         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26226         (__ieee754_atanhf): Force underflow exception for results with
26227         small absolute value.
26228         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26229         (__ieee754_atanh): Force underflow exception for results with
26230         small absolute value.
26231         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26232         (__ieee754_atanhf): Force underflow exception for results with
26233         small absolute value.
26234         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26235         (__ieee754_atanhl): Force underflow exception for results with
26236         small absolute value.
26237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26238         (__ieee754_atanhl): Force underflow exception for results with
26239         small absolute value.
26240         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26241         (__ieee754_atanhl): Force underflow exception for results with
26242         small absolute value.
26243         * math/auto-libm-test-in: Do not allow missing underflow
26244         exceptions from atanh.
26245         * math/auto-libm-test-out: Regenerated.
26247         [BZ #18221]
26248         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26249         2**-28 as threshold for returning x or +/- 1/x.
26250         * math/auto-libm-test-in: Add more tests of tan.
26251         * math/auto-libm-test-out: Regenerated.
26253         [BZ #18220]
26254         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26255         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26256         * math/auto-libm-test-in: Add another test of lgamma.
26257         * math/auto-libm-test-out: Regenerated.
26259 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
26261         * stdio-common/printf_fp.c (___printf_fp): Use abs.
26262         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
26263         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26264         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26265         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
26266         (ADD2A): Use fabs.  (SUB2A): Use fabs.
26267         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26270         (log1): Use fabs.  (my_log2): Use fabs.
26271         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26272         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26273         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26274         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26275         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26276         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
26277         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
26278         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
26279         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
26280         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26281         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26283 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26285         [BZ #18217]
26286         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26287         as threshold for returning 1 - x.
26288         * math/auto-libm-test-in: Add more tests of erfc.
26289         * math/auto-libm-test-out: Regenerated.
26291 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
26293         [BZ #18196]
26294         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26295         threshold for large arguments.
26296         * math/auto-libm-test-in: Add another test of atan.
26297         * math/auto-libm-test-out: Regenerated.
26299         [BZ #16339]
26300         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26301         (__log1p): Force underflow exception for results with small
26302         absolute value.
26303         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26304         (__log1pf): Force underflow exception for results with small
26305         absolute value.
26306         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26307         (__log1p): Force underflow exception for results with small
26308         absolute value.
26309         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26310         (__log1pf): Force underflow exception for results with small
26311         absolute value.
26312         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26313         (__log1pl): Force underflow exception for results with small
26314         absolute value.
26315         * math/auto-libm-test-in: Do not allow missing underflow
26316         exceptions from log1p.
26317         * math/auto-libm-test-out: Regenerated.
26319 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
26320             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26322         [BZ #16704]
26323         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26325 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
26327         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26328         (libmvec): New variable.
26329         * configure.ac: Added option for mathvec build.
26330         * configure: Regenerated.
26331         * mathvec/Depend: New file.
26332         * mathvec/Makefile: New file.
26333         * shlib-versions: Added libmvec.
26334         * math/Makefile: Added rule for libm.so installation.
26336         * bits/math-vector.h: New file.
26337         * bits/libm-simd-decl-stubs.h: New header.
26338         * math/Makefile (headers): Added new header
26339         libm-simd-decl-stubs.h.
26340         * math/math.h (__MATHCALL_VEC): New macro.
26342         * math/gen-libm-have-vector-test.sh: Script generates series of macros
26343         for conditions in testing functions.
26344         * math/Makefile: Added call of libm-have-vector-test.sh.
26345         * math/libm-test.inc (HAVE_VECTOR): New macros.
26347         * math/libm-test.inc: START refactored.
26348         * math/test-double.c (TEST_MATHVEC): Add define.
26349         * math/test-float.c: Likewise.
26350         * math/test-idouble.c: Likewise.
26351         * math/test-ifloat.c: Likewise.
26352         * math/test-ildoubl.c: Likewise.
26353         * math/test-ldouble.c: Likewise.
26354         * sysdeps/generic/math-tests-arch.h
26355         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26356         architecture check.
26358         * math/test-double.c (FUNC_TEST): New macro.
26359         * math/test-float.c: Likewise.
26360         * math/test-idouble.c: Likewise.
26361         * math/test-ifloat.c: Likewise.
26362         * math/test-ildoubl.c: Likewise.
26363         * math/test-ldouble.c: Likewise.
26364         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26366 2015-05-13  Roland McGrath  <roland@hack.frob.com>
26368         * sysdeps/nacl/fdopendir.c: New file.
26370         * dirent/scandir-tail.c: New file.
26371         * dirent/scandir64-tail.c: New file.
26372         * dirent/Makefile (routines): Add them.
26373         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26374         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26375         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26376         [!SCANDIR] (SCANDIR_TAIL): New macro.
26377         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26378         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26379         (SCANDIRAT): Macro removed.
26380         (SCANDIR_TAIL): New macro.
26381         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26382         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26383         (SCANDIRAT): Just call __opendirat and __scandir_tail.
26384         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26385         (READDIR): Macro removed.
26386         (SCANDIR_TAIL): New macro.
26387         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26388         (SCANDIR_TAIL): New macro.
26390         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26391         * dirent/scandir-cancel.c: ... to this new file.
26392         * dirent/Makefile (routines): Add it.
26393         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26394         * sysdeps/unix/sysv/linux/i386/scandir64.c
26395         (SKIP_SCANDIR_CANCEL): Macro removed.
26396         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26398         * dirent/tst-scandir.c: New file.
26399         * dirent/tst-scandir64.c: New file.
26400         * dirent/Makefile (tests): Add them.
26402 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
26404         [BZ #18409]
26405         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26407 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26409         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26410         list.
26412 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
26414         * benchtests/bench-strcoll.c: New benchmark.
26415         * benchtests/Makefile: Generate locales and run benchmark.
26416         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26417         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26418         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26419         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26420         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26421         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26422         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26423         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26424         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26425         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26426         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26427         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26428         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26429         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26430         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26431         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26432         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26433         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26434         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26435         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26436         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26437         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26438         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26439         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26441 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
26443         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26444         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26446 2015-05-12  Roland McGrath  <roland@hack.frob.com>
26448         * posix/uname-values.h: New file.
26449         * posix/uname.c: Include that instead of <config-name.h>.
26450         * sysdeps/nacl/uname-values.h: New file.
26451         * sysdeps/arm/nacl/uname-values.h: New file.
26453 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
26455         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26456         splitting into fields.
26458 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
26460         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26461         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26462         * locale/localeinfo.h: Add enum collation_encoding_type.
26463         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26464         * programs/ld-collate.c (collate_output): Add encoding type info.
26465         * string/strcoll_l.c (STRDIFF): New function.
26466         * (STRCOLL): Use STRDIFF to skip over equal prefix.
26467         * wcsmbs/wcscoll_l.c: Define STRDIFF.
26469 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
26471         [BZ #18397]
26472         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26473         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
26474         <fpu_control.h> instead of <math/fpu_control.c>.
26475         * sysdeps/mips/mips32/fpu/Makefile: New file.
26477 2015-05-11  Andreas Schwab  <schwab@suse.de>
26479         [BZ #18007]
26480         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26481         nss_endgrent.
26482         (_nss_compat_endgrent): Call nss_endgrent.
26483         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26484         nss_endpwent.
26485         (_nss_compat_endpwent): Call nss_endpwent.
26486         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26487         needent, call nss_setspent only if non-zero.
26488         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26489         (internal_endspent): Don't call nss_endspent.
26490         (_nss_compat_endspent): Call nss_endspent.
26491         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26492         Remove.  All uses removed.
26493         (internal_setent): Remove parameter stayopen, add parameter
26494         stream.  Use it instead of global variable.
26495         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26496         (internal_endent, internal_getent): Add parameter stream.  Use it
26497         instead of global variable.
26498         (CONCAT(_nss_files_end,ENTNAME))
26499         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26500         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
26501         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
26502         uses removed.
26503         (internal_setent, internal_endent): Add parameter stream.  Use it
26504         instead of global variable.
26505         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26506         stream.
26507         (get_next_alias): Add parameter stream.
26508         (_nss_files_getaliasent_r): Pass global stream.
26509         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
26510         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26511         (_nss_files_gethostbyname4_r): Pass local stream to
26512         internal_setent, internal_getent and internal_endent.  Remove
26513         locking.
26515 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26517         * tst-strfmon1.c (tests): Update expected currency symbol.
26519 2015-05-08  Roland McGrath  <roland@hack.frob.com>
26521         * sysdeps/nacl/gethostname.c: New file.
26523 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
26525         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26526         and sinh.
26527         * math/auto-libm-test-out: Regenerated.
26528         * sysdeps/i386/fpu/libm-test-ulps: Update.
26529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26531 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
26533         [BZ #18125]
26534         * stdlib/tst-setcontext3.c: New file.
26535         * stdlib/tst-setcontext3.sh: New file.
26536         * stdlib/Makefile (tests): Add tst-setcontext3.
26537         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26538         to verify test program created output file.
26539         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26540         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26541         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26542         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26544 2015-05-06  Roland McGrath  <roland@hack.frob.com>
26546         [BZ #18383]
26547         * elf/tst-tlsalign.c: New file.
26548         * elf/tst-tlsalign-static.c: New file.
26549         * elf/tst-tlsalign-lib.c: New file.
26550         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26551         (tests-static): Add tst-tlsalign-static.
26552         (modules-names): Add tst-tlsalign-lib.
26553         (test-xfail-tst-tlsalign): New variable.
26554         (test-xfail-tst-tlsalign-static): New variable.
26556         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26557         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26559 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
26561         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26562         csqrt, erfc, sin and sincos.
26563         * math/auto-libm-test-out: Regenerated.
26564         * sysdeps/i386/fpu/libm-test-ulps: Update.
26565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26567 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26569         * sysdeps/aarch64/libm-test-ulps: Update.
26571 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
26573         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26574         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26575         * math/auto-libm-test-out: Regenerated.
26576         * sysdeps/i386/fpu/libm-test-ulps: Update.
26577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26579 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26581         [BZ #18265]
26582         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26583         (wcsncpy): Likewise.
26585 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26587         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26588         Assume __ASSUME_FALLOCATE is always true.
26589         * sysdeps/unix/sysv/linux/posix_fallocate64.c
26590         (__posix_fallocate64_l64): Likewise.
26591         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26592         (posix_fallocate): Likewise.
26593         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26594         (__posix_fallocate64_l64): Likewise.
26595         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26596         [!__ASSUME_FALLOCATE]: Add comment.
26598 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26600         * sysdeps/unix/sysv/linux/i386/Makefile
26601         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26602         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26603         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26604         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26605         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26606         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26607         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26609 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
26611         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26612         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26613         tgamma.
26614         * math/auto-libm-test-out: Regenerated.
26615         * sysdeps/i386/fpu/libm-test-ulps: Update.
26616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26618 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26620         * math/auto-libm-test-in: Add more tests of tgamma.
26621         * math/auto-libm-test-out: Regenerated.
26622         * sysdeps/i386/fpu/libm-test-ulps: Update.
26623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26625         * math/auto-libm-test-in: Add more tests of tanh.
26626         * math/auto-libm-test-out: Regenerated.
26627         * sysdeps/i386/fpu/libm-test-ulps: Update.
26628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26630         * math/auto-libm-test-in: Add more tests of tan.
26631         * math/auto-libm-test-out: Regenerated.
26632         * sysdeps/i386/fpu/libm-test-ulps: Update.
26633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26635         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26636         * math/auto-libm-test-out: Regenerated.
26637         * sysdeps/i386/fpu/libm-test-ulps: Update.
26638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26640         * math/auto-libm-test-in: Add another test of pow.
26641         * math/auto-libm-test-out: Regenerated.
26642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26644         * math/auto-libm-test-in: Add more tests of lgamma.
26645         * math/auto-libm-test-out: Regenerated.
26646         * sysdeps/i386/fpu/libm-test-ulps: Update.
26647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26649         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26650         log1p.
26651         * math/auto-libm-test-out: Regenerated.
26652         * sysdeps/i386/fpu/libm-test-ulps: Update.
26653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26655 2015-05-01  Mark Wielaard  <mjw@redhat.com>
26657         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26658         Elf64_Chdr structs and ELFCOMPRESS constants.
26660 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26662         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26663         expm1.
26664         * math/auto-libm-test-out: Regenerated.
26665         * sysdeps/i386/fpu/libm-test-ulps: Update.
26666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26668         * math/auto-libm-test-in: Add more tests of erf and erfc.
26669         * math/auto-libm-test-out: Regenerated.
26670         * sysdeps/i386/fpu/libm-test-ulps: Update.
26671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26673 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26675         * config.h.in (HAVE_AARCH64_BE): Add.
26677 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
26679         * math/auto-libm-test-in: Add more tests of csqrt.
26680         * math/auto-libm-test-out: Regenerated.
26681         * sysdeps/i386/fpu/libm-test-ulps: Update.
26682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26684         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26685         * math/auto-libm-test-out: Regenerated.
26686         * sysdeps/i386/fpu/libm-test-ulps: Update.
26687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26689         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26691 2015-04-29  Roland McGrath  <roland@hack.frob.com>
26693         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26694         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26696         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26697         (euidaccess, eaccess): Define as weak aliases.
26699         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26700         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
26701         but __suseconds_t is often 'long int' so some sources assume that
26702         type is being used (e.g. they use %ld to print tv_usec).
26704 2015-04-29  Florian Weimer  <fweimer@redhat.com>
26706         [BZ #18007]
26707         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26708         (CVE-2014-8121)
26709         * nss/tst-nss-getpwent.c: New file.
26710         * nss/Makefile (tests): Add new test.
26712 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
26714         [BZ #18346]
26715         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26716         exponents less than 48 as cases where high part of mantissa needs
26717         examining to determine whether argument is integral.
26718         * math/libm-test.inc (round_test_data): Add more tests.
26720 2015-04-28  Mark Wielaard  <mjw@redhat.com>
26722         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26724 2015-04-27  David S. Miller  <davem@davemloft.net>
26726         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26727         __tls_get_addr.
26728         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26730 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
26732         [BZ#18333]
26733         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26735 2015-04-27  Florian Weimer  <fweimer@redhat.com>
26737         [BZ#18333]
26738         * time/tzset.c (parse_tzname): Return error on memory allocation
26739         failure.
26740         * test-skeleton.c (struct temp_name_list): Change type of name
26741         member to non-const.
26742         (add_temp_file): Create a copy of the file name.
26743         (delete_temp_files): Deallocate memory.
26744         (create_temp_file): Add comment.
26746 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26748         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26749         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26751 2015-04-24  Roland McGrath  <roland@hack.frob.com>
26753         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26754         * sysdeps/arm/configure: Regenerated.
26756 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26758         [BZ #17715]
26759         * time/tzfile.c (__tzfile_read): Check for large values of
26760         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
26761         * time/tzset.c (__tzstring_len): New function, based on the old
26762         __tzstring function.
26763         (__tzstring): Call __tzstring_len.
26764         (parse_tzname): New helper function extracted from
26765         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
26766         the input string.
26767         (parse_offset): New helper function extracted from
26768         __tzset_parse_tz.  Replace switch with fallthrough with
26769         initialization before sscanf.
26770         (parse_rule): Likewise.
26771         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
26772         new-style function definition.
26773         * timezone/Makefile (tests): Add tst-tzset.
26774         (tst-tzset.out): Dependencies on time zone files.
26775         (tst-tzset-ENV): Set TZDIR.
26776         (testdata/XT%): Copy crafted time zone files.
26777         * timezone/README: Mention crafted time zone files.
26778         * timezone/testdata/XT1, timezone/testdata/XT2,
26779         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26780         files.
26781         * timezone/tst-tzset.c: New test.
26783 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26785         * Makeconfig (+gccwarn): Remove -Winline.
26787 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26789         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26791 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26793         * NEWS: Mention sysconf() cache information support for s390.
26794         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26796 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
26798         * math/k_casinh.c (__kernel_casinh): Use __copysign.
26799         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26800         (__nearbyint): Likewise.
26801         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26802         (copysignl): Likewise.
26804 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
26806         [BZ #18287]
26807         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26808         based on padding.  (CVE-2015-1781)
26810 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26812         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26813         libc-vdso.h.
26814         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26815         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26816         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26817         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26818         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26819         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26820         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26821         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26822         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26823         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26824         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26825         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26826         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26827         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26828         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26829         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26830         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26831         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26832         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26833         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26834         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26835         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26836         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26838 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
26840         * stdlib/setenv.c (__add_to_environ):
26841         Dump core quickly if setenv (..., NULL, ...) is called.
26842         This time, do it the right way, and pacify GCC with a pragma.
26844 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26846         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26847         IMAP->l_prev cannot be null, and #if out the code for the contrary
26848         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26849         believe that NS (&_dl_ns[NSID]) could point outside the array.
26851         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26852         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26853         before using NSID as an index.
26855 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
26857         [BZ #17825]
26858         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26859         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26860         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26862 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26864         Add preliminary port to Google Native Client on ARM.
26865         * abi-tags (.*-.*-nacl.*): New entry.
26866         * sysdeps/arm/nacl: New directory.
26867         * sysdeps/nacl: New directory.
26869 2015-04-16  David S. Miller  <davem@davemloft.net>
26871         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
26872         lowlevellock-futex.h
26874 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
26876         * sysdeps/tile/configure.ac: New file.
26877         * sysdeps/tile/configure: Regenerated.
26879 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26881         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
26882         conditionals for weak_alias and libc_hidden_weak.
26883         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
26884         libc_hidden_weak and weak_alias.
26885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
26886         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
26887         and weak_alias for static one.
26889 2015-04-15  David S. Miller  <davem@davemloft.net>
26891         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26893 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26895         [BZ #18206]
26896         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
26897           Use signed comparision instead of substraction to avoid
26898           overflow bug.
26899         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
26900           Take the sign of ret.
26901         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
26902           Do not expect precise return values. Only the sign matters.
26903         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
26904         * wcsmbs/test-wcsncmp.c: New File.
26905         * string/test-strncmp.c: Add wcsncmp support.
26907 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26909         [BZ #6792]
26910         * math/w_log1p.c: New file.
26911         * math/w_log1pf.c: Likewise.
26912         * math/w_log1pl.c: Likewise.
26913         * math/Makefile (libm-calls): Add w_log1p.
26914         * math/s_log1pl.c (log1pl): Remove weak_alias.
26915         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
26916         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
26917         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
26918         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
26919         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
26920         [NO_LONG_DOUBLE] (log1pl): Likewise.
26921         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
26922         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
26923         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
26924         (log1p): Remove long_double_symbol.
26925         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
26926         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
26927         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
26928         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
26929         remove weak_alias for corresponding log1p function.
26930         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
26931         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
26932         * sysdeps/ia64/fpu/w_log1p.c: New file.
26933         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
26934         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
26935         * math/libm-test.inc (log1p_test_data): Add errno expectations.
26937 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
26939         [BZ #18247]
26940         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
26941         decimal exponent by 1.
26942         * stdlib/tst-strtod-round-data: Add more tests.
26943         * stdlib/tst-strtod-round.c (tests): Regenerated.
26945 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
26947         * math/auto-libm-test-in: Add more tests of clog and clog10.
26948         * math/auto-libm-test-out: Regenerated.
26949         * sysdeps/i386/fpu/libm-test-ulps: Update.
26950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26952 2015-04-09  Roland McGrath  <roland@hack.frob.com>
26954         * Makeconfig (module-cppflags): Exclude all .v.i files.
26955         (skip-module-cppflags): Variable removed.
26957         * configure.ac (libc_config_ok): Initialize before reading
26958         preconfigure scripts, not after.
26959         * configure: Regenerated.
26961         * test-skeleton.c (TIMEOUT): Move #define to top level.
26962         (main): Grok environment variable TEST_DIRECT.  If set, print
26963         test expectation details into that file and then behave as if
26964         given --direct.
26966 2015-04-09  Florian Weimer  <fweimer@redhat.com>
26968         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
26969         warning on 32-bit.
26971 2015-04-08  David S. Miller  <davem@davemloft.net>
26973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26975 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
26977         * math/auto-libm-test-in: Add more tests of atanh.
26978         * math/auto-libm-test-out: Regenerated.
26979         * sysdeps/i386/fpu/libm-test-ulps: Update.
26980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26982         * math/auto-libm-test-in: Add more tests of atan.
26983         * math/auto-libm-test-out: Regenerated.
26984         * sysdeps/i386/fpu/libm-test-ulps: Update.
26985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26987 2015-04-08  Florian Weimer  <fweimer@redhat.com>
26989         * elf/pldd.c (main): Rewrite to use struct
26990         scratch_buffer instead of extend_alloca.
26991         * elf/pldd-xx.c (find_maps): Likewise.
26992         * grp/initgroups.c: Include <scratch_buffer.h> instead of
26993         <alloca.h>.
26994         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
26995         scratch_buffer instead of extend_alloca.
26996         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
26997         grp/compat-initgroups.c.
26998         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
26999         Rewrite to use struct scratch_buffer instead of extend_alloca.
27000         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27001         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27003 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27005         * math/auto-libm-test-in: Add more tests of cbrt.
27006         * math/auto-libm-test-out: Regenerated.
27007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27009         * math/auto-libm-test-in: Add more tests of cabs.
27010         * math/auto-libm-test-out: Regenerated.
27011         * sysdeps/i386/fpu/libm-test-ulps: Update.
27012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27014         [BZ #18210]
27015         [BZ #18211]
27016         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27017         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27018         computations.
27019         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27020         clog10.
27021         * math/auto-libm-test-out: Regenerated.
27022         * sysdeps/i386/fpu/libm-test-ulps: Update.
27023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27025         [BZ #18197]
27026         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27027         (atan): Set FE_TONEAREST mode for internal computations.
27028         * math/auto-libm-test-in: Add more tests of atan.
27029         * math/auto-libm-test-out: Regenerated.
27031 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27033         [BZ #17930]
27034         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27036 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27038         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27040 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27042         * include/scratch_buffer.h: New file.
27043         * malloc/scratch_buffer_grow.c: Likewise.
27044         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27045         * malloc/scratch_buffer_set_array_size.c: Likewise.
27046         * malloc/tst-scratch_buffer.c: Likewise.
27047         * malloc/Makefile (routines): Add scratch_buffer_grow.
27048         (tests): Add test case.
27049         * malloc/Versions (GLIBC_PRIVATE): Export
27050         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27051         __libc_scratch_buffer_set_array_size.
27053 2015-04-06  Richard Henderson  <rth@redhat.com>
27055         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27056         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27058         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27059         unsigned int before printing.
27061 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27063         [BZ #17596]
27064         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27065         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27067 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27069         * include/libc-internal.h (libc_max_align_t): Define.
27071 2015-04-02  Andreas Schwab  <schwab@suse.de>
27073         [BZ #16850]
27074         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27076 2015-04-02  Mel Gorman  <mgorman@suse.de>
27078         [BZ #17195]
27079         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27080         as well as the main arena.
27082 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27084         [BZ #18185]
27085         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27086         sharing L2 cache to 2 for Silvermont/Knights Landing.
27088 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27090         [BZ #17711]
27091         * config.make.in (have-protected-data): New.
27092         * configure.ac: Check linker support for protected data symbol.
27093         * configure: Regenerated.
27094         * elf/Makefile (modules-names): Add tst-protected1moda and
27095         tst-protected1modb if $(have-protected-data) is yes.
27096         (tests): Add tst-protected1a and tst-protected1b if
27097         $(have-protected-data) is yes.
27098         ($(objpfx)tst-protected1a): New.
27099         ($(objpfx)tst-protected1b): Likewise.
27100         (tst-protected1modb.so-no-z-defs): Likewise.
27101         * elf/tst-protected1a.c: New file.
27102         * elf/tst-protected1b.c: Likewise.
27103         * elf/tst-protected1mod.h: Likewise.
27104         * elf/tst-protected1moda.c: Likewise.
27105         * elf/tst-protected1modb.c: Likewise.
27107 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27109         [BZ #17711]
27110         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27111         indicates it is called from do_lookup_x on relocation against
27112         protected data, skip the data definion in the executable from
27113         copy reloc.
27114         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27115         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27116         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27117         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27118         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27119         otherwise to 0.
27120         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27121         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27122         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27123         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27124         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27125         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27127 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
27129         * sysdeps/nptl/pthread.h: Remove duplicate definition of
27130         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27132 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
27134         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27135         THREAD_SETMEM_NC.
27136         * sysdeps/x86_64/nptl/tls.h: Ditto.
27138 2015-03-27  Roland McGrath  <roland@hack.frob.com>
27140         * dlfcn/tststatic.c (main): Converted to ...
27141         (do_test): ... this.
27142         (TEST_FUNCTION): New macro.
27143         Include test-skeleton.c.
27145 2015-03-26  Alan Modra  <amodra@gmail.com>
27147         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27148         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
27149         zero for undefined weak.
27150         (elf_machine_plt_conflict): Similarly.
27152 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27154         * math/auto-libm-test-in: Add more tests of acosh, asinh and
27155         atanh.
27156         * math/auto-libm-test-out: Regenerated.
27157         * sysdeps/i386/fpu/libm-test-ulps: Update.
27158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27160         * math/auto-libm-test-in: Add another test of asin.
27161         * math/auto-libm-test-out: Regenerated.
27162         * sysdeps/i386/fpu/libm-test-ulps: Update.
27163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27165         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27166         Remove macro.
27167         (LLL_EBX_REG): Likewise.
27168         (LLL_ENTER_KERNEL): Likewise.
27170         * math/auto-libm-test-in: Add more tests of asin.
27171         * math/auto-libm-test-out: Regenerated.
27172         * sysdeps/i386/fpu/libm-test-ulps: Update.
27173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27175         [BZ #18138]
27176         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27177         libc_do_syscall_args): New structure.
27178         (INTERNAL_SYSCALL_MAIN_0): New macro.
27179         (INTERNAL_SYSCALL_MAIN_1): Likewise.
27180         (INTERNAL_SYSCALL_MAIN_2): Likewise.
27181         (INTERNAL_SYSCALL_MAIN_3): Likewise.
27182         (INTERNAL_SYSCALL_MAIN_4): Likewise.
27183         (INTERNAL_SYSCALL_MAIN_5): Likewise.
27184         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
27185         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27186         Replace conditional definitions by conditional definitions of ....
27187         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
27188         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27189         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27190         (libpthread-sysdep_routines): Add libc-do-syscall.
27191         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27192         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27193         to __NR_futex not 240.
27195 2015-03-25  Alan Modra  <amodra@gmail.com>
27197         * NEWS: Advertise TLS optimization.
27198         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27199         (DT_PPC_NUM): Increment.
27200         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27201         (CHECK_STATIC_TLS): Use here.
27202         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27203         TLS descriptors.
27204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27205         * sysdeps/powerpc/dl-tls.c: New file.
27206         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27207         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27208         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27209         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27214 2015-03-25  Alan Modra  <amodra@gmail.com>
27216         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27217         for overlapping .opd entries" to "support...".
27218         * sysdeps/powerpc/powerpc64/configure: Regenerate
27220 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27222         * math/auto-libm-test-in: Add more tests of acos.
27223         * math/auto-libm-test-out: Regenerated.
27224         * sysdeps/i386/fpu/libm-test-ulps: Update.
27225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27227         * math/auto-libm-test-in: Add more tests of expm1.
27228         * math/auto-libm-test-out: Regenerated.
27229         * sysdeps/i386/fpu/libm-test-ulps: Update.
27230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27232 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
27234         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27235         * math/auto-libm-test-out: Regenerated.
27236         * sysdeps/i386/fpu/libm-test-ulps: Update.
27237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27239         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27242         * math/auto-libm-test-in: Add more tests of log2.
27243         * math/auto-libm-test-out: Regenerated.
27244         * sysdeps/i386/fpu/libm-test-ulps: Update.
27245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27247 2015-03-23  Roland McGrath  <roland@hack.frob.com>
27249         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27250         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
27251         _IO_IS_APPENDING bit in READ_WRITE instead.
27253 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27255         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27256         (__determine_cpumask_size): Replace extend_alloca with a
27257         variable-length array.  Do not treat res == 0 as an error.
27259 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27261         [BZ #18100]
27262         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27263         and integer overflow.
27264         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27265         (main): Add integer overflow tests.
27266         * manual/pattern.texi (Calling Wordexp): Document additional use
27267         for WRDE_SYNTAX.
27269 2015-03-23  Alan Modra  <amodra@gmail.com>
27271         * config.h.in: Remove HAVE_ASM_PPC_REL16.
27272         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27273         and false branch of conditional.
27274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27275         Likewise.
27277 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
27279         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27280         libc-modules.h
27281         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27282         unused declaration of _hurd_intr_rpc_msg_in_trap.
27283         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27284         defined instead of whether it is non-zero.
27285         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27286         input constraint instead of both input and output constraint.  Use ecx
27287         clobber instead of %ecx.
27288         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27289         mutex_unlock): Use a statement expression instead of an expression list.
27290         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27291         type to vm_size_t instead of vm_address_t.
27292         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27293         defined instead of whether it is non-zero.
27294         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27295         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27296         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27297         comparisons with mapaddr.
27298         * nscd/nscd-client.h: Include <time.h>.
27299         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27300         9th parameter to __vm_region instead of int.
27301         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27302         * scripts/check-local-headers.sh (exclude): Add device/,
27303         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27304         cthreads.h.
27306 2015-03-19  Roland McGrath  <roland@hack.frob.com>
27308         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27309         to account for alignment padding.
27310         * sysdeps/arm/memmove.S: Likewise.
27312 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
27314         * sysdeps/unix/sysv/linux/generic/README: New file.
27316 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
27318         [BZ #18138]
27319         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27320         (futex_abstimed_wait)
27321         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27322         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27323         of lll_futex_timed_wait.
27325 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
27327         [BZ #17542]
27328         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27330 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
27332         [BZ #17090]
27333         [BZ #17620]
27334         [BZ #17621]
27335         [BZ #17628]
27336         * NEWS: Update.
27337         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27338         entries with Static TLS too.  Skip entries past the end of the
27339         allocated DTV, from Alan Modra.
27340         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
27341         Static TLS DTV entry set up from...
27342         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27343         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27344         * nptl/allocatestack.c (init_one_static_tls): ... and here...
27345         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27346         for Static TLS.
27347         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
27348         that the slot we find is associated with the given map before
27349         using its generation count.
27350         * nptl_db/db_info.c: Include ldsodefs.h.
27351         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27352         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27353         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27354         (link_map::l_tls_offset): New struct field.
27355         (dtv_t::counter): Likewise.
27356         (rtld_global): New struct.
27357         (_rtld_global): New rtld variable.
27358         (dl_tls_dtv_slotinfo_list): New rtld global field.
27359         (dtv_slotinfo_list): New struct.
27360         (dtv_slotinfo): Likewise.
27361         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27362         (td_lookup): Rename to...
27363         (td_mod_lookup): ... this.  Use new mod parameter instead of
27364         LIBPTHREAD_SO.
27365         * nptl_db/td_thr_tlsbase.c: Include link.h.
27366         (dtv_slotinfo_list, dtv_slotinfo): New functions.
27367         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
27368         addresses even if the DTV is out of date or missing them.
27369         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27370         index zero-length arrays.
27371         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27372         (td_lookup): Make it a macro implemented in terms of...
27373         (td_mod_lookup): ... this declaration.
27374         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27375         (DB_MAIN_VARIABLE): Likewise.
27377 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27379         [BZ #18134]
27380         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27382 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
27384         * stdlib/setenv.c (__add_to_environ): Revert previous change.
27386 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
27388         [BZ #18128]
27389         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27390         (atomic_add, atomic_increment_and_test)
27391         (atomic_decrement_and_test): Fix 64-bit arithmetic.
27393 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
27395         * stdlib/setenv.c (__add_to_environ):
27396         Dump core quickly if setenv (..., NULL, ...) is called.
27398 2015-03-13  Roland McGrath  <roland@hack.frob.com>
27400         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27401         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27402         all the necessary asm magic in one place.
27403         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27404         using those.
27406 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
27408         [BZ #14906]
27409         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27410         traced file mtime. Use consistent log message.
27411         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27412         (register_traced_file): Call install_watches. Always set mtime.
27413         (invalidate_cache): Iterate over all trace files. Call install_watches.
27414         (inotify_check_files): Don't inline. Handle watching parent
27415         directories and configuration file movement in and out.
27416         (handle_inotify_events): New function.
27417         (main_loop_poll): Call handle_inotify_events.
27418         (main_loop_epoll): Likewise.
27419         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27420         (struct traced_file): Use array of inotify fds. Add parent directory,
27421         and basename.
27422         (struct database_dyn): Remove unused file_mtime.
27423         (init_traced_file): New inline function.
27424         (define_traced_file): New macro.
27425         * nss/nss_db/db-init.c: Use define_traced_file.
27426         (_nss_db_init): Use init_traced_file.
27427         * nss/nss_files/files-init.c: Use define_traced_file.
27428         (_nss_files_init): Use init_traced_file.
27430 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
27432         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27433         [_LIBC]: Do not include <stdlib.h>.
27434         [!_LIBC] (abort): Remove declaration.
27435         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27436         _FP_STATIC_ASSERT instead of conditionally calling abort.
27437         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27438         (_FP_EXTEND_CNAN): Likewise.
27439         (FP_TRUNC): Likewise.
27440         (__FP_CLZ): Likewise.
27441         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27443 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
27445         * manual/string.texi (XPG basename): Fix prototype.
27447 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27449         [BZ #18080]
27450         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27451         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27452         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27453         (__setcontext): Likewise.
27454         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27455         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27456         Call rt_sigprocmask syscall one time to set new signal mask
27457         and retrieve the current signal mask instead of two calls.
27458         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27459         (__swapcontext): Likewise.
27460         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27461         * stdlib/tst-setcontext2.c: New file.
27463 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27465         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27467 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
27469         [BZ #18093]
27470         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27471         the wrong size.
27473 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27475         [BZ #18043]
27476         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27478 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27480         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27481         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27482         Remove define.
27483         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27484         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27485         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27486         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27487         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27488         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27489         define.
27490         * nptl_db/td_symbol_list.c (td_lookup): Remove
27491         HAVE_ASM_GLOBAL_DOT_NAME code.
27492         * sysdeps/powerpc/powerpc64/configure.ac: Remove
27493         HAVE_ASM_GLOBAL_DOT_NAME check.
27494         * sysdeps/powerpc/powerpc64/configure: Regenerate.
27495         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27496         (DOT_LABEL): Remove define.
27497         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27498         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27499         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27500         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27501         (__TLS_GET_ADDR): Likewise.
27502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27503         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27505 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
27507         [BZ #18111]
27508         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27509         (_FPU_SETCW): Initialize cw from fpsr before storing.
27510         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27511         (fesetexceptflag): Rewrite using fpu_control.h.
27512         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27514 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
27516         [BZ #18110]
27517         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27518         asms.
27519         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27521 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
27523         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27524         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27525         abort.
27526         (_FP_FMA): Likewise.
27527         (_FP_DIV): Likewise.
27529 2015-03-10  Roland McGrath  <roland@hack.frob.com>
27531         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27532         with 0 in that case.
27533         * Makefile (summarize-tests): New canned sequence, factored out of
27534         commands for targets tests and xtests.  Display summary lines that
27535         don't start with PASS: or XFAIL: rather than ones that do start with
27536         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
27537         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27538         do start with ERROR: or FAIL:.
27539         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27540         (except for [$(build-shared) = yes]).
27541         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27542         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27543         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27544         * nptl/Makefile: Revert 2015-03-04 changes.
27545         [$(CXX) empty] (tests-unsupported): New variable.
27546         * debug/Makefile: Likewise.
27548         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27549         gnulib file.  Replace __attribute with __attribute__ throughout.
27551 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
27553         * sysdeps/hppa/fpu/libm-test-ulps: Update.
27555 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27557         [BZ #18104]
27558         * math/auto-libm-test-in: Add another test of pow.
27559         * math/auto-libm-test-out: Regenerated.
27561 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27563         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27564         $(config-cflags-nofma).
27566 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27568         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27569         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27570         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27571         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27572         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27573         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27574         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27575         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27576         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27577         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27578         Add comment on closing #endif.
27580 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27582         * posix/wordexp.c (CHAR_IN_SET): New macro.
27583         (parse_param): Use it.
27585 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27587         * sysdeps/powerpc/fpu/libm-test-ulps: update.
27589 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27591         [BZ #18043]
27592         * posix/wordexp.c (parse_param): Fix buffer overflow.
27593         * posix/wordexp-test.c (test_case): Add test case.
27595 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27597         [BZ #18042]
27598         * posix/wordexp.c (parse_backtick): Fix off-by-one.
27599         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27601 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27603         [BZ #18043]
27604         * posix/wordexp-test.c (test_case): Add test for BZ #18043
27605         (do_bz18043): Delete.
27606         (at_page_end): New.
27607         (testit): Refactor to have words at the edge of unreadable page.
27609 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27611         [BZ #16734]
27612         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27613         Cleanup read-only streams as well.
27614         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27616 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27618         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27619         <bits/libc-lockP.h>
27621 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
27623         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
27624         on [__KERNEL__].
27625         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27626         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27627         * soft-fp/op-common.h (_FP_DECL): Likewise.
27629 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
27631         * elf/ifuncdep2.c (global): Replace
27632         __attribute__((visibility("protected"))) with
27633         asm (".protected global").
27634         * elf/ifuncmod1.c (global): Likewise.
27635         * elf/ifuncmod5.c (global): Likewise.
27637 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
27639         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27640         <asm/sfp-machine.h> instead of <sfp-machine.h>.
27642 2015-03-06  Roland McGrath  <roland@hack.frob.com>
27644         * manual/install.texi (Configuring and compiling):
27645         Document test-wrapper-env-only.
27646         * INSTALL: Regenerated.
27648 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27650         [BZ #18043]
27651         * posix/wordexp.c (parse_param): Fix buffer overflow.
27652         * posix/wordexp-test.c (do_bz18043): Add test case.
27654 2015-03-06  Vincent Bernat  <vincent@bernat.im>
27656         * time/tst-strptime2.c (do_test): Ensure failing tests are
27657         reported correctly.
27658         * time/tst-strptime3.c (do_test): Likewise.
27660 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
27662         Fix aio_error thread-safety.
27663         * sysdeps/pthread/aio_error.c: New file
27664         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27665         synchronization.
27667 2015-03-06  Florian Weimer  <fweimer@redhat.com>
27669         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27670         (group_number, vfprintf): Use it.
27671         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27672         (JUMP, REF): Use it.
27673         (WORK_BUFFER_SIZE): New enum constant.
27674         (process_arg, vfprintf): Use it.
27676 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
27678         * manual/errno.texi (Error Messages): Complete example function
27679         by adding missing #define.
27680         (program_invocation_name): Add statement indicating GNU
27681         extension and reference which header file declares the variable.
27682         (program_invocation_short_name): Likewise.
27684 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
27686         * manual/errno.texi (Error Messages): Delete strerror ISO C89
27687         compatibility note.
27689 2015-03-05  Roland McGrath  <roland@hack.frob.com>
27691         * Makeconfig (test-wrapper-env-only): New variable.
27692         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27693         then use that with $(test-wrapper-env-only) rather than using
27694         $(test-wrapper-env) $(run-program-env) $($*-ENV).
27696 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27698         [BZ #18082]
27699         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27700         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27701         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27702         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27703         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27704         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27705         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27706         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27707         Likewise.
27708         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27709         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27710         Likewise.
27711         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27712         Likewise.
27713         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27714         Likewise.
27715         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27716         Likewise.
27717         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27718         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27719         Likewise.
27720         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27721         Likewise.
27722         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27723         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27725 2015-03-04  Roland McGrath  <roland@hack.frob.com>
27727         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27728         (ETH_ALEN): New macro.
27729         (struct ether_addr): Use it for length of ether_addr_octet.
27731         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27732         (setdb): Don't call __nss_configure_lookup for "rpc".
27733         (do_test): Don't call test_rpc.
27734         (output_rpcent, test_rpc): Functions moved ...
27735         * sunrpc/test-rpcent.c: ... to this new file.
27736         * sunrpc/Makefile (tests): Add it.
27738         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27739         __xpg_sigpause.
27740         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27741         * nptl/tst-signal6.c: Likewise.
27742         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27743         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27745         * configure.ac (libc_cv_cxx_link_ok): New check.
27746         Reset CXX to empty if it fails to link.
27747         * configure: Regenerated.
27748         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27749         bug-atexit3-lib only if $(CXX) is nonempty.
27750         * nptl/Makefile (tests): Likewise for tst-cancel24.
27751         (tests, tests-static): Likewise for tst-cancel24-static.
27752         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27753         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27754         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27755         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27757 2015-03-04  Andreas Schwab  <schwab@suse.de>
27759         [BZ #17631]
27760         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27761         for non-GCC compilers.
27762         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27763         Likewise.
27765 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27767         [BZ #17776]
27768         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27769         integer before bitwise and assembly operations.
27770         (feclearexcept): Likewise.
27771         * math/test-fenvinline.c: New file.
27772         * math/Makefile: Add test-fenvinline test.
27774 2015-03-03  Alan Modra  <amodra@gmail.com>
27776         [BZ #16512]
27777         * scripts/localplt.awk: Strip off symbol version.
27778         * NEWS: Mention bug fix.
27780 2015-03-02  Roland McGrath  <roland@hack.frob.com>
27782         * sysdeps/pthread/timer_routines.c
27783         (timer_free_list, thread_free_list, thread_active_list): Make static.
27785 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
27787         [BZ #17779]
27788         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27789         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27790         Undefine.
27791         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27792         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27793         Likewise.
27794         * sysdeps/unix/sysv/linux/sh/kernel-features.h
27795         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27796         Likewise.
27798 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27800         [BZ #18036]
27801         * posix/fnmatch_loop.c (END): Detect invalid pattern.
27802         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27804 2015-03-02  Andreas Schwab  <schwab@suse.de>
27806         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27807         variable name.
27809 2015-03-02  Florian Weimer  <fweimer@redhat.com>
27811         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27812         Return error status.
27814 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
27816         [BZ #15969]
27817         * locale/findlocale.c (_nl_find_locale): Introduce const
27818         version of loc_name and drop unsafe type casts.
27820 2015-02-27  Roland McGrath  <roland@hack.frob.com>
27822         * dlfcn/tststatic2.c (main): Converted to ...
27823         (do_test): ... this.
27824         (TEST_FUNCTION): New macro.
27825         Include test-skeleton.c.
27827 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
27829         [BZ #17711]
27830         * elf/Makefile (tests): Add vismain only if PIE is enabled.
27831         (tests-pie): Add vismain.
27832         (CFLAGS-vismain.c): New.
27833         * elf/vismain.c: Add comments for PIE requirement.
27835 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27837         [BZ #18046]
27838         [BZ #18047]
27839         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27840         0x1p-56L as threshold for just returning the argument.
27841         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27842         0x1p-32L as threshold for just returning the argument.
27843         * math/auto-libm-test-in: Add more tests of atanh.
27844         * math/auto-libm-test-out: Regenerated.
27845         * sysdeps/i386/fpu/libm-test-ulps: Update.
27846         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27848 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27850         * string/bcopy.c (bcopy): Call memmove for performance.
27852 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27854         * string/bzero.c (__bzero): Call memset for performance.
27856 2015-02-27  John David Anglin  <dave.anglin@bell.net>
27858         [BZ #18068]
27859         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27860         to 00100000.
27862 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27864         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27866 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27868         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27869         (__kernel_standard): Use CSTR macro when setting exc.name.
27870         * sysdeps/ieee754/Makefile [$(subdir) = math]
27871         (CFLAGS-k_standard.c): Remove variable.
27873         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
27874         setting p and q from "else if" to "else".
27875         (qzero): Likewise.
27876         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
27877         (qone): Likewise.
27878         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27879         (qzerof): Likewise.
27880         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
27881         (qonef): Likewise.
27882         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
27883         (qzero): Likewise.
27884         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
27885         (qone): Likewise.
27887         [BZ #18038]
27888         [BZ #18039]
27889         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
27890         return pi/2 for arguments below 0x1p-113L.
27891         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
27892         return pi/2 for arguments below 0x1p-106L.
27893         * math/auto-libm-test-in: Add more tests of acos.
27894         * math/auto-libm-test-out: Regenerated.
27896         [BZ #16351]
27897         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
27898         (MO): New macro.
27899         (__ieee754_asin): Force underflow exception for results with small
27900         absolute value.
27901         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
27902         (MO): New macro.
27903         (__ieee754_asinf): Force underflow exception for results with
27904         small absolute value.
27905         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
27906         (__ieee754_asin): Force underflow exception for results with small
27907         absolute value.
27908         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
27909         (__ieee754_asinf): Force underflow exception for results with
27910         small absolute value.
27911         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
27912         (__ieee754_asinl): Force underflow exception for results with
27913         small absolute value.
27914         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
27915         (__ieee754_asinl): Force underflow exception for results with
27916         small absolute value.
27917         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
27918         (__ieee754_asinl): Force underflow exception for results with
27919         small absolute value.
27920         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27921         Include <math.h>.
27922         * math/auto-libm-test-in: Do not mark underflow exceptions as
27923         possibly missing for bug 16351.
27924         * math/auto-libm-test-out: Regenerated.
27926         [BZ #18030]
27927         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
27928         of power of 2 down when low part has opposite sign.
27929         * math/libm-test.inc (logb_test_data): Add more tests.
27931 2015-02-26  Andreas Schwab  <schwab@suse.de>
27933         [BZ #18032]
27934         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
27935         over collating symbol inside a bracket expression.  Minor cleanup.
27936         * posix/tst-fnmatch3.c (do_test): Add test case.
27938 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27940         [BZ #18029]
27941         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
27942         Adjust exponent of power of 2 down when low part has opposite
27943         sign.
27944         * math/libm-test.inc (ilogb_test_data): Add more tests.
27946 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
27948         [BZ #15969]
27949         * locale/findlocale.c (_nl_find_locale): Fix constness error in
27950         the previous change.
27952         [BZ #15969]
27953         * locale/findlocale.c (_nl_find_locale): Retry archive search
27954         after alias expansion.
27956 2015-02-25  Roland McGrath  <roland@hack.frob.com>
27958         * iconv/tst-iconv3.c (main): Converted to ...
27959         (do_test): ... this.
27960         (TEST_FUNCTION): New macro.
27961         Include test-skeleton.c.
27963         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
27964         (convert): Make function static.
27965         (test_unalign): Likewise.  Add const to argument pointee types.
27966         (main): Replace with static function do_test.
27967         Print "Succeeded." only if RET is zero.
27968         (TEST_FUNCTION): New macro.
27969         Include test-skeleton.c.
27971         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
27972         returns a null pointer.
27974 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27976         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
27977         to __memcpy_ppc only for static builds.
27979 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
27981         [BZ #18020]
27982         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
27983         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
27984         * math/auto-libm-test-in: Add more tests of asinh.
27985         * math/auto-libm-test-out: Regenerated.
27986         * sysdeps/i386/fpu/libm-test-ulps: Update.
27987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27989 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
27991         [BZ #15850]
27992         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
27993         and ip6_mtuinfo definitions here.
27994         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
27995         in this define too.  Update comment.
27997 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
27999         * elf/sprof.c (load_shobj): Tweak error message to match others.
28001 2015-02-24  Kevin Easton  <kevin@guarana.org>
28003         [BZ #16145] (partial fix)
28004         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28005         to reduce lock contention.
28007 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28009         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28010         (struct timex): Update time comment.
28011         (ADJ_SETOFFSET): Define.
28013 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28015         [BZ #18019]
28016         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28017         2**56 not 2**28 as threshold for log (2x) formula.
28018         * math/auto-libm-test-in: Add more tests of acosh.
28019         * math/auto-libm-test-out: Regenerated.
28020         * sysdeps/i386/fpu/libm-test-ulps: Update.
28021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28023 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28025         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28026         parenthesis around the buf assignment.
28027         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28029 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28031         [BZ #16783]
28032         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28033         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28034         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28035         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28036         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28037         * math/libm-test.inc (scalb_test_data): Add more tests.
28039 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28041         [BZ #17916]
28042         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28043         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28045 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28047         [BZ #17523]
28048         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28049         * io/bits/fcntl2.h (open): Use it.
28050         (openat): Likewise.
28051         * io/open.c (__libc_open): Likewise.
28052         * io/open64.c (__libc_open64): Likewise.
28053         * io/open64_2.c (__open64_2): Likewise.
28054         * io/open_2.c (__open_2): Likewise.
28055         * io/openat.c (__openat): Likewise.
28056         * io/openat64.c (__openat64): Likewise.
28057         * io/openat64_2.c (__openat64_2): Likewise.
28058         * io/openat_2.c (__openat_2): Likewise.
28059         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28060         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28061         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28062         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28063         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28064         (__open_nocancel): Likewise.
28065         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28066         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28067         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28069 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28071         [BZ #14841]
28072         * resolv/gethnamaddr.c (getanswer): Skip logging if
28073         RES_USE_DNSSEC is set.
28074         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28076 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28078         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28080 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
28082         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28083         201304L, for Unicode 7.
28085 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28087         [BZ #17836]
28088         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28089         shared library.  Add gmon-start.os otherwise.
28090         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28091         $(objpfx)gmon-start.os if builing shared library.
28092         ($(objpfx)g$(static-start-installed-name)): Likewise.
28094 2015-02-23  Andreas Schwab  <schwab@suse.de>
28096         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28098 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28100         [BZ #17269]
28101         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28102         (enlarge_userbuf): Likewise.
28104 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
28106         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28107         * math/atest-exp.c (TIMEOUT): Adjust to 200.
28108         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28109         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28111 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
28113         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28114         expression inside statement expression.
28116 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28118         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28119         <sysdeps/nptl/lowlevellock.h> and remove macros and
28120         functions that are now defined there.
28121         (SYS_futex): Remove.
28122         (lll_compare_and_swap): Remove.
28123         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28125 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
28127         [BZ #17999]
28128         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28129         instead of scandirat.
28130         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28131         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28132         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28133         __scandirat.
28134         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28135         (__scandirat): Declare.  Use libc_hidden_proto.
28136         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28137         Remove variable.
28138         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28140 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28142         [BZ #15319]
28143         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28144         (MO): New macro.
28145         (__ieee754_atan2): For results with small absolute value, force
28146         underflow exception and remove excess range and precision from
28147         return value.
28148         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28149         (MO): New macro.
28150         (__ieee754_atan2f): For results with small absolute value, force
28151         underflow exception and remove excess range and precision from
28152         return value.
28153         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28154         (MO): New macro.
28155         (__atan): For results with small absolute value, force underflow
28156         exception and remove excess range and precision from return value.
28157         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28158         (MO): New macro.
28159         (__atanf): For results with small absolute value, force underflow
28160         exception and remove excess range and precision from return value.
28161         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28162         <math.h>.
28163         (__ieee754_atan2): Force underflow exception for results with
28164         small absolute value.
28165         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28166         <math_private.h>.
28167         (atan): Force underflow exception for results with small absolute
28168         value.
28169         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28170         (__atanf): Force underflow exception for results with small
28171         absolute value.
28172         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28173         <math.h>.
28174         (__atanl): Force underflow exception for results with small
28175         absolute value.
28176         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28177         (__atanl): Force underflow exception for results with small
28178         absolute value.
28179         * sysdeps/x86/fpu/bits/mathinline.h
28180         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28181         (__ieee754_atan2): Only define inline for long double.
28182         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28183         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28184         * math/auto-libm-test-in: Do not mark underflow exceptions as
28185         possibly missing for bug 15319.  Add more tests of atan2.
28186         * math/auto-libm-test-out: Regenerated.
28187         * math/libm-test.inc (casin_test_data): Do not mark underflow
28188         exceptions as possibly missing for bug 15319.
28189         (casinh_test_data): Likewise.
28190         * sysdeps/i386/fpu/libm-test-ulps: Update.
28192 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
28194         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28195         * sysdeps/mips/bits/endian.h: Fix comments.
28197 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28199         [BZ #17996]
28200         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28201         (hdestroy_r): Likewise.
28202         (hsearch_r): Likewise.
28203         (__hcreate_r): Declare and use libc_hidden_proto.
28204         (__hdestroy_r): Likewise.
28205         (__hsearch_r): Likewise.
28206         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28207         (hcreate): Call __hcreate_r instead of hcreate_r.
28208         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28209         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28210         as weak alias of __hcreate_r.
28211         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28212         __hdestroy_r.
28213         (hsearch_r): Rename to __hsearch_r and define as weak alias of
28214         __hsearch_r.
28215         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28216         Remove variable.
28217         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28218         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28219         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28220         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28222 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28224         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28225         arena_lock into a single arena_get.
28227 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
28229         * dl-reloc.c: Inlucde libc-internal.h.
28230         (_dl_try_allocate_static_tls): Call ALIGN_UP.
28231         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28232         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28233         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28234         (grow_heap): Likewise.
28235         * malloc/malloc.c: Include libc-internal.h.
28236         (do_check_malloc): Call powerof2.
28237         (sysmalloc): Use pagesize. Call ALIGN_UP.
28238         (systrim): Use pagesize.
28239         (mremap_chunk): Use pagesize. Call ALIGN_UP.
28240         (__libc_valloc): Use pagesize.
28241         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28243 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28245         [BZ #17991]
28246         * include/sys/resource.h (__getrlimit64): Declare.  Use
28247         libc_hidden_proto.
28248         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28249         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
28250         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28251         getrlimit64.
28252         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28253         __getrlimit64.
28254         [!getrlimit64] (getrlimit64): Define as weak alias of
28255         __getrlimit64.  Use libc_hidden_weak.
28256         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28257         using __getrlimit64 not __new_getrlimit64.
28258         (__GI_getrlimit64): Likewise.
28259         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28260         Likewise.
28261         (__GI_getrlimit64): Likewise.
28262         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28264         (getrlimit): Add __getrlimit64 alias.
28265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28266         Likewise.
28267         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28268         Remove variable.
28269         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28270         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28272 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
28274         * libio/fileops.c: Add missing sys/mman.h
28275         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28277 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28279         * manual/math.texi (Errors in Math Functions): Clarify goals
28280         regarding inexact and underflow exceptions.
28282 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28284         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28285         * sysdeps/mips/memset.S: Ditto.
28287 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28289         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28291 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28293         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28294         (__v1longjmp): Remove versioned symbol.
28295         (__v1siglongjmp): Remove alias and versioned symbol.
28296         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28297         (__v2siglongjmp): Likewise.
28299 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28301         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28303 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
28305         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28307 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28309         [BZ #17987]
28310         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28311         zero result does not depend on the sign resulting from
28312         subtraction.
28313         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28314         Likewise.
28315         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28316         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28317         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28318         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28319         * math/libm-test.inc (remquo_test_data): Add more tests.
28321 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
28323         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28324         Problem reported by J William Piggott.
28326 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28328         [BZ #17978]
28329         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28330         products 4 * y and 2 * y where those would overflow.
28331         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28332         Likewise.
28333         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28334         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28335         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28336         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28337         * math/libm-test.inc (remquo_test_data): Add more tests.
28339         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28341         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28342         [defined _COMPILING_NEWLIB].
28343         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28344         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28346         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28347         [!defined __mips_isa_rev || __mips_isa_rev < 6].
28349 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28351         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28352         acquired.
28354 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
28356         [BZ #17792]
28357         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28358         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28359         HOST_STACK_END_ADDR): Likewise.
28361 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
28363         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28364         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28365         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28367 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28369         * sysdeps/generic/c++-types.data: New file.
28370         * sysdeps/generic/ld.abilist: New file.
28371         * sysdeps/generic/libBrokenLocale.abilist: New file.
28372         * sysdeps/generic/libanl.abilist: New file.
28373         * sysdeps/generic/libc.abilist: New file.
28374         * sysdeps/generic/libcrypt.abilist: New file.
28375         * sysdeps/generic/libdl.abilist: New file.
28376         * sysdeps/generic/libm.abilist: New file.
28377         * sysdeps/generic/libpthread.abilist: New file.
28378         * sysdeps/generic/libresolv.abilist: New file.
28379         * sysdeps/generic/librt.abilist: New file.
28381 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28383         [BZ #17569]
28384         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28385         Compute absolute value of x as modified by fmod, not original
28386         value of x.
28387         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28388         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
28389         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
28390         RUN_TEST_ffI_f1_mod8.
28391         (remquo_test_data): Add more tests.
28393 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28395         * sysdeps/init_array/pt-crti.S: New file.
28397 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28399         [BZ #17967]
28400         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28401         __builtin_fmaf instead of relying on contraction of a * b + c.
28403 2015-02-12  J William Piggott  <elseifthen@gmx.com>
28405         [BZ #17969]
28406         * manual/time.texi: correct the zoneinfo path in the TZ Variable
28407         node.
28409 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28411         [BZ #17964]
28412         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28413         __builtin_fma instead of relying on contraction of a * b + c.
28415 2015-02-12  Roland McGrath  <roland@hack.frob.com>
28417         * Makeconfig (ASFLAGS): Add -Werror=undef.
28418         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28419         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28420         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28422         * Makeconfig (after-link): New variable.
28423         (+link-pie, +link-pie-tests): Use it.
28424         (+link-static, +link-static-tests): Likewise.
28425         (+link, +link-tests): Likewise.
28426         * Makerules (build-module, build-module-asneeded): Likewise.
28427         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28428         Likewise.
28429         * elf/Makefile ($(objpfx)ld.so): Likewise.
28431 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
28433         [BZ #17965]
28434         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28435         both struct timeval and struct timespec.
28437 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28439         [BZ #16560]
28440         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28441         and redefine.
28442         (__ieee754_exp2l): Do not multiply small fractional parts by
28443         M_LN2l.
28444         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28445         small argument.
28446         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28447         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28448         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28449         * math/auto-libm-test-in: Add more tests of exp2.
28450         * math/auto-libm-test-out: Regenerated.
28452 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28454         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28455         unaligned path.
28457 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28459         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28460         little endian.
28462 2015-02-12  Andreas Schwab  <schwab@suse.de>
28464         [BZ #15790]
28465         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28466         Filter out elision flags from value returned in kind.
28467         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28468         * nptl/tst-pthread-mutexattr.c: New file.
28470 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28472         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28473         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28474         into gnu-gnu, and update comment to refer to abi-tags.
28476 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
28478         [BZ #15467]
28479         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28480         (__sincos): Set errno to EDOM for infinite argument.
28481         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28482         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28483         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28484         (__sincosl): Set errno to EDOM for infinite argument.
28485         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28486         (__sincosl): Set errno to EDOM for infinite argument.
28487         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28488         (__sincosl): Set errno to EDOM for infinite argument.
28489         * math/libm-test.inc (sincos_test_data): Test errno setting.
28491 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
28493         * string/strxfrm_l.c: Remove #define STRCMP.
28494         * string/strcoll_l.c: Remove #define STRLEN.
28495         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28496         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28498 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
28500         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28501         * sysdeps/mips/mips32/sfp-machine.h: ... here.
28502         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28503         * sysdeps/mips/mips64/Makefile: ... here.
28504         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28505         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28506         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28507         * sysdeps/mips/mips64/sfp-machine.h: ... here.
28508         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28509         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28510         * sysdeps/mips/mips64/n64/Implies: Likewise.
28512 2015-02-10  Roland McGrath  <roland@hack.frob.com>
28514         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28515         <sys/time.h>, <string.h>, and <errno.h>.
28516         (dest_offset, dest_address, value, zero): Remove unused variables.
28517         (ldouble): Remove typedef.
28518         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28519         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
28520         1).  Fix code style.
28521         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28522         (check): Function removed.
28523         (CHECK): New macro.
28524         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
28525         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28526         Don't call set_sigaction_FP and remove_sigaction_FP here.
28527         (ldouble_test): Just use 'long double' as macro argument, no need for
28528         the 'ldouble' typedef.
28529         (do_test): Set up SIGFPE handler at start, using plain signal rather
28530         than sigaction.  Fix code style.
28532 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
28534         [BZ #17949]
28535         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28536         jump label.
28538 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28540         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28541         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28543         * sysdeps/powerpc/configure.ac: Remove file.
28544         * sysdeps/powerpc/configure: Likewise.
28546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28547         [sysdep_routines]: Remove wordcopy-power6 object.
28548         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28549         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28550         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28551         (__memmove_ppc32): Likewise.
28552         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28553         file.
28554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28555         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28556         Remove preprocessor.
28558         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28559         [sysdep_routines]: Remove wide chars objects.
28560         [wcsmbs]: New rule for wide char objects.
28562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28563         Remove wordcopy-power6 obejct.
28564         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28565         Use local call for wordcopy and memcpy symbols.
28566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28567         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28568         implementation for loader.
28569         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28571         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28572         Remove wordcopy-power7 object.
28573         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28574         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28575         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28576         (_wordcopy_fwd_dest_aligned): Likewise.
28577         (_wordcopy_bwd_aligned): Likewise.
28578         (_wordcopy_bwd_dest_aligned): Likewise.
28580         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28581         Rewrite to call __memmove_ppc instead of include default
28582         implementation.
28584         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28585         Remove wide chars objects.
28586         [wcsmbs]: New rule for wide char objects.
28588 2015-02-09  Andreas Schwab  <schwab@suse.de>
28590         [BZ #17912]
28591         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28592         in terms of __O_DIRECTORY.
28594 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28596         * time/getdate.c: Include <stdbool.h>.
28597         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28598         call PTR_MANGLE.
28599         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28600         PTR_DEMANGLE.
28602 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
28604         Add ersatz _Static_assert on older C hosts
28605         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28606         pre-C11 C platform that is not known to support _Static_assert.
28608 2015-02-07  Richard Braun  <rbraun@sceen.net>
28610         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28611         sigstate.
28612         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28614 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28616         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28617         priority against unexistent AIO_PRIO_DELTA_MAX.
28618         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28619         instead of int.
28620         * misc/fchflags.c (fchflags): Likewise.
28621         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28622         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28623         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28624         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28625         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28626         Declare macros.
28627         [__USE_MISC] (chflags, fchflags): Declare functions.
28628         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28629         EINVAL when nfds is greater than FD_SETSIZE.
28630         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28631         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28632         45.
28633         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28634         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28635         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28636         MACH_RCV_TIMED_OUT.
28637         * hurd/hurd/signal.h (_hurd_self_sigstate,
28638         _hurd_critical_section_lock, _hurd_critical_section_unlock):
28639         Explicit casts from void *.
28640         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28641         * abi-tags: Rename gnu-gnu os into gnu.
28643         [BZ #4719]
28644         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28645         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28646         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28647         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28648         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28649         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28651         [BZ #17944]
28652         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28653         duplicates ADDR->sun_path with sockaddr LEN limitation.
28654         * sysdeps/mach/hurd/connect.c: Include <string.h>
28655         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28656         * sysdeps/mach/hurd/sendmsg.c: Likewise.
28657         * sysdeps/mach/hurd/sendto.c: Likewise.
28658         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28659         implementing it by hand.
28661 2015-02-06  Roland McGrath  <roland@hack.frob.com>
28663         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28664         Use sfi_breg on ldr.
28665         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28666         Likewise.
28668         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28669         it's defined.
28670         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28671         Test SIGSETXID only if it's defined.
28673         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28675         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28676         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
28678         * nptl/tst-align2.c: Moved ...
28679         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28680         * nptl/Makefile (tests): Remove tst-align2.
28681         * sysdeps/unix/sysv/linux/Makefile
28682         [$(subdir) = nptl] (tests): Add tst-align-clone.
28683         * nptl/tst-getpid1.c: Moved ...
28684         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28685         * nptl/tst-getpid2.c: Moved ...
28686         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28687         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28688         * sysdeps/unix/sysv/linux/Makefile
28689         [$(subdir) = nptl] (tests): ... here.
28690         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28691         * sysdeps/unix/sysv/linux/Makefile
28692         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28694         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28695         Drop trailing \n from perror argument.  Use return rather than exit.
28697         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28698         on [SA_SIGINFO].
28699         * nptl/tst-cancel21.c (do_test): Likewise.
28700         * debug/tst-backtrace6.c: Include <signal.h> first thing.
28701         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28702         [!SA_SIGINFO]: Make it a stub test.
28704         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28705         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28707         * posix/tst-getlogin.c: Move to ...
28708         * login/tst-getlogin.c: ... here.
28709         * posix/Makefile (tests): Move tst-getlogin to ...
28710         * login/Makefile (tests): ... here.
28712         * libio/tst-atime.c (do_test): Move local variables SV and E
28713         inside [ST_NOATIME] conditional.
28715         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28717         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28719         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28720         (wait_code): New function replaces macro.
28721         Call nanosleep rather than syscall.
28723         * nptl/pt-system.c: Rewritten.  Put everything under
28724         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28725         Use IFUNC to redirect when possible.
28727         * nptl/pt-longjmp.c: Rewritten.  Put everything under
28728         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28729         Use IFUNC to redirect when possible.
28731         * nptl/pt-fork.c: Rewritten.  Put everything under
28732         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28733         Use IFUNC to redirect when possible.
28734         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28736         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28737         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28738         unconditionally nowadays.  This included the only reference to
28739         __vdso_clock_gettime that appears outside libc proper.
28740         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28741         Remove version set (containing only __vdso_clock_gettime).
28742         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28743         Add attribute_hidden.
28744         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28745         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28746         libc_hidden_data_def.
28747         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28748         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28750         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28751         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28752         setrpcent, and getrpcport to ...
28753         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28754         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28755         getrpcbynumber_r, and getrpcent_r to ...
28756         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28757         * inet/getrpcbyname.c: Moved ...
28758         * sunrpc/getrpcbyname.c: ... here.
28759         * inet/getrpcbyname_r.c: Moved ...
28760         * sunrpc/getrpcbyname_r.c: ... here.
28761         * inet/getrpcbynumber.c: Moved ...
28762         * sunrpc/getrpcbynumber.c: ... here.
28763         * inet/getrpcbynumber_r.c: Moved ...
28764         * sunrpc/getrpcbynumber_r.c: ... here.
28765         * inet/getrpcent.c: Moved ...
28766         * sunrpc/getrpcent.c: ... here.
28767         * inet/getrpcent_r.c: Moved ...
28768         * sunrpc/getrpcent_r.c: ... here.
28769         * inet/Makefile (routines): Move those to ...
28770         * sunrpc/Makefile (routines): ... here.
28771         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28772         the $(subdirs) list.
28773         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
28774         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28775         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28776         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28778         * elf/Makefile (routines): Include $(all-dl-routines), not just
28779         $(dl-routines).
28780         (rtld-routines): Likewise.  Use = rather than :=.
28781         * sysdeps/aarch64/Makefile [$(subdir) = elf]
28782         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28783         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28784         * sysdeps/arm/Makefile: Likewise.
28785         * sysdeps/i386/Makefile: Likewise.
28786         * sysdeps/x86_64/Makefile: Likewise.
28787         * sysdeps/hppa/Makefile [$(subdir) = elf]
28788         (sysdep_routines, sysdep-rtld-routines): Don't add
28789         $(sysdep-dl-routines) to these.
28790         * sysdeps/ia64/Makefile: Likewise.
28791         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28792         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28793         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28794         Don't add dl-static to these; sysdep-dl-routines alone is enough.
28795         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28796         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28797         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28798         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28799         * sysdeps/powerpc/Makefile [$(subdir) = elf]
28800         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28801         these; sysdep-dl-routines alone is enough.
28803 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
28805         [BZ #17932]
28806         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28807         where multiplication results in zero and third argument is finite
28808         and nonzero.
28809         * math/auto-libm-test-in: Add more tests of fma.
28810         * math/auto-libm-test-out: Regenerated.
28812         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28813         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28814         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28815         (_FP_CMP_EQ): Likewise.
28816         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28818         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28819         extra argument CHECK_NAN.  Redefine as wrapper around
28820         _FP_EXTEND_CNAN.
28822 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
28824         * version.h (RELEASE): Set to "stable".
28825         (VERSION): Set to "2.21"
28826         * include/features.h (__GLIBC_MINOR__): Set to 21.
28828         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28830 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28831             Paul Eggert  <eggert@cs.ucla.edu>
28833         [BZ #16618]
28834         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28835         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28836         size in bytes. Store needed elements in wpmax. Use needed size
28837         in bytes for extend_alloca.
28839 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
28841         * manual/install.texi: Latest tested versions are GCC 4.9.2,
28842         binutls 2.25, and texinfo 5.2.
28843         * INSTALL: Regenerate.
28844         * sysdeps/nios2/configure: Regenerate.
28845         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28846         * manual/contrib.texi: Update.
28847         * po/be.po: Update.
28848         * po/bg.po: Update.
28849         * po/ca.po: Update.
28850         * po/cs.po: Update.
28851         * po/da.po: Update.
28852         * po/de.po: Update.
28853         * po/el.po: Update.
28854         * po/eo.po: Update.
28855         * po/es.po: Update.
28856         * po/fi.po: Update.
28857         * po/fr.po: Update.
28858         * po/gl.po: Update.
28859         * po/hr.po: Update.
28860         * po/hu.po: Update.
28861         * po/ia.po: Update.
28862         * po/id.po: Update.
28863         * po/it.po: Update.
28864         * po/ja.po: Update.
28865         * po/ko.po: Update.
28866         * po/lt.po: Update.
28867         * po/nb.po: Update.
28868         * po/nl.po: Update.
28869         * po/pl.po: Update.
28870         * po/pt_BR.po: Update.
28871         * po/ru.po: Update.
28872         * po/rw.po: Update.
28873         * po/sk.po: Update.
28874         * po/sl.po: Update.
28875         * po/sv.po: Update.
28876         * po/tr.po: Update.
28877         * po/uk.po: Update.
28878         * po/vi.po: Update.
28879         * po/zh_CN.po: Update.
28880         * po/zh_TW.po: Update.
28882         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
28883         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
28884         * sysdeps/hppa/dl-irel.h: Remove #warning.
28885         * sysdeps/hppa/entry.h: Provide prototype for
28886         __canonicalize_funcptr_for_compare and cast argument.
28887         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
28888         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
28889         * sysdeps/hppa/sotruss-lib.c: New file.
28890         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
28891         (atomic_compare_and_exchange_val_acq): Use __typeof__.
28892         (atomic_compare_and_exchange_bool_acq): Likewise.
28893         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
28894         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
28896         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
28897         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
28898         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
28900 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
28902         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
28903         called function in non-PIC case.
28905 2015-01-31  David S. Miller  <davem@davemloft.net>
28907         * sysdeps/sparc/sparc32/bits/atomic.h
28908         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
28909         unlock not after it.
28910         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
28911         volatile register usage warnings from the compiler.
28913         * sysdeps/sparc/nptl/sem_init.c: Delete.
28914         * sysdeps/sparc/nptl/sem_post.c: Delete.
28915         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
28916         * sysdeps/sparc/nptl/sem_wait.c: Delete.
28917         * sysdeps/sparc/sparc32/sem_init.c: New file.
28918         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
28919         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
28920         padding explicitly initialized.
28921         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
28922         padding for in-semaphore spinlock.
28923         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
28924         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
28925         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
28926         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
28927         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
28928         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
28929         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
28930         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
28931         version.
28932         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
28933         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
28935 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
28937         [BZ #17801]
28938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28939         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
28940         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
28941         New.
28942         (index_AVX_Fast_Unaligned_Load): Likewise.
28943         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
28944         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
28945         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
28946         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
28947         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
28948         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
28949         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
28950         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
28951         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
28953 2015-01-29  Andreas Schwab  <schwab@suse.de>
28955         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
28957 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
28959         [BZ #17892]
28960         * nscd/nscd_stat.c (send_stats): Initialize DATA.
28962 2015-01-28  Martin Sebor  <msebor@redhat.com>
28964         * math/README.libm-test: Clarify. Add "How to read the test output."
28966 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
28968         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
28969         Define to 0.
28971 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
28973         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
28974         (__HAVE_64B_ATOMICS): Define to 0.
28976 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28978         [BZ #17885]
28979         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
28980         value to set as new flag.
28982         [BZ #16576]
28983         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
28984         and use _ARCH_PPCSQ instead.
28985         (__ieee754_sqrt): Likewise.
28986         (__ieee754_sqrtf): Likewise.
28987         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
28988         _ARCH_PPCSQ is defined.
28989         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
28990         fsqrt instruction.
28991         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
28992         _ARCH_PPCSQ is defined.
28993         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
28994         fsqrts instruction.
28995         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
28997 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28999         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29000         bug (GCC BZ #64739).
29002 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29004         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29005         Mark _retval as used.
29006         (lll_futex_wake_unlock): Likewise.
29007         (lll_futex_timed_wait_requeue_pi): Likewise.
29009         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29010         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29011         register variables.
29013         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29014         libm_hidden_def.
29016         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29017         (__bswap_64): Mark as __always_inline.
29019 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29021         [BZ #15378]
29022         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29023         when none of the search directories exist.
29025 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29027         [BZ #17869]
29028         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29029         power8 in .machine directive.
29031         [BZ #17868]
29032         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29033         set dependency from opd value.
29035 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29038         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29039         architecture.
29041 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29043         [BZ #17870]
29044         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29045         with uint64_t.
29046         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29047         (uint64_t) 1.
29048         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29049         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29050         Replace 1UL with (uint64_t) 1.
29051         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29052         int with uint64_t.
29054 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29056         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29057         (if_freenameindex): Likewise.
29059         * resource/getrlimit64.c: Add missing libc_hidden_def.
29061 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29063         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29064         __label__.
29065         (_FP_FMA): Likewise.
29066         (_FP_TO_INT_ROUND): Likewise.
29067         (_FP_FROM_INT): Likewise.
29069 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29071         [BZ #16418]
29072         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29073         Make code racy and cancel safe.
29075 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29077         * sysdeps/arm/unwind-resume.h: Fix copyright year.
29078         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29079         attribution.
29081         * pwd/tst-getpw.c: Rewrite.
29083         [BZ #17702]
29084         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29085         (modules-names): Add moddummy1 and moddummy2.
29086         ($(objpfx)tst-rec-dlopen): Define.
29087         * dlfcn/moddummy1.c: New file.
29088         * dlfcn/moddummy2.c: New file.
29089         * dlfcn/tst-rec-dlopen.c: New file.
29090         * elf/dl-cache.c (_dl_load_cache_lookup):
29091         Return char*. Copy result with alloca/strcpy/strdup.
29092         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29093         returns char*. Free cached. If not saving realname
29094         free cached.
29095         * elf/dl-open.c (dl_open_worker): Do not assert that
29096         _r_debug->r_state is RT_CONSISTENT.
29097         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29098         returns char*.
29100 2015-01-21  Torvald Riegel  <triegel@redhat.com>
29101             Carlos O'Donell  <carlos@redhat.com>
29103         [BZ #12674]
29104         * nptl/sem_waitcommon.c: New file.
29105         * nptl/sem_wait.c: Include sem_waitcommon.c.
29106         (__sem_wait_cleanup, do_futex_wait): Remove.
29107         (__new_sem_wait): Adapt.
29108         (__new_sem_trywait): New function.
29109         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29110         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29111         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29112         (sem_timedwait): Adapt.
29113         * nptl/sem_post.c (__new_sem_post): Adapt.
29114         (futex_wake): New function.
29115         (__old_sem_post): Add release MO fence.
29116         * nptl/sem_open.c (sem_open): Adapt.
29117         * nptl/sem_init.c (__new_sem_init): Adapt.
29118         (futex_private_if_supported): New function.
29119         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29120         (__old_sem_getvalue): Add using previous code.
29121         * sysdeps/nptl/internaltypes.h: Adapt.
29122         * nptl/tst-sem13.c (do_test): Adapt.
29123         * nptl/tst-sem11.c (main): Adapt.
29124         * nptl/sem_trywait.c: Remove.
29125         * nptl/DESIGN-sem.txt: Remove.
29126         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29127         (gen-as-const-headers): Remove structsem.sym.
29128         * nptl/structsem.sym: Remove.
29129         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29130         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29131         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29132         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29133         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29134         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29135         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29136         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29137         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29138         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29139         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29140         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29141         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29142         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29143         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29144         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29145         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29146         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29147         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29148         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29149         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29150         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29152 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
29154         * INSTALL: Regenerated.
29156         * po/libc.pot: Regenerated.
29158 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
29159             Sandra Loosemore  <sandra@codesourcery.com>
29160             Andrew Jenner  <andrew@codesourcery.com>
29161             Joseph Myers  <joseph@codesourcery.com>
29162             Nathan Sidwell  <nathan@codesourcery.com>
29164         * NEWS: Mention new Nios II port.
29165         * sysdeps/nios2/Implies: New file.
29166         * sysdeps/nios2/Makefile: New file.
29167         * sysdeps/nios2/Subdirs: New file.
29168         * sysdeps/nios2/Versions: New file.
29169         * sysdeps/nios2/__longjmp.S: New file.
29170         * sysdeps/nios2/abort-instr.h: New file.
29171         * sysdeps/nios2/backtrace.c: New file.
29172         * sysdeps/nios2/bits/endian.h: New file.
29173         * sysdeps/nios2/bits/fenv.h: New file.
29174         * sysdeps/nios2/bits/link.h: New file.
29175         * sysdeps/nios2/bits/setjmp.h: New file.
29176         * sysdeps/nios2/bsd-_setjmp.S: New file.
29177         * sysdeps/nios2/bsd-setjmp.S: New file.
29178         * sysdeps/nios2/configure: New generated file.
29179         * sysdeps/nios2/configure.ac: New file.
29180         * sysdeps/nios2/crti.S: New file.
29181         * sysdeps/nios2/crtn.S: New file.
29182         * sysdeps/nios2/dl-init.c: New file.
29183         * sysdeps/nios2/dl-machine.h: New file.
29184         * sysdeps/nios2/dl-sysdep.h: New file.
29185         * sysdeps/nios2/dl-tls.h: New file.
29186         * sysdeps/nios2/dl-trampoline.S: New file.
29187         * sysdeps/nios2/gccframe.h: New file.
29188         * sysdeps/nios2/gmp-mparam.h: New file.
29189         * sysdeps/nios2/jmpbuf-offsets.h: New file.
29190         * sysdeps/nios2/jmpbuf-unwind.h: New file.
29191         * sysdeps/nios2/ldsodefs.h: New file.
29192         * sysdeps/nios2/libc-tls.c: New file.
29193         * sysdeps/nios2/libm-test-ulps: New file.
29194         * sysdeps/nios2/machine-gmon.h: New file.
29195         * sysdeps/nios2/math-tests.h: New file.
29196         * sysdeps/nios2/math_private.h: New file.
29197         * sysdeps/nios2/memusage.h: New file.
29198         * sysdeps/nios2/nptl/Makefile: New file.
29199         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29200         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29201         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29202         * sysdeps/nios2/nptl/pthreaddef.h: New file.
29203         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29204         * sysdeps/nios2/nptl/tls.h: New file.
29205         * sysdeps/nios2/preconfigure: New file.
29206         * sysdeps/nios2/s_fma.c: New file.
29207         * sysdeps/nios2/s_fmaf.c: New file.
29208         * sysdeps/nios2/setjmp.S: New file.
29209         * sysdeps/nios2/sfp-machine.h: New file.
29210         * sysdeps/nios2/sotruss-lib.c: New file.
29211         * sysdeps/nios2/stackguard-macros.h: New file.
29212         * sysdeps/nios2/stackinfo.h: New file.
29213         * sysdeps/nios2/start.S: New file.
29214         * sysdeps/nios2/sysdep.h: New file.
29215         * sysdeps/nios2/tls-macros.h: New file.
29216         * sysdeps/nios2/tst-audit.h: New file.
29217         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29218         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29219         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29220         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29221         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29222         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29223         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29224         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29225         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29226         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29227         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29228         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29229         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29230         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29231         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29232         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29233         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29234         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29235         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29236         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29237         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29238         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29239         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29240         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29241         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29242         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29243         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29244         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29245         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29246         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29247         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29248         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29249         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29250         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29251         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29252         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29253         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29254         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29255         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29256         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29257         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29258         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29259         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29260         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29262 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29264         [BZ #17844]
29265         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29266         (getutent): Use weak_alias in non SHARED case
29267         and default_symbol_version in SHARED case.
29268         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29269         (getutent_r, pututline): Likewise.
29270         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29271         (getutid): Likewise.
29272         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29273         (getutid_r): Likewise.
29274         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29275         (getutline): Likewise.
29276         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29277         (getutline_r): Likewise.
29278         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29279         (updwtmp): Likewise.
29281 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29283         [BZ #17848]
29284         * sysdeps/s390/s390-32/memcmp.S
29285         (memcmp_g5): Rename to __memcmp_g5.
29286         * sysdeps/s390/s390-32/memcpy.S
29287         (memcpy_g5): Rename to __memcpy_g5.
29288         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29289         (memcpy_mvcle) Rename to __memcpy_mvcle.
29290         * sysdeps/s390/s390-32/memset.S
29291         (memset_g5): Rename to __memset_g5.
29292         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29293         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29294         and use prefixed functions.
29295         * sysdeps/s390/s390-32/multiarch/memcmp.S
29296         (memcmp_z196): Rename to __memcmp_z196.
29297         (memcmp_z10): Rename to __memcmp_z10.
29298         (memcmp): Set alias to __memcmp_g5.
29299         (bcmp): Set alias to __memcmp_g5.
29300         * sysdeps/s390/s390-32/multiarch/memcpy.S
29301         (memcpy_z196): Rename to __memcpy_z196.
29302         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29303         (memcpy_z10): Rename to __memcpy_z10.
29304         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29305         (memcpy): Set alias to __memcpy_g5.
29306         * sysdeps/s390/s390-32/multiarch/memset.S
29307         (memset_z196): Rename to __memset_z196.
29308         Jump to __memset_mvcle instead of memset_mvcle.
29309         (memset_z10): Rename to __memset_z10.
29310         Jump to __memset_mvcle instead of memset_mvcle.
29311         (memset_mvcle) Rename to __memset_mvcle.
29312         (memset): Set alias to __memset_g5.
29313         * sysdeps/s390/s390-64/memcmp.S
29314         (memcmp_z900): Rename to __memcmp_z900.
29315         * sysdeps/s390/s390-64/memcpy.S
29316         (memcpy_z900): Rename to __memcpy_z900.
29317         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29318         (memcpy_mvcle) Rename to __memcpy_mvcle.
29319         * sysdeps/s390/s390-64/memset.S
29320         (memset_z900): Rename to __memset_z900.
29321         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29322         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29323         and use prefixed functions.
29324         * sysdeps/s390/s390-64/multiarch/memcmp.S
29325         (memcmp_z196): Rename to __memcmp_z196.
29326         (memcmp_z10): Rename to __memcmp_z10.
29327         (memcmp): Set alias to __memcmp_z900.
29328         (bcmp): Set alias to __memcmp_z900.
29329         * sysdeps/s390/s390-64/multiarch/memcpy.S
29330         (memcpy_z196): Rename to __memcpy_z196.
29331         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29332         (memcpy_z10): Rename to __memcpy_z10.
29333         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29334         (memcpy): Set alias to __memcpy_z900.
29335         * sysdeps/s390/s390-64/multiarch/memset.S
29336         (memset_z196): Rename to __memset_z196.
29337         Jump to __memset_mvcle instead of memset_mvcle.
29338         (memset_z10): Rename to __memset_z10.
29339         Jump to __memset_mvcle instead of memset_mvcle.
29340         (memset_mvcle) Rename to __memset_mvcle.
29341         (memset): Set alias to __memset_z900.
29343 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
29345         [BZ #17748]
29346         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29347         __fesetenv instead of fesetenv.
29349 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29351         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29352         macro.
29354 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29356         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29357         regression on LE.
29359         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29360         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29362         strncmp-power8 object.
29363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29364         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29365         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29366         * NEWS: Update.
29368 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29369             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29371         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29372         trailing byte check.
29374 2015-01-13  David S. Miller  <davem@davemloft.net>
29376         * include/signal.h (__sigreturn): Guard with __USE_MISC.
29378 2015-01-13  Roland McGrath  <roland@hack.frob.com>
29380         * login/logout.c (logout): Use memset rather than bzero.
29381         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29382         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29383         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29384         (_gethtbyaddr): Likewise.
29385         * locale/programs/simple-hash.c (bcopy): Macro removed.
29387 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29389         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29390         Add strcmp-power8 object.
29391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29392         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29393         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29394         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29395         __strcmp_power8 implementation.
29396         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29397         * NEWS: Update.
29399         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29400         Add strncpy-power8 and stpncpy-power8 objects.
29401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29402         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29403         implementations.
29404         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29405         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29406         __stpncpy_power8 implementation.
29407         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29408         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29409         __strncpy_power8 implementation.
29410         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29411         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29412         * NEWS: Update.
29414         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29415         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29416         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29418         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29419         strncat-power8 object.
29420         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29421         __strcat_power8 implementation.
29422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29423         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29424         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29425         optimized strcat for power8.
29427         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29428         strcpy-power8 and stpcpy-power8 objects.
29429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29430         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29431         implementations.
29432         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29433         multiarch stpcpy implementation for POWER8.
29434         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29435         multiarch strcpy implementation for POWER8.
29436         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29437         __strcpy_power8 function.
29438         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29439         stpcpy for POWER8.
29440         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29441         strcpy for POWER8.
29442         * NEWS: Update.
29444 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
29446         [BZ #16009]
29447         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29448         weights and rules. Use do_xfrm_cached if data fits in cache,
29449         do_xfrm otherwise.  Moved former main loop to...
29450         * (do_xfrm_cached): New function.
29451         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29452         find_idx, find_position and stack_push.
29453         * (find_idx): New function.
29454         * (find_position): Likewise.
29455         * localedata/sort-test.sh: Added test run for do_xfrm.
29456         * localedata/xfrm-test.c (main): Added command line option
29457         -nocache to run the test with strings that are too large for
29458         the STRXFRM cache.
29460 2015-01-13  Torvald Riegel  <triegel@redhat.com>
29462         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29463         variable to lll_futex_wake call, not the value itself.
29465 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
29467         [BZ #17803]
29468         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29469         twom64.  Adjust value to 0x1p-64L.
29470         (__scalblnl): Only return standard underflowing result for K <=
29471         -64 not K <= -63; adjust exponent for underflowing result by 64
29472         not 63.
29473         * math/libm-test.inc (scalbn_test_data): Add more tests.
29474         (scalbln_test_data): Likewise.
29476         [BZ #17834]
29477         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29478         0x1p63L.
29479         (__scalblnl): Get new exponent of adjusted subnormal value from ES
29480         not HX.
29481         * math/libm-test.inc (scalbn_test_data): Add more tests.
29482         (scalbln_test_data): Likewise.
29484 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29485             Stefani Seibold  <stefani@seibold.net>
29487         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29488         (sysdep_routines): Add dl-vdso here, ...
29489         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29490         (sysdep_routines): ... not here.
29491         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29492         fallback when vDSO is not presented.
29493         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29494         Define with libc_hidden_proto/libc_hidden_data_def definitions.
29495         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29496         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29497         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29498         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29499         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29500         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29501         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29502         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29503         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
29504         fallback configurable symbol when vDSO is not available.
29505         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29506         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
29507         be able to redefine fallback symbol when vDSO is not available.
29508         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29509         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29511 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29513         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29514         (TLS_INIT_TP): Add tm_capable initialization.
29515         (TLS_DEFINE_INIT_TP): Likewise.
29516         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29517         TCB.
29518         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29519         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29520         calculation.
29521         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29522         transactoion is lock elision is built and TCB tm_capable is set.
29523         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29525         (INTERNAL_SYSCALL_NCS): Likewise.
29526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29527         (INTERNAL_SYSCALL_NCS): Likewise.
29528         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29530         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29531         for powerpc.
29532         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29533         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29534         and remove it for 32 bits case.
29535         [pthread_rwlock_t] (__rwelision): New field for lock elision.
29536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29537         initialization.
29538         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29539         Disable lock elision with rdlocks if elision is not available.
29541         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29542         (sysdep_routines): Add lock elision objects.
29543         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29544         [pthread_mutex_t] (__spins): Rework to add lock elision field.
29545         [pthread_mutex_t] (__elision): Add field.
29546         [__PTHREAD_SPINS]: Adjust to init lock elision field.
29547         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29548         elision definitions for powerpc.
29549         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29550         implementation of lock elision for powerpc.
29551         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29552         implementation of timed lock elision for powerpc.
29553         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29554         implementation of trylock with lock elision for powerpc.
29555         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29556         implementaion of unlock for lock elision for powerpc.
29557         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29558         automatic enable lock elision for mutexes.
29559         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29560         transaction execution definitions for powerpc.
29561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29562         definitions.
29563         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29564         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29565         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29566         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29567         * NEWS: Update.
29569 2015-01-09  Roland McGrath  <roland@hack.frob.com>
29571         * sysdeps/posix/shm-directory.c: Use <> rather than ""
29572         for #include of <shm-directory.h>.
29574 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
29576         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29577         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29579 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
29581         [BZ #17791]
29582         * NEWS: Mention bug fix.
29583         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29584         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29585         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29587 2015-01-09  Torvald Riegel <triegel@redhat.com>
29589         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29591 2015-01-09  Torvald Riegel <triegel@redhat.com>
29593         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29595 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29597         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29598         pointer and cast to uintptr_t.
29600 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29602         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29603         removed.
29604         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29606 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29608         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29609         of 0.
29611 2015-01-08  Roland McGrath  <roland@hack.frob.com>
29613         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29614         <nptl/pthreadP.h> instead.
29615         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29617         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29618         already defined.
29619         [__SIGRTMIN] (init): Function removed.
29620         [__SIGRTMIN] (initialized): Variable removed.
29621         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29622         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29623         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29624         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29625         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29626         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29627         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29628         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29629         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29630         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29631         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29632         * sysdeps/nptl/allocrtsig.c: New file.
29633         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29634         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29635         * sysdeps/generic/testrtsig.h: File removed.
29637         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29638         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29640         * nptl/nptl-init.c (pthread_functions): Conditionalize
29641         .ptr__nptl_setxid initialization on [SIGSETXID].
29643         * sysdeps/nptl/sys/procfs.h: New file.
29644         * nptl_db/Makefile (headers): Add it.
29645         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29647         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29648         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29649         * nptl/pthread_attr_setaffinity.c: Include it.
29650         * nptl/pthread_setattr_default_np.c: Likewise.
29651         * nptl/check-cpuset.h: New file.
29653 2015-01-08  Richard Henderson  <rth@redhat.com>
29655         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29656         (CFLAGS-tst-execstack-prog.c): Likewise.
29657         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29659 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
29660             Sandra Loosemore  <sandra@codesourcery.com>
29661             Andrew Jenner  <andrew@codesourcery.com>
29662             Joseph Myers  <joseph@codesourcery.com>
29663             Nathan Sidwell  <nathan@codesourcery.com>
29665         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29666         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29667         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29668         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29669         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29670         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29671         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29672         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29673         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29674         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29675         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29676         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29677         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29678         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29679         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29680         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29681         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29683 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29685         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29686         timespec struct member in syscall macro.
29687         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29688         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29689         first timeval struct member in syscall macro.
29690         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29692 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
29694         [BZ #17748]
29695         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29696         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29697         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29698         __feupdateenv and define as weak alias of __feupdateenv.  Use
29699         libm_hidden_weak.
29700         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29701         libm_hidden_def.
29702         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29703         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
29704         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29705         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29706         libm_hidden_def.
29707         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29708         __feupdateenv and define as weak alias of __feupdateenv.  Use
29709         libm_hidden_weak.
29710         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29711         libm_hidden_def.
29712         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29713         __feupdateenv and define as weak alias of __feupdateenv.  Use
29714         libm_hidden_weak.
29715         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29716         libm_hidden_def.
29717         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29718         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29719         (__feupdateenv): Likewise.
29720         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29721         __feupdateenv and define as weak alias of __feupdateenv.  Use
29722         libm_hidden_weak.
29723         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29724         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29725         libm_hidden_def.
29726         * sysdeps/tile/math_private.h (__feupdateenv): New inline
29727         function.
29728         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29729         libm_hidden_def.
29730         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29731         __feupdateenv instead of feupdateenv.
29732         (default_libc_feupdateenv_test): Likewise.
29733         (libc_feresetround_ctx): Likewise.
29735 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29737         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29738         prototype.
29740 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
29742         * posix/regcomp.c (parse_bracket_exp): Initialize type to
29743         COLL_SYM in a couple of places to avoid uninitialized variable
29744         wanings on tilegx gcc 4.8.2.
29746 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29748         * sysdeps/aarch64/strcpy.S: New file.
29749         * sysdeps/aarch64/stpcpy.S: New file.
29750         * NEWS: Updated.
29752 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29754         * sysdeps/aarch64/strrchr.S: New file.
29755         * NEWS: Updated.
29757 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
29759         [BZ #17658]
29760         * stdlib/setenv.c: Fix memory leak when setting large,
29761         duplicate string.
29763 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
29765         [BZ #17273]
29766         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29767         and tabs from buffer before parsing fstab entry.
29768         * misc/tst-mntent.c (main): Add test for mount entry with
29769         trailing spaces and tabs.
29771 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
29773         [BZ #17748]
29774         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
29775         * math/fesetround.c (fesetround): Rename to __fesetround and
29776         define as weak alias of __fesetround.  Use libm_hidden_weak.
29777         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29778         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29779         * sysdeps/arm/fesetround.c (fesetround): Likewise.
29780         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29781         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29782         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29783         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29784         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29785         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29786         __fesetround_inline.
29787         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29788         __fesetround_inline instead of __fesetround.
29789         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29790         __fesetround and define as weak alias of __fesetround.  Use
29791         libm_hidden_weak.  Call __fesetround_inline instead of
29792         __fesetround.
29793         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29794         __fesetround and define as weak alias of __fesetround.  Use
29795         libm_hidden_weak.
29796         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29797         Likewise.
29798         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29799         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29800         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29801         * sysdeps/tile/math_private.h (__fesetround): New inline function.
29802         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29803         __fesetround and define as weak alias of __fesetround.  Use
29804         libm_hidden_weak.
29805         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29806         __fesetround instead of fesetround.
29807         (default_libc_feholdexcept_setround): Likewise.
29808         (libc_feholdsetround_ctx): Likewise.
29809         (libc_feholdsetround_noex_ctx): Likewise.
29811         [BZ #17748]
29812         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29813         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29814         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29815         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29816         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29817         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29818         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29819         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29820         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29821         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29822         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29823         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29824         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29825         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29826         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29827         libm_hidden_def.
29828         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29829         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29830         Likewise.
29831         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29832         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29833         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29834         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29835         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29836         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29837         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29838         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29839         __fesetenv instead of fesetenv.
29840         (libc_feresetround_noex_ctx): Likewise.
29841         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29842         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29843         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29844         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29845         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29846         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29847         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29848         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29849         (__feupdateenv): Likewise.
29850         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29851         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29852         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29853         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29855 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29857         [BZ #17806]
29858         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29859         addresses have been freed.
29861 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29863         * resolv/res_init.c (__res_vinit): Improve comments about nserv
29864         and nservall.
29866 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
29868         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29869         Clean up check_pf allocation pattern. addresses
29871 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29873         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
29874         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
29875         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
29876         * nptl/pthread_exit.c (__pthread_exit): Likewise.
29877         * nptl/pthread_join.c (pthread_join): Likewise.
29878         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
29879         * sysdeps/posix/waitid.c (__waitid): Likewise.
29880         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29881         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29882         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29883         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29885         Likewise.
29886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29887         (__libc_pread64): Likewise.
29888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29889         (__libc_pwrite): Likewise.
29890         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29891         (__libc_pwrite64): Likewsie.
29892         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29893         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29894         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29895         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29896         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29897         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29898         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29900         Likewise.
29901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29902         (__libc_pread64): Likewise.
29903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
29904         Likewise.
29905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29906         (__libc_pwrite64): Likewise.
29907         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29908         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29909         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
29910         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
29911         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29912         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29913         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
29914         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29915         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29916         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29917         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
29918         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29919         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29920         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
29921         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29922         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29923         Likewise.
29925 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29927         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
29928         (CFLAGS-test-double.c): Likewise.
29929         (CFLAGS-test-ldouble.c): Likewise.
29930         (CPPFLAGS-test-ifloat.c): Likewise.
29931         (CPPFLAGS-test-idouble.c): Likewise.
29932         (CPPFLAGS-test-ildoubl.c): Likewise.
29933         (CFLAGS-test-test-fenv.c): Remove variable.
29934         (CFLAGS-test-misc.c): Likewise.
29936 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
29938         [BZ #17797]
29939         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
29940         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
29941         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
29942         CLOCKS_PER_SEC == 1000000.
29943         * time/clocktest.c (main): Replace %ld with %jd and cast to
29944         intmax_t.
29946 2015-01-05  Roland McGrath  <roland@hack.frob.com>
29948         * sysdeps/generic/unwind-resume.h: New file.
29949         * sysdeps/gnu/unwind-resume.c: Include it.
29950         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
29951         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
29952         argument list.
29953         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
29954         global rather than static.
29955         (_Unwind_Resume): Update user.
29956         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
29957         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
29958         rather than static.  Add __attribute__ ((cold)).
29959         (_Unwind_Resume, __gcc_personality_v0): Update callers.
29960         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
29961         * sysdeps/arm/arm-unwind-resume.S: New file.
29962         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
29963         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
29964         * sysdeps/arm/Makefile [$(subdir) = csu]
29965         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
29966         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29967         Add rt-arm-unwind-resume.
29968         [$(subdir) = nptl]
29969         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29970         Add pt-arm-unwind-resume.
29971         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
29972         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
29974 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
29976         [BZ #17748]
29977         * include/fenv.h (__feholdexcept): Declare.  Use
29978         libm_hidden_proto.
29979         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
29980         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
29981         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29982         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
29983         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
29984         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
29985         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
29986         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29987         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
29988         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
29989         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29990         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
29991         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
29992         (feholdexcept): Likewise.
29993         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29994         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29995         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29996         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29997         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
29998         __feholdexcept instead of feholdexcept.
29999         (default_libc_feholdexcept_setround): Likewise.
30001 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30003         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30004         to avoid using stl/str to align destination.
30006 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30008         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30010 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30012         [BZ #17796]
30013         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30014         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30015         Define as weak alias not strong alias.
30017 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30019         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30020         bltzal with addiupc.
30021         (RTLD_START): Ditto.
30023 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30025         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30026         for __vdso_* functions in declarations.
30027         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30028         definitions.
30029         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30030         INTERNAL_VSYSCALL): Use struct return types to check for error.
30032         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30033         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30034         function with cast from llround().
30035         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30036         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30037         Define.
30039 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30041         [BZ #17793]
30042         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30043         Define as weak alias not strong alias.
30045         [BZ #17635]
30046         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30047         ...
30048         * ctype/ctype-extn.c: ... here.
30049         (__isblank_l): Move to ...
30050         * ctype/ctype-c99_l.c: ... here.  New file.
30051         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30052         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30053         Remove variable.
30054         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30055         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30056         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30057         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30058         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30060         [BZ #17777]
30061         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30062         (posix_fadvise64): Define as weak alias not strong alias.
30063         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30064         (posix_fallocate64): Likewise.
30065         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30066         Remove variable.
30067         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30068         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30069         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30070         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30071         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30073 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30075         [BZ #16191]
30076         * NEWS: Mention bug fix.
30077         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30078         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30079         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30080         (HOST_STACK_END_ADDR): Likewise.
30082 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30084         [BZ #17748]
30085         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
30086         * math/fegetround.c (fegetround): Rename to __fegetround and
30087         define as weak alias of __fegetround.  Use libm_hidden_weak.
30088         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30089         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30090         * sysdeps/arm/fegetround.c (fegetround): Likewise.
30091         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30092         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30093         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30094         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30095         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30096         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30097         Undefine after rather than before function definition; use
30098         parentheses around function name in definition.
30099         (__fegetround): Also undefine macro after function definition.
30100         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30101         __fegetround and define as weak alias of __fegetround.  Use
30102         libm_hidden_weak.  Do not undefine as macro.
30103         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30104         Likewise.
30105         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30106         __fegetround and define as weak alias of __fegetround.  Use
30107         libm_hidden_weak.
30108         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30109         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30110         * sysdeps/tile/math_private.h (__fegetround): New inline function.
30111         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30112         __fegetround and define as weak alias of __fegetround.  Use
30113         libm_hidden_weak.
30114         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30115         __fegetround instead of fegetround.
30117         [BZ #17782]
30118         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30119         Condition macro definition on [__USE_MISC].
30121         [BZ #17781]
30122         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30123         (struct sigaction): Change type of sa_flags field to int.
30125         [BZ #17780]
30126         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30127         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30128         __glibc_reserved0.
30130         * nptl/version.c (banner): Use single year in copyright notice.
30132         * NEWS: Update copyright dates.
30133         * catgets/gencat.c (print_version): Likewise.
30134         * csu/version.c (banner): Likewise.
30135         * debug/catchsegv.sh: Likewise.
30136         * debug/pcprofiledump.c (print_version): Likewise.
30137         * debug/xtrace.sh (do_version): Likewise.
30138         * elf/ldconfig.c (print_version): Likewise.
30139         * elf/ldd.bash.in: Likewise.
30140         * elf/pldd.c (print_version): Likewise.
30141         * elf/sotruss.sh: Likewise.
30142         * elf/sprof.c (print_version): Likewise.
30143         * iconv/iconv_prog.c (print_version): Likewise.
30144         * iconv/iconvconfig.c (print_version): Likewise.
30145         * locale/programs/locale.c (print_version): Likewise.
30146         * locale/programs/localedef.c (print_version): Likewise.
30147         * login/programs/pt_chown.c (print_version): Likewise.
30148         * malloc/memusage.sh (do_version): Likewise.
30149         * malloc/memusagestat.c (print_version): Likewise.
30150         * malloc/mtrace.pl: Likewise.
30151         * manual/libc.texinfo: Likewise.
30152         * nptl/version.c (banner): Likewise.
30153         * nscd/nscd.c (print_version): Likewise.
30154         * nss/getent.c (print_version): Likewise.
30155         * nss/makedb.c (print_version): Likewise.
30156         * posix/getconf.c (main): Likewise.
30157         * scripts/test-installation.pl: Likewise.
30158         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30160 2015-01-02  Will Newton  <will.newton@linaro.org>
30162         * sysdeps/arm/armv7/configure: Removed.
30163         * sysdeps/arm/armv7/configure.ac: Likewise.
30165 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30167         * All files with FSF copyright notices: Update copyright dates
30168         using scripts/update-copyrights.
30169         * intl/plural.c: Regenerated.
30170         * locale/programs/charmap-kw.h: Likewise.
30171         * locale/programs/locfile-kw.h: Likewise.
30173 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30175         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30177 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30179         [BZ #17748]
30180         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30181         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30182         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30183         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30184         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30185         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30186         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30187         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30188         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30189         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30190         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30191         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30192         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30193         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30194         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30195         libm_hidden_def.
30196         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30197         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30198         Likewise.
30199         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30200         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30201         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30202         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30203         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30204         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30205         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30206         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30207         __fegetenv instead of fegetenv.
30208         (libc_feholdsetround_noex_ctx): Likewise.
30210 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30212         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30213         (Elf_MIPS_ABIFlags_v0): New structure.
30214         (EF_MIPS_FP64): Define.
30215         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30216         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30217         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30218         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30219         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30220         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30221         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30222         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30223         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30224         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30225         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30226         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30227         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30228         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30229         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30230         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30231         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30232         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30233         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30234         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30235         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30236         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30237         field.
30238         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30239         EF_MIPS_FP64.
30240         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30241         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30242         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30243         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30244         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30245         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30246         * sysdeps/mips/tst-abi-interlink.c: Likewise.
30247         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30248         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30249         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30250         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30251         record the current FP ABI extension.
30252         (mips-mode-switch): Define to show if kernel headers support mode
30253         switching.
30254         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30255         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30256         supported SYSV ABI version to 3.
30257         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30258         feature.
30260 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30261             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30263         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30264         path.
30265         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30267 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30269         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30270         __fegetround and redefine to call __fegetround.  Remove condition
30271         on [!__NO_MATH_INLINES].
30272         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30273         function.
30274         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30275         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30276         Remove macro.
30277         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30278         instead of <fenv_libc.h>.
30279         (__llrintl): Call fegetround instead of __fegetround.
30280         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30281         instead of <fenv_libc.h>.
30282         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30283         (__lrintl): Call fegetround instead of __fegetround.
30284         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30285         instead of <fenv_libc.h>.
30286         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30287         (__rintl): Call fegetround instead of __fegetround.
30289 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30291         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30292         arrays.
30294 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30296         [BZ #17775]
30297         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30298         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30299         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30301 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30303         * sysdeps/i386/tls-macros.h: Include <features.h>.
30304         (TLS_LE): Use non-PIC version for GCC >= 5.0.
30305         (TLS_IE): Likewise.
30306         (TLS_LD): Likewise.
30307         (TLS_GD): Likewise.
30308         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30309         define for GCC >= 5.0.
30311 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
30313         * math/test-fenv.c (test_single_exception, set_single_exc,
30314         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30315         feexcp_mask_test, feenable_test, fe_single_test): Add
30316         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30317         case where they are not used.
30318         * math/libm-test.inc: Likewise.
30319         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30320         unused in the absence of FP rounding/exception support.
30321         * stdio-common/tst-printf-round.c: Likewise.
30322         * stdlib/tst-strtod-round.c: Likewise.
30323         * stdlib/tst-strtod-underflow.c: Likewise.
30325 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
30327         [BZ #17723]
30328         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30329         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30330         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30331         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30332         libm_hidden_weak.
30333         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30334         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30335         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30336         libm_hidden_def.
30337         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30338         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30339         libm_hidden_weak.
30340         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30341         Likewise.
30342         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30343         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30344         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30345         libm_hidden_weak.
30346         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30347         libm_hidden_def.
30348         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30349         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30350         (__feraiseexcept): Likewise.
30351         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30352         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30353         libm_hidden_weak.
30354         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30355         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30356         libm_hidden_def.
30357         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30358         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30359         Use libm_hidden_def.
30360         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30361         libm_hidden_def.
30362         (feraiseexcept): Define as weak not strong alias.  Use
30363         libm_hidden_weak.
30364         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30365         New inline function.  Factored out of ...
30366         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
30367         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30368         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30369         feraiseexcept.
30370         * math/w_acos.c (__acos): Likewise.
30371         * math/w_asin.c (__asin): Likewise.
30372         * math/w_ilogb.c (__ilogb): Likewise.
30373         * math/w_j0.c (y0): Likewise.
30374         * math/w_j1.c (y1): Likewise.
30375         * math/w_jn.c (yn): Likewise.
30376         * math/w_log.c (__log): Likewise.
30377         * math/w_log10.c (__log10): Likewise.
30378         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30379         * sysdeps/aarch64/fpu/math_private.h
30380         (libc_feupdateenv_test_aarch64): Likewise.
30381         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30382         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30383         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30384         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30385         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30386         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30387         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30388         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30389         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30390         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30392 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30394         [BZ #17732]
30395         * io/test-utime.c (main): Replace %ld with %jd and cast to
30396         intmax_t.
30397         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30398         * nptl/tst-mutex5.c: Include <stdint.h>.
30399         (do_test): Replace %ld with %jd and cast to intmax_t.
30400         * posix/tst-regex.c (run_test): Likewise.
30401         (run_test_backwards): Likewise.
30402         * rt/tst-clock.c: Include <stdint.h>.
30403         (clock_test): Replace %ld with %jd and cast to intmax_t.
30404         * rt/tst-cpuclock1.c: Include <stdint.h>.
30405         (do_test): Replace %lu with %ju and cast to uintmax_t.
30406         * rt/tst-cpuclock2.c: Include <stdint.h>.
30407         (do_test): Replace %lu with %ju and cast to uintmax_t.
30408         * rt/tst-mqueue1.c: Include <stdint.h>.
30409         (check_attrs): Replace %ld with %jd and cast to intmax_t.
30410         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30411         intmax_t.
30412         * rt/tst-mqueue4.c (do_test): Likewise.
30413         * rt/tst-timer4.c: Include <stdint.h>.
30414         (check_ts): Replace %ld with %jd and cast to intmax_t.
30415         (do_test): Likewise.
30416         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30417         and cast to intmax_t.
30418         * sysdeps/pthread/tst-timer.c (main): Likewise.
30419         * time/clocktest.c (main): Likewise.
30420         * time/tst-posixtz.c (do_test): Likewise.
30421         * timezone/tst-timezone.c (main): Likewise.
30423 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30424             H.J. Lu  <hongjiu.lu@intel.com>
30426         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30427         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30428         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30429         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30430         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30431         version if bit_Fast_Unaligned_Load is set.
30432         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30433         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30434         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30435         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30436         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30437         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30438         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30439         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30440         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30441         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30442         to 4.
30443         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30444         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30445         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30446         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30448 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
30450         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30451         instead of #if to avoid a Wundef warning.
30452         * stdlib/tst-limits.c (do_test): Likewise.
30454         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30455         parallel other exception macros.
30456         (fegetenv): Convert from macro to extern inline so that it applies
30457         retroactively to inline functions already seen by the compiler.
30458         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30460         * posix/Makefile (before-compile): Use $(objpfx) for
30461         posix-conf-vars-def.h.
30463 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30465         * posix/getconf.c (main): Use size_t for type of I.
30466         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30467         NSPEC.
30469         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30470         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30471         * posix/posix-envs.def: Likewise.
30472         * sysdeps/posix/sysconf.c: Likewise.
30473         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30474         (specs): Remove array.
30475         * scripts/gen-posix-conf-vars.awk: Support generation of specs
30476         array.
30478         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30479         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30480         (__sysconf): Use CONF_IS_* macros.
30482         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30483         ($(objpfx)posix-conf-vars-def.h): New target.
30484         * posix/posix-conf-vars.list: New file.
30485         * posix/posix-conf-vars.h: New file.
30486         * posix/confstr.c: Include posix-conf-vars.h.
30487         (confstr): Use CONF_IS_* macros.
30488         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
30489         CONF_IS_* macros.
30490         * scripts/gen-posix-conf-vars.awk: New file.
30492 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
30494         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30495         fegetround): Add no-op macros to avoid linknamespace issues.
30497         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30498         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30500         * sysdeps/unix/sysv/linux/tile/sysdep.h
30501         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30502         assembly-specific section to avoid a redefinition warning.
30504         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30505         long before casting to pointer to avoid a cast warning.
30507 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
30509         * sysdeps/tile/tilegx/Implies: New file.
30511 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
30513         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30515 2014-12-23  Florian Weimer  <fweimer@redhat.com>
30517         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30519 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30521         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30522         not define.
30523         * sysdeps/unix/sysv/linux/utimes.c: Do not include
30524         <kernel-features.h>.
30525         (__utimes) [__NR_utimes]: Make code unconditional.
30526         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30527         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30528         (__ASSUME_UTIMES): Do not undefine.
30529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30530         (__ASSUME_UTIMES): Likewise.
30531         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30532         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30533         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30534         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30536 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30538         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30540 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
30542         [BZ #17747]
30543         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30544         alias to weak alias for j0l, y0l.
30545         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30546         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30548         [BZ #17746]
30549         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30550         conversion.
30552 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30554         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30555         to zero if not already defined.
30557 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30559         [BZ #17724]
30560         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30561         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
30562         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
30563         (char *) casts added.
30564         * sysdeps/ieee754/k_standardf.c: New file.
30565         * sysdeps/ieee754/k_standardl.c: Likewise.
30566         * math/Makefile (libm-support): Remove k_standard.
30567         (libm-calls): Add k_standard.
30569 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30571         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30572         Optimize to avoid an unnecessary FPCR read.
30574 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30576         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30577         Optimize to reduce FPCR/FPSR accesses.
30579 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30581         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30582         Call libc_fetestexcept_aarch64.
30584 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30586         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30587         Call libc_fesetround_aarch64.
30589 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30591         [BZ #17733]
30592         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30593         (__bind): Do not define as weak alias.
30594         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30595         define.
30596         (__getsockname): Do not define as weak alias.
30598 2014-12-22  Will Newton  <will.newton@linaro.org>
30600         * manual/install.texi: Document that we require bison 2.7
30601         or above.
30602         * INSTALL: Regenerate.
30603         * configure.ac: Use AC_CHECK_PROG_VER instead of
30604         AC_PATH_PROG when checking for bison and check for
30605         version 2.7 or above.
30606         * configure: Regenerate.
30608 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
30610         [BZ #17745]
30611         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30612         * sysdeps/tile/ffsll.c (ffsll): To here.
30614         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30616 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30618         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30619         if not defined.
30620         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30621         definition.
30622         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30623         hidden ___tls_get_addr.
30624         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30625         hidden __tls_get_addr.
30626         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30627         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30628         Likewise.
30630 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30632         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30633         _dl_init call.
30635 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30637         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30638         from "call _dl_init@PLT".
30639         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30641 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
30643         * manual/search.texi: (Array Sort Function): Clarify stable sorting
30644         guarantees.
30646 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
30648         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30650 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30652         [BZ #17744]
30653         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30654         strnlen.
30656 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30658         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30659         of multu on MIPSr6.
30660         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30661         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30662         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30663         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30664         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30666 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30668         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30669         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30670         (PTR_SUBU): Use subu for mips32r6/mips64r6.
30671         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30672         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30673         mips32r6/mips64r6.
30674         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30676 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
30678         * string/strncat.c (STRNCAT): Simplify implementation.
30680 2014-12-19  David S. Miller  <davem@davemloft.net>
30682         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30683         access the quad as both a long double and as a series of 4 words.
30685         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30686         link_map->l_info array access.
30688 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30690         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30692         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30693         * math/atest-exp2.c (TIMEOUT): Likewise.
30694         * math/atest-sincos.c (TIMEOUT): Likewise.
30696 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30698         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30699         -Wno-error with -fno-builtin-lround.
30701 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30703         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30704         Contains futex constants and functions moved over from ...
30705         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
30706         <lowlevellock-futex.h>.
30707         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30708         (lll_timedwait_tid): Add comments and parentheses around macro
30709         arguments.
30711 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30713         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30714         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
30715         (__lll_private_flag): Remove.
30716         (lll_futex_wait): Likewise.
30717         (lll_futex_timed_wait): Likewise.
30718         (lll_futex_wake): Likewise.
30719         (lll_futex_requeue): Likewise.
30720         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30721         (__lll_timedwait_tid): Spell out argument names.
30722         (lll_timedwait_tid): Add comments and parentheses around macro
30723         arguments.
30724         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30725         LLL_SHARED and LLL_PRIVATE usable from assembly code.
30727 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30729         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30730         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30731         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30732         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30733         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30734         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30735         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30736         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30737         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30738         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30739         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30740         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30741         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30742         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30743         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30744         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30745         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30746         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30747         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30749 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30751         * sysdeps/x86_64/x32/Makefile: New file.
30753 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30755         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30756         1L with (mp_limb_t) 1.
30758 2014-12-17  Roland McGrath  <roland@hack.frob.com>
30760         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30761         * nptl/libc_pthread_init.c: ... here.
30762         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30763         * nptl/register-atfork.c: ... here.
30765         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30766         Use pthread_sigmask rather than INTERNAL_SYSCALL.
30767         Use assert_perror to check its return value.
30768         (__gai_create_helper_thread): Likewise.
30770         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30772         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30774 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
30776         [BZ #17725]
30777         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30778         __profil_counter.
30779         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30780         Likewise.
30781         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30782         Likewise.
30783         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30784         Likewise.
30785         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30786         (profil_counter): Likewise.
30787         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30788         (profil_counter): Likewise.
30789         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30790         Likewise.
30791         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30792         Likewise.
30793         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30794         (profil_counter): Likewise.
30795         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30796         Likewise.
30797         [!__profil_counter] (profil_counter): Define as weak alias of
30798         __profil_counter.
30799         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30800         (profil_counter): Rename to __profil_counter.
30801         [!__profil_counter] (profil_counter): Define as weak alias of
30802         __profil_counter.
30803         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30804         (profil_counter): Rename to __profil_counter.
30805         [!__profil_counter] (profil_counter): Define as weak alias of
30806         __profil_counter.
30807         * sysdeps/posix/profil.c: Update comment referring to
30808         profil_counter.
30809         (__profil): Use __profil_counter instead of profil_counter.
30810         * sysdeps/posix/sprofil.c (profil_counter): Rename to
30811         __profil_counter.  Use __profil_counter_ushort and
30812         __profil_counter_uint in definitions.
30813         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30814         instead of profil_counter_uint and profil_counter_ushort.
30816         [BZ #17722]
30817         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30818         define as weak alias of __inet_makeaddr.
30819         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30820         as weak alias of __inet_addr.
30821         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30822         as weak alias of __inet_pton.  Use libc_hidden_weak.
30823         * include/arpa/inet.h (__inet_pton): Declare.  Use
30824         libc_hidden_proto.
30825         (inet_makeaddr): Don't use libc_hidden_proto.
30826         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
30827         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30828         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
30829         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30830         Remove variable.
30831         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30832         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30834 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
30836         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30838 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30840         * stdio-common/bug-vfprintf-nargs.c (do_test):
30841         Cast value to intptr_t to avoid format warning
30842         for usage with PRIdPTR printing macro.
30844 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30846         * libio/tst-widetext.c (do_test):
30847         Use format type %td instead of %Zd for ptrdiff_t
30848         in order to avoid format warning.
30850 2014-12-17  Andreas Schwab  <schwab@suse.de>
30852         * nscd/mem.c (gc): Add size_t cast to match printf format.
30854 2014-12-16  Roland McGrath  <roland@hack.frob.com>
30856         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30857         (init): Apply PTR_MANGLE to pointers before storing them.
30858         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30859         before using them.
30861 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
30863         [BZ #17719]
30864         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30865         define as weak alias of __memrchr.
30866         (__memrchr): Do not define as strong alias of memrchr.
30867         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30868         Remove variable.
30869         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30870         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30871         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30873         [BZ #17717]
30874         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
30875         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
30876         (if_indextoname): Rename to __if_indextoname and define as weak
30877         alias of __if_indextoname.  Use libc_hidden_weak.
30878         (if_freenameindex): Rename to __if_freenameindex and define as
30879         weak alias of __if_freenameindex.
30880         (if_nameindex): Rename to __if_nameindex and define as weak alias
30881         of __if_nameindex.
30882         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
30883         __if_nametoindex and define as weak alias of __if_nametoindex.
30884         Use libc_hidden_weak.
30885         (if_freenameindex): Rename to __if_freenameindex and define as
30886         weak alias of __if_freenameindex.
30887         (if_nameindex): Rename to __if_nameindex and define as weak alias
30888         of __if_nameindex.
30889         (if_indextoname): Rename to __if_indextoname and define as weak
30890         alias of __if_indextoname.  Use libc_hidden_weak.
30891         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
30892         __if_nametoindex and define as weak alias of __if_nametoindex.
30893         Use libc_hidden_weak.
30894         (if_freenameindex): Rename to __if_freenameindex and define as
30895         weak alias of __if_freenameindex.  Use libc_hidden_weak.
30896         (if_nameindex_netlink): Use __if_freenameindex instead of
30897         if_freenameindex.
30898         (if_nameindex): Rename to __if_nameindex and define as weak alias
30899         of __if_nameindex.  Use libc_hidden_weak.
30900         (if_indextoname): Rename to __if_indextoname and define as weak
30901         alias of __if_indextoname.  Use libc_hidden_weak.
30902         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
30903         libc_hidden_proto.
30904         [!_ISOMAC] (__if_freenameindex): Likewise.
30905         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
30906         if_nametoindex.
30907         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
30908         variable.
30909         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30910         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30911         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30912         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30913         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30914         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30915         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30917         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
30918         Remove variable.
30919         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30920         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30922 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30924         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
30925         subscript above bounds'
30927         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
30928         bounds.
30930 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
30932         * libio/tst-fopenloc.c: Use test-skeleton.c.
30934         * stdlib/tst-bsearch.c: Use test-skeleton.c.
30935         (entry): Rename to ITEM.
30936         (do_test, comp): Adjust.
30938         * stdio-common/tst-fseek.c: Use test-skeleton.c.
30940 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30942         * string/tester.c: Include <libc-internal.h>.
30943         (test_memset): Ignore -Wmemset-transposed-args.
30945 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30947         * misc/tst-mntent2.c (do_test): Fix warning.
30949 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30951         * elf/tst-unique4lib.cc(a): Mark as used.
30953 2014-12-16  Florian Weimer  <fweimer@redhat.com>
30955         [BZ #17630]
30956         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
30957         names.
30959 2014-12-16  Allan McRae  <allan@archlinux.org>
30961         * stdio-common/Makefile (tests): Re-add bug26.
30963 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
30965         [BZ #17657]
30966         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
30967         static array.
30969 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
30971         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
30972         (__lll_lock_wait): Likewise.
30973         (__lll_timedlock_wait): Likewise.
30974         (__lll_timedwait_tid): Likewise.
30975         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
30976         (__lll_robust_timedlock_wait): Likewise.
30977         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
30978         (lll_cond_trylock): Likewise.
30979         (__lll_lock): Likewise.
30980         (__lll_robust_lock): Likewise.
30981         (__lll_cond_lock): Likewise.
30982         (lll_robust_cond_lock): Likewise.
30983         (__lll_timedlock): Likewise.
30984         (__lll_robust_timedlock): Likewise.
30985         (__lll_unlock): Likewise.
30986         (__lll_robust_unlock): Likewise.
30987         (lll_wait_tid): Likewise.
30988         (lll_timedwait_tid): Likewise.
30990 2014-12-15  Torvald Riegel  <triegel@redhat.com>
30992         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
30994 2014-12-15  Torvald Riegel  <triegel@redhat.com>
30996         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
30998 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31000         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31001         * stdio-common/tst-sprintf.c: Likewise.
31003 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31005         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31007 2014-12-15  Jeff Law  <law@redhat.com>
31009         [BZ #16617]
31010         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31011         on the heap.  (CVE-2012-3406)
31012         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31013         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31014         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31016 2014-12-15  Will Newton  <will.newton@linaro.org>
31018         * manual/install.texi: Bump required version of texinfo
31019         to 4.7 from 4.5.
31020         * INSTALL: Regenerated.
31021         * configure.ac: Check for makeinfo version 4.7 and above.
31022         * configure: Regenerated.
31024 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31026         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31027         PREFIX, string constant to insert between directory and name.
31028         * sysdeps/posix/shm_open.c: Update caller.
31029         * sysdeps/posix/shm_unlink.c: Likewise.
31030         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31031         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31032         (SEM_SHM_PREFIX): New macro.
31033         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31034         [$(have-thread-library) = no].
31035         * nptl/Makefile (libpthread-routines): Add shm-directory.
31036         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31037         * sysdeps/nptl/shm-directory.h: New file.
31038         * sysdeps/posix/shm-directory.c
31039         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31040         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31041         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31042         INTERNAL_SYSCALL.
31043         (__where_is_shmfs): Function removed.
31044         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31045         Variables removed.
31046         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31047         Use SHM_GET_NAME.
31048         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31050         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31051         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31052         unconditional for use inside libpthread.
31053         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31055 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31057         * nptl/pthread_getaffinity.c: New file.
31058         * nptl/pthread_setaffinity.c: New file.
31059         * nptl/pthread_getname.c: New file.
31060         * nptl/pthread_setname.c: New file.
31062         * nptl/pthread_create.c (START_THREAD_DEFN)
31063         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31065 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31066             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31068         * resolv/res_send.c (send_vc): Disable warning resplen may
31069         be used uninitialized.
31071 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31073         * nptl/tst-mutex6.c
31074         (ATTR_NULL): New define checks ATTR against NULL.
31075         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31076         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31078 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
31080         [BZ #17581]
31081         * malloc/hooks.c
31082         (mem2mem_check): Revert my previous change.
31083         (malloc_check_get_size): Revert my previous change.
31084         (mem2chunk_check): Revert my previous change.
31086 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31088         * sysdeps/posix/shm-directory.c: New file.
31089         * sysdeps/posix/shm-directory.h: New file.
31090         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31091         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31092         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
31093         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31094         Transmute EPERM to EACCES.
31095         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31096         from ...
31097         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
31098         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31100 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31102         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31103         pointer and cast to uintptr_t.
31104         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31105         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31106         Add cast to avoid warning.
31107         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31109 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31111         * nptl/semaphore.h: Move to ...
31112         * sysdeps/pthread/semaphore.h: ... here.
31113         * Makefile (installed-headers): Change nptl/semaphore.h to
31114         sysdeps/pthread/semaphore.h.
31116 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31118         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31119         generated error format strings.
31121         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31122         -Wformat-extra-args warnings for scanf formats.
31123         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31124         test of zero-length format (duh).
31125         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31126         corner-case scanf format test.
31127         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31128         generated fprintf format string.
31129         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31130         corner-case sprintf format tests.
31131         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31132         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31133         -Wformat-extra-args warnings throughout.
31134         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31135         (CFLAGS-scanf4.c): Likewise.
31136         (CFLAGS-scanf7.c): Likewise.
31137         (CFLAGS-tst-sprintf.c): Likewise.
31138         (CFLAGS-tst-printf.c): Likewise.
31139         (CFLAGS-tst-printfsz.c): Likewise.
31141 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31143         * include/cpio.h: New file.
31144         * include/fmtmsg.h: Likewise.
31146         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
31147         corresponding format argument to size_t.
31148         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
31149         arguments.
31150         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
31151         corresponding format argument to size_t.
31152         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
31153         arguments.
31154         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
31155         corresponding format argument to size_t.
31156         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31157         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31158         (CFLAGS-tst-mbswcs2.c): Likewise.
31159         (CFLAGS-tst-mbswcs3.c): Likewise.
31160         (CFLAGS-tst-mbswcs4.c): Likewise.
31161         (CFLAGS-tst-mbswcs5.c): Likewise.
31162         (CFLAGS-tst-trans.c): Likewise.
31164 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31166         * posix/regexbug1.c (main): Use "%s" format with regerror results,
31167         rather than assuming they won't contain any '%'s.
31169 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
31171         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31172         inhibit_loop_to_libcall to avoid recursive calls.
31173         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31174         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31176 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31178         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31179         prototype.
31181 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31183         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31184         integer value instead of boolean.
31186 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31188         * malloc/malloc.c: Fix powerof2 check.
31190 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31192         * locale/programs/locfile.h (maybe_swap_uint32):
31193         Remove inline and add unused attribute.
31195 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31197         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31198         Truncating assembler expression to a .long expression.
31200 2014-12-11  Andreas Schwab  <schwab@suse.de>
31202         * elf/rtld.c (struct map_args): Constify str member.
31203         (do_preload): Constify fname argument.
31205 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31207         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31208         constants definition.
31210 2014-12-11  Andreas Schwab  <schwab@suse.de>
31212         [BZ #16657]
31213         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31214         FORCE_ELISION instead of DO_ELISION.
31215         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31216         Remove.
31217         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31218         Likewise.
31220         * iconvdata/gconv-modules: Remove duplicate entry.
31222 2014-12-11  Will Newton  <will.newton@linaro.org>
31224         Merge gettext 0.19.3 into intl/.
31226         This involves a number of cosmetic changes to comments
31227         and ANSI function definitions and prototypes throughout
31228         all the files. The gettext copyright header is used but
31229         with the date ranges taken from the glibc copy.
31231         * NEWS: Add gettext merge to 2.21.
31232         * intl/bindtextdom.c: Switch to gettext copyright.
31233         Use ANSI definitions and prototypes.
31234         Use gl_* locking primitives rather than __libc_* ones.
31235         Use __builtin_expect rather than __glibc_likely/unlikely.
31236         * intl/dcgettext.c: Switch to gettext copyright.
31237         Use ANSI definitions and prototypes.
31238         * intl/dcigettext.c: Switch to gettext copyright.
31239         Use ANSI definitions and prototypes.
31240         (INTDIV0_RAISES_SIGFPE): New define.
31241         Use gl_* locking primitives rather than __libc_* ones.
31242         Include eval-plural.h instead of plural-eval.c.
31243         Use __builtin_expect rather than __glibc_likely/unlikely.
31244         * intl/dcngettext.c: Switch to gettext copyright.
31245         Use ANSI definitions and prototypes.
31246         * intl/dgettext.c: Likewise.
31247         * intl/dngettext.c: Likewise.
31248         * intl/plural-eval.c: Renamed to...
31249         * intl/eval-plural.h: ...this.
31250         * intl/explodename.c: Switch to gettext copyright.
31251         Use ANSI definitions and prototypes.
31252         (_nl_explode_name): Use strchr instead of __rawmemchr.
31253         * intl/finddomain.c: Switch to gettext copyright.
31254         Use ANSI definitions and prototypes.
31255         Use gl_* locking primitives rather than __libc_* ones.
31256         (_nl_find_domain): Use malloc rather than alloca for
31257         allocation of temporary locale name.
31258         * intl/gettext.c: Switch to gettext copyright.
31259         Use ANSI definitions and prototypes.
31260         * intl/gettextP.h: Switch to gettext copyright.
31261         Use ANSI definitions and prototypes.
31262         Use gl_* locking primitives rather than __libc_* ones.
31263         * intl/gmo.h: Switch to gettext copyright.
31264         (struct sysdep_string): Move struct segment_pair outside of
31265         struct definition.
31266         * intl/hash-string.c: Use ANSI definitions and prototypes.
31267         * intl/hash-string.h: Switch to gettext copyright.
31268         Use ANSI definitions and prototypes.
31269         * intl/l10nflist.c: Switch to gettext copyright.
31270         Use ANSI definitions and prototypes.
31271         (_nl_normalize_codeset): Avoid integer overflow.
31272         * intl/loadinfo.h: Switch to gettext copyright.
31273         Use ANSI definitions and prototypes.
31274         (LIBINTL_DLL_EXPORTED): New define.
31275         (PATH_SEPARATOR): New define.
31276         * intl/loadmsgcat.c: Switch to gettext copyright.
31277         * intl/localealias.c: Switch to gettext copyright.
31278         Use ANSI definitions and prototypes.
31279         (_nl_expand_alias): Use PATH_SEPARATOR.
31280         * intl/ngettext.c: Switch to gettext copyright.
31281         Use ANSI definitions and prototypes.
31282         * intl/plural-exp.c: Likewise.
31283         * intl/plural-exp.h: Switch to gettext copyright.
31284         Use ANSI definitions and prototypes.
31285         (struct expression): Move definition of enum operator outside
31286         of struct definition.
31287         * intl/plural.c: Regenerate.
31288         * intl/plural.y: Switch to gettext copyright.
31289         Use ANSI definitions and prototypes.
31290         Port to bison 3.0.
31291         * intl/textdomain.c: Switch to gettext copyright.
31292         Use ANSI definitions and prototypes.
31293         Use gl_* locking primitives rather than __libc_* ones.
31295 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
31297         * debug/warning-nop.c: Add used atrribute.
31299 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31301         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31303         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31304         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31305         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31307 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31308             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31310         [BZ #17634]
31311         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31312         Undefine after defining function.  Define as weak alias of
31313         __wcschr.  Use libc_hidden_weak.
31314         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
31315         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31316         (libc_hidden_def): Also define __GI___wcschr alias.
31317         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31318         __wcschr and define as weak alias of __wcschr.
31319         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31320         __wcschr.
31321         [!WCSCHR] (DEFAULT_WCSCHR): Define.
31322         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31323         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
31324         libc_hidden_weak.  Do not use libc_hidden_def.
31325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31326         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31327         __GI___wcschr alias.
31328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31329         [IS_IN (libc)] (wcschr): Define as macro expanding to
31330         __redirect_wcschr.
31331         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31332         [IS_IN (libc)] (__wcschr_power6): Likewise.
31333         [IS_IN (libc)] (__wcschr_power7): Likewise.
31334         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
31335         instead of wcschr.
31336         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31337         __libc_wcschr.
31338         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31339         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31340         __wcschr and define as weak alias of __wcschr.  Use
31341         libc_hidden_builtin_def.
31342         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31343         as weak alias of __wcschr.  Use libc_hidden_weak.
31344         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31345         wcschr.
31346         * time/era.c (_nl_init_era_entries): Likewise.
31347         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31348         variable.
31349         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31350         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31352 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31354         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31355         format for long int variable.
31357 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
31359         [BZ #10672]
31360         * manual/search.texi: (Array Sort Function): Remove claim how to make
31361         qsort stable.
31363 2014-12-10  Andreas Schwab  <schwab@suse.de>
31365         [BZ #12847]
31366         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31367         user-controlled locks.
31369 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
31371         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31372         register.
31374 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31376         * configure.ac (--disable-werror): New configure option.
31377         (enable_werror): New AC_SUBST.
31378         * configure: Regenerated.
31379         * config.make.in (enable-werror): New variable.
31380         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31381         -Wno-error=undef.
31382         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31383         * manual/install.texi (Configuring and compiling): Document
31384         --disable-werror.
31385         * INSTALL: Regenerated.
31386         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31387         (CFLAGS-tst-chk2.c): Likewise.
31388         (CFLAGS-tst-chk3.c): Likewise.
31389         (CFLAGS-tst-chk4.cc): Likewise.
31390         (CFLAGS-tst-chk5.cc): Likewise.
31391         (CFLAGS-tst-chk6.cc): Likewise.
31392         (CFLAGS-tst-lfschk1.c): Likewise.
31393         (CFLAGS-tst-lfschk2.c): Likewise.
31394         (CFLAGS-tst-lfschk3.c): Likewise.
31395         (CFLAGS-tst-lfschk4.cc): Likewise.
31396         (CFLAGS-tst-lfschk5.cc): Likewise.
31397         (CFLAGS-tst-lfschk6.cc): Likewise.
31399         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31400         (main): Disable -Wdeprecated-declarations around calls to
31401         register_printf_function.
31403         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31404         (do_test): Disable -Wdiv-by-zero around some calls to
31405         fwrite_unlocked and fread_unlocked.
31407         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31408         (DIAG_POP_NEEDS_COMMENT): Likewise.
31409         (_DIAG_STR1): Likewise.
31410         (_DIAG_STR): Likewise.
31411         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31412         * stdio-common/bug21.c: Include <libc-internal.h>.
31413         (do_test): Disable -Wformat around call to sscanf.
31414         * stdio-common/scanf14.c: Include <libc-internal.h>.
31415         (main): Disable -Wformat around some calls to scanf functions.
31417 2014-12-09  Torvald Riegel  <triegel@redhat.com>
31419         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31421 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31423         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31424         stack variable alignment.
31426 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
31428         [BZ #17682]
31429         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31430         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31431         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31432         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31433         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31434         __getrlimit instead of getrlimit.
31435         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31436         __gettimeofday instead of gettimeofday.
31437         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31438         Likewise.
31439         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31440         Likewise.
31441         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31442         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31443         Remove variable.
31444         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31445         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31447 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31449         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31450         for wide-character tests.
31452 2014-12-04  Roland McGrath  <roland@hack.frob.com>
31454         * io/openat64.c: #include <libc-internal.h>
31455         (__openat64): Prototypify.  Use ignore_value on MODE.
31456         * io/openat.c: Likewise.
31457         * misc/reboot.c: #include <libc-internal.h>
31458         (reboot): Prototypify.  Use ignore_value on HOWTO.
31459         * misc/ptrace.c: #include <libc-internal.h>
31460         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
31462 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
31464         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31465         XPG4, UNIX98 and XOPEN2K.
31466         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31467         Remove variable.
31468         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31470 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31472         * libio/fileops.c: Use ISO C style for function definitions.
31473         * libio/iofopen.c: Likewise.
31474         * libio/wfileops.c: Likewise.
31476         [BZ #17653]
31477         * libio/fileops.c (_IO_new_file_underflow): Unset cached
31478         offset on EOF.
31479         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31480         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31481         (fgets_func): Function pointer to fgets and fgetws.
31482         (do_ftell_test): Add test to verify ftell value after read
31483         EOF.
31484         (do_test): Set fgets_func.
31486         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31487         O_TRUNC flag for w and w+ modes.
31488         (do_rewind_test): Likewise.
31489         (do_ftell_test): Likewise.
31490         (do_write_test): Likewise.
31492         [BZ #17647]
31493         * libio/fileops.c (do_ftell): Seek only when there are
31494         unflushed writes.
31495         * libio/wfileops.c (do_ftell_wide): Likewise.
31496         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31497         test case.
31498         (do_one_test): Call it.
31500 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
31502         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31503         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31504         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31505         Remove variable.
31506         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31507         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31508         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31510 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31512         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31513         Remove variable.
31514         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31516         [BZ #17668]
31517         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31518         as weak alias of __getifaddrs.  Use libc_hidden_weak.
31519         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31520         __freeifaddrs.  Use libc_hidden_weak.
31521         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31522         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
31523         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31524         __freeifaddrs.  Use libc_hidden_weak.
31525         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31526         __getifaddrs and define as weak alias of __getifaddrs.  Use
31527         libc_hidden_weak.
31528         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31529         __freeifaddrs.  Use libc_hidden_weak.
31530         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31531         Remove variable.
31532         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31533         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31535 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31537         [BZ #17601]
31538         * sysdeps/mips/start.S (__start): Use indirect jump to call
31539         __libc_start_main.
31541 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31543         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31545         * nptl/tst-mutex1.c: Include <stdbool.h>.
31546         [!ATTR] (ATTR_NULL): New macro.
31547         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31548         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31549         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31551         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31552         to char *.
31554         [BZ #17665]
31555         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31556         Change conditional to [__USE_MISC].
31558         [BZ #17664]
31559         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31560         fgets_unlocked.
31561         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31562         __fgets_unlocked.
31563         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31564         fgets_unlocked.
31565         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31566         Remove variable.
31567         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31568         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31569         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31570         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31571         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31572         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31573         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31574         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31575         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31577         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31579 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31582         Remove strpbrk objects.
31583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31584         (__libc_ifunc_impl_list): Remove strpbrk implementation.
31585         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31586         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31587         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31588         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31590         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31591         Remove strcspn objects.
31592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31593         (__libc_ifunc_impl_list): Remove strcspn implementation.
31594         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31595         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31596         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31597         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31599         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31600         Remove strspn objetcs.
31601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31602         (__libc_ifunc_impl_list): Remove strspn implementation.
31603         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31604         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31605         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31606         * sysdeps/powerpc/powerpc64/strspn.S: New file.
31608 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
31610         [BZ #17581]
31611         * malloc/hooks.c
31612         (mem2mem_check): Add a terminator to the chain of checking blocks.
31613         (malloc_check_get_size): Use it here.
31614         (mem2chunk_check): Ditto.
31616 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31618         * sysdeps/powerpc/powerpc64/strtok.S: New file.
31619         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31621 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
31623         * bits/ioctl-types.h: Indent preprocessor directives correctly.
31625         * nptl/nptl-init.c: Include libc-internal.h.
31626         (__pthread_initialize_minimal_internal): Use ROUND_UP.
31628         * elf/ldconfig.c (search_dir): Expand comment.
31630 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
31632         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31633         variable.
31634         (linknamespace-symlist-stdlibs-tests): Likewise.
31635         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31636         instead of $(objpfx)symlist-stdlibs.
31637         (linknamespace-libs-isoc): New variable.
31638         (linknamespace-libs): Use $(linknamespace-libs-isoc).
31639         (linknamespace-libs-ISO): New variable.
31640         (linknamespace-libs-ISO99): Likewise.
31641         (linknamespace-libs-ISO11): Likewise.
31642         (linknamespace-libs-XPG3): Likewise.
31643         (linknamespace-libs-XPG4): Likewise.
31644         (linknamespace-libs-POSIX): Likewise.
31645         (linknamespace-libs-UNIX98): Likewise.
31646         (linknamespace-libs-XOPEN2K): Likewise.
31647         (linknamespace-libs-POSIX2008): Likewise.
31648         (linknamespace-libs-XOPEN2K8): Likewise.
31649         ($(objpfx)symlist-stdlibs): Replace by
31650         $(linknamespace-symlist-stdlibs-tests).  Use
31651         $(linknamespace-libs-$*) as set of libraries.
31652         ($(linknamespace-header-tests)): Update dependencies.  Use
31653         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31654         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31655         * conform/linknamespace.pl: Remove comment about considering
31656         definitions of symbols from irrelevant libraries.
31658 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
31660         [BZ #13862]
31661         * elf/dl-tls.c: Include <atomic.h>.
31662         (oom): Remove #ifdef SHARED/#endif.
31663         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31664         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
31665         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31666         big enough.
31667         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31668         * nptl/Makefile (tests): Add tst-stack4.
31669         (modules-names): Add tst-stack4mod.
31670         ($(objpfx)tst-stack4): New.
31671         (tst-stack4mod.sos): Likewise.
31672         ($(objpfx)tst-stack4.out): Likewise.
31673         ($(tst-stack4mod.sos)): Likewise.
31674         (clean): Likewise.
31675         * nptl/tst-stack4.c: New file.
31676         * nptl/tst-stack4mod.c: Likewise.
31678 2014-11-27  J. Brown  <jb999@gmx.de>
31680         * sysdeps/x86/bits/string.h: Add recent CPUs.
31682 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31684         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31685         sigblock.
31687         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31688         feof.
31690         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31691         variable.
31693 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
31695         * nscd/connections.c: Include libc-internal.h because of macro
31696         usage ignore_value.
31698 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31700         * string/bits/string3.h (__warn_memset_zero_len): Don't
31701         declare for gcc newer than 5.0.
31702         (memset): Don't test for zero-length __LEN for gcc newer than
31703         5.0.
31705 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31707         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31708         size_t for %zu format.
31710         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31711         difference, not %ju.
31713 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31715         * include/libc-internal.h (ignore_value): New macro.
31716         * nscd/connections.c (restart): Wrap calls to setuid and setgid
31717         with ignore_value.
31719         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31720         definition.
31722         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31723         pthread_cleanup_push to void *.
31725         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31726         Undefine.
31728         [BZ #16619]
31729         [BZ #16740]
31730         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31731         instead of 1L << 52.
31733         * libio/bug-rewind.c (do_test): Check fwscanf return values.
31734         * libio/bug-rewind2.c (do_test): Likewise.
31736         * debug/test-stpcpy_chk-ifunc.c: Remove file.
31737         * debug/test-strcpy_chk-ifunc.c: Likewise.
31738         * wcsmbs/test-wcschr-ifunc.c: Likewise.
31739         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31740         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31741         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31742         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31743         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31744         * Rules [$(multi-arch) = no] (tests): Do not filter out
31745         $(tests-ifunc).
31746         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31747         * debug/Makefile (tests-ifunc): Remove variable.
31748         (tests): Do not add $(tests-ifunc).
31749         * wcsmbs/Makefile (tests-ifunc): Remove variable.
31750         (tests): Do not add $(tests-ifunc).
31751         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31752         [TEST_IFUNC]: Remove conditionals.
31753         * string/test-string.h (TEST_IFUNC): Remove macro.
31754         [TEST_IFUNC]: Remove conditionals.
31756         * string/test-strchr.c [!WIDE] (L): New macro.
31757         [WIDE] (L): Likewise.
31758         (check1): Use CHAR instead of char.  Use L on string and character
31759         constants.
31761 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
31763         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31764         tests.
31765         * sysdeps/powerpc/bits/atomic.h
31766         (__arch_atomic_exchange_and_add_32_acq): Add definition.
31767         (__arch_atomic_exchange_and_add_32_rel): Likewise.
31768         (atomic_exchange_and_add_acq): Likewise.
31769         (atomic_exchange_and_add_rel): Likewise.
31770         * sysdeps/powerpc/powerpc32/bits/atomic.h
31771         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31772         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31773         * sysdeps/powerpc/powerpc64/bits/atomic.h
31774         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31775         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31777 2014-11-26  Torvald Riegel  <triegel@redhat.com>
31779         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31780         Change synchronization of __sched_fifo_min_prio and
31781         __sched_fifo_max_prio.
31782         * nptl/pthread_mutexattr_getprioceiling.c
31783         (pthread_mutexattr_getprioceiling): Likewise.
31784         * nptl/pthread_mutexattr_setprioceiling.c
31785         (pthread_mutexattr_setprioceiling): Likewise.
31786         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31787         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31788         Likewise.
31790 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31792         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31793         void.
31795 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31797         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31798         third argument const.
31800 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
31802         fnmatch: work around GCC compiler warning bug with uninit var
31803         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31804         This works around a bug with x86-64 GCC 4.9.2 and earlier
31805         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31806         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31807         used uninitialized in this function [-Wmaybe-uninitialized]".
31809 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31811         * posix/bug-regex31.c (main): Return RES not 0.
31813 2014-11-25  Anton Blanchard <anton@samba.org>
31815         * sysdeps/powerpc/bits/atomic.h
31816         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31818 2014-11-24  Sterling Augustine  <saugustine@google.com>
31820         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31822 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
31824         [BZ #17608]
31825         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31827 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
31829         [BZ #17633]
31830         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31831         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31832         variable.
31833         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31834         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31836 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31838         * string/strncpy.c (strncpy): Improve performance by using memset.
31840 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31842         * string/strcpy.c (strcpy):
31843         Improve performance by using strlen and memcpy.
31845 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
31847         * string/strcoll_l.c (get_next_seq): __always_inline.
31848         * string/strcoll_l.c (do_compare): __always_inline.
31850 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31852         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31853         defined.
31854         * include/mqueue.h: Likewise.
31855         * include/stdlib.h: Likewise.
31857         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31858         (get_null_defines): Adjust.
31859         * sunrpc/Makefile: Adjust comment.
31860         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31861         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31862         (CFLAGS-interp.c): Likewise.
31863         (CFLAGS-ldconfig.c): Likewise.
31864         (CPPFLAGS-.os): Likewise.
31865         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31866         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31867         * extra-modules.mk (extra-modules.mk): Likewise.
31868         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31869         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31870         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
31871         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
31872         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
31873         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
31874         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
31875         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
31876         * iconvdata/Makefile (CPPFLAGS): Likewise.
31877         (cpp-srcs-left): Add libof for all iconvdata routines.
31878         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
31879         * include/assert.h: Likewise.
31880         * include/ctype.h: Likewise.
31881         * include/errno.h: Likewise.
31882         * include/libc-symbols.h: Likewise.
31883         * include/math.h: Likewise.
31884         * include/netdb.h: Likewise.
31885         * include/resolv.h: Likewise.
31886         * include/stdio.h: Likewise.
31887         * include/stdlib.h: Likewise.
31888         * include/string.h: Likewise.
31889         * include/sys/stat.h: Likewise.
31890         * include/wctype.h: Likewise.
31891         * intl/l10nflist.c: Likewise.
31892         * libidn/idn-stub.c: Likewise.
31893         * libio/libioP.h: Likewise.
31894         * nptl/libc_multiple_threads.c: Likewise.
31895         * nptl/pthreadP.h: Likewise.
31896         * posix/regex_internal.h: Likewise.
31897         * resolv/res_hconf.c: Likewise.
31898         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
31899         * sysdeps/arm/memmove.S: Likewise.
31900         * sysdeps/arm/sysdep.h: Likewise.
31901         * sysdeps/generic/_itoa.h: Likewise.
31902         * sysdeps/generic/symbol-hacks.h: Likewise.
31903         * sysdeps/gnu/errlist.awk: Likewise.
31904         * sysdeps/gnu/errlist.c: Likewise.
31905         * sysdeps/i386/i586/memcpy.S: Likewise.
31906         * sysdeps/i386/i586/memset.S: Likewise.
31907         * sysdeps/i386/i686/memcpy.S: Likewise.
31908         * sysdeps/i386/i686/memmove.S: Likewise.
31909         * sysdeps/i386/i686/mempcpy.S: Likewise.
31910         * sysdeps/i386/i686/memset.S: Likewise.
31911         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31912         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31913         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
31914         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
31915         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31916         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31917         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
31918         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31919         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31920         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31921         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31922         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31923         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31924         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31925         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31926         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31927         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
31928         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
31929         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
31930         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31931         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31932         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31933         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31934         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31935         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31936         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31937         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
31938         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31939         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
31940         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31941         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31942         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31944         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31945         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31946         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31947         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31948         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31949         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31950         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31951         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31952         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31953         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31954         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31955         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31956         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31957         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
31958         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
31959         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31960         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31961         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31962         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
31963         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
31964         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31965         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31966         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
31967         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31968         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
31969         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
31970         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31971         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31972         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31973         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
31974         * sysdeps/nptl/bits/libc-lock.h: Likewise.
31975         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31976         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
31977         * sysdeps/posix/closedir.c: Likewise.
31978         * sysdeps/posix/opendir.c: Likewise.
31979         * sysdeps/posix/readdir.c: Likewise.
31980         * sysdeps/posix/rewinddir.c: Likewise.
31981         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
31982         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
31983         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31984         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31985         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31986         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
31987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
31988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
31989         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
31990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
31991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
31992         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
31993         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
31994         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
31995         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
31996         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
31997         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
31998         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
31999         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32000         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32001         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32002         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32003         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32004         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32005         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32007         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32008         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32009         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32016         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32017         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32018         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32019         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32020         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32021         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32022         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32023         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32024         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32025         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32026         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32027         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32028         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32029         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32030         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32031         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32032         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32033         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32034         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32035         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32036         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32037         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32038         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32039         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32040         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32041         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32042         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32043         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32044         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32045         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32046         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32047         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32048         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32049         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32050         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32052         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32053         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32054         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32055         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32056         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32057         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32058         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32059         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32060         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32061         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32062         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32063         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32064         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32065         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32066         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32067         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32068         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32069         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32070         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32071         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32072         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32073         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32074         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32075         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32076         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32077         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32078         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32079         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32080         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32081         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32082         * sysdeps/unix/alpha/sysdep.S: Likewise.
32083         * sysdeps/unix/alpha/sysdep.h: Likewise.
32084         * sysdeps/unix/make-syscalls.sh: Likewise.
32085         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32086         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32087         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32088         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32089         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32090         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32091         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32092         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32093         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32094         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32095         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32096         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32097         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32098         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32099         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32100         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32101         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32102         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32103         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32104         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32105         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32106         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32107         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32108         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32109         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32110         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32111         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32114         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32115         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32116         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32119         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32120         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32122         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32123         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32124         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32125         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32126         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32127         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32128         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32129         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32131         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32132         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32134         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32135         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32136         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32137         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32138         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32139         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32140         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32141         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32143         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32144         * sysdeps/x86_64/memcpy.S: Likewise.
32145         * sysdeps/x86_64/memmove.c: Likewise.
32146         * sysdeps/x86_64/memset.S: Likewise.
32147         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32148         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32149         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32150         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32151         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32152         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32153         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32154         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32155         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32156         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32157         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32158         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32159         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32160         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32161         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32162         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32163         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32164         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32165         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32166         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32167         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32168         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32169         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32170         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32171         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32172         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32173         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32174         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32175         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32176         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32177         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32178         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32179         * sysdeps/x86_64/strcmp.S: Likewise.
32181         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32183         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32184         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32185         * elf/rtld-Rules: Likewise.
32186         * elf/setup-vdso.h: Likewise.
32187         * include/assert.h: Likewise.
32188         * include/bits/stdlib-float.h: Likewise.
32189         * include/errno.h: Likewise.
32190         * include/sys/stat.h: Likewise.
32191         * include/unistd.h: Likewise.
32192         * sysdeps/aarch64/setjmp.S: Likewise.
32193         * sysdeps/alpha/setjmp.S: Likewise.
32194         * sysdeps/arm/__longjmp.S: Likewise.
32195         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32196         * sysdeps/arm/setjmp.S: Likewise.
32197         * sysdeps/arm/sysdep.h: Likewise.
32198         * sysdeps/generic/_itoa.h: Likewise.
32199         * sysdeps/generic/dl-sysdep.h: Likewise.
32200         * sysdeps/generic/ldsodefs.h: Likewise.
32201         * sysdeps/i386/dl-tls.h: Likewise.
32202         * sysdeps/i386/setjmp.S: Likewise.
32203         * sysdeps/m68k/setjmp.c: Likewise.
32204         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32205         * sysdeps/mach/hurd/opendir.c: Likewise.
32206         * sysdeps/posix/getcwd.c: Likewise.
32207         * sysdeps/posix/opendir.c: Likewise.
32208         * sysdeps/posix/profil.c: Likewise.
32209         * sysdeps/powerpc/dl-procinfo.h: Likewise.
32210         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32211         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32212         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32213         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32214         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32215         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32216         * sysdeps/s390/dl-tls.h: Likewise.
32217         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32218         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32219         * sysdeps/sh/sh3/setjmp.S: Likewise.
32220         * sysdeps/sh/sh4/setjmp.S: Likewise.
32221         * sysdeps/unix/alpha/sysdep.h: Likewise.
32222         * sysdeps/unix/arm/sysdep.S: Likewise.
32223         * sysdeps/unix/i386/sysdep.S: Likewise.
32224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32225         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32226         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32227         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32228         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32229         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32230         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32231         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32232         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32233         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32234         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32235         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32236         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32239         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32241         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32242         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32243         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32244         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32245         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32246         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32247         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32248         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32249         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32250         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32251         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32252         * sysdeps/x86_64/setjmp.S: Likewise.
32254         * include/math.h: Use IS_IN instead of IS_IN_libm.
32255         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32256         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32257         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32258         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32259         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32260         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32261         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32262         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32263         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32264         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32265         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32266         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32267         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32268         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32269         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32270         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32271         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32272         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32273         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32274         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32275         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32276         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32277         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32278         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32279         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32280         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32281         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32282         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32283         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32284         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32285         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32286         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32287         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32289         Likewise.
32290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32291         Likewise.
32292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32293         Likewise.
32294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32295         Likewise.
32296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32297         Likewise.
32298         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32299         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32300         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32301         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32302         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32303         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32309         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32310         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32311         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32312         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32313         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32314         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32315         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32316         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32317         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32318         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32319         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32320         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32321         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32322         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32324         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32326         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32327         * nptl/pthreadP.h: Likewise.
32328         * nptl_db/structs.def: Likewise.
32329         * sysdeps/arm/sysdep.h: Likewise.
32330         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32331         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32332         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32333         * sysdeps/unix/alpha/sysdep.h: Likewise.
32334         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32335         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32336         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32337         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32338         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32339         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32340         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32341         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32342         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32343         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32344         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32345         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32346         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32347         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32351         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32352         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32355         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32356         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32357         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32358         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32359         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32361         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32362         * nptl/pthreadP.h: Likewise.
32363         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32364         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32365         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32366         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32367         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32368         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32369         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32370         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32371         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32372         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32373         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32374         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32376         Likewise.
32377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32378         Likewise.
32379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32380         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32381         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32384         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32385         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32386         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32388         * dlfcn/dladdr.c: Use IS_IN.
32389         * dlfcn/dladdr1.c: Likewise.
32390         * dlfcn/dlclose.c: Likewise.
32391         * dlfcn/dlerror.c: Likewise.
32392         * dlfcn/dlinfo.c: Likewise.
32393         * dlfcn/dlmopen.c: Likewise.
32394         * dlfcn/dlopen.c: Likewise.
32395         * dlfcn/dlsym.c: Likewise.
32396         * dlfcn/dlvsym.c: Likewise.
32398         * include/ifaddrs.h: Use IS_IN.
32399         * inet/check_pf.c: Likewise.
32400         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32401         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32403         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32404         IS_IN_ldconfig.
32405         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32406         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32408         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32409         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32410         IS_IN (libc).
32412         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32414         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32415         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32416         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32417         * include/libc-symbols.h (IS_IN_LIB): New macro.
32418         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32419         * include/netdb.h: Likewise.
32420         * include/stap-probe.h: Remove all uses of IN_LIB.
32422         * Makeconfig (module-cppflags-real): Define MODULE_NAME
32423         instead of IN_MODULE.
32424         * include/libc-symbols.h (IN_MODULE): Define using
32425         MODULE_NAME.
32426         (PASTE_NAME, PASTE_NAME1): New macros.
32427         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32428         of IN_LIB.
32429         (STAP_PROBE_ASM): Likewise.
32431 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32433         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32434         __mach_init in dlopened libc.
32436 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
32438         * sysdeps/arm/preconfigure.ac: Delete EABI check.
32439         * sysdeps/arm/preconfigure: Regenerate.
32441 2014-11-21  Roland McGrath  <roland@hack.frob.com>
32443         * nptl/pthread_create.c (__pthread_create_2_1): Set
32444         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32445         when copying values from IATTR into PD.
32447 2014-11-21  Will Newton  <will.newton@linaro.org>
32448             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
32450         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32451         Refactor inline-asm.  Also add comment.
32453         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32454         ElfW macro instead of hardcoded Elf64 types.
32455         (la_aarch64_gnu_pltenter): Likewise.
32456         * sysdeps/aarch64/dl-machine.h
32457         (elf_machine_runtime_setup): Use ElfW(Addr).
32459         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32460         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32461         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32462         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32463         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32464         (R_AARCH64_TLS_DTPMOD64): Rename to ..
32465         (R_AARCH64_TLS_DTPMOD): This.
32466         (R_AARCH64_TLS_DTPREL64): Rename to ...
32467         (R_AARCH64_TLS_DTPREL): This.
32468         (R_AARCH64_TLS_TPREL64): Rename to ...
32469         (R_AARCH64_TLS_TPREL): This.
32470         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32471         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32472         R_AARCH64_TLS_TPREL64.
32473         (elf_machine_rela): Likewise.
32475 2014-11-21  Torvald Riegel  <triegel@redhat.com>
32477         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32478         by setting it to 0.  64b atomics are not supported currently.
32480 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32482         [BZ #16469]
32483         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32484         search domain names.
32486 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32488         [BZ #16469]
32489         * NEWS: Update.
32490         * resolv/res_query.c (__libc_res_nquerydomain): Retain
32491         trailing dot.
32492         * posix/tst-getaddrinfo5.c: New.
32493         * posix/Makefile (tests): Add it.
32495 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32497         [BZ #14498]
32498         * NEWS: Fixed.
32499         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32500         after parsing line but before break_if_match.
32501         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32502         if there is a protocol mismatch.
32504 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32506         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32507         because the potential race is on the user-supplied stream.
32509 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32511         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32512         string literal if not passed a buffer.
32513         * manual/job.texi (ctermid): Update reasoning, note deviation
32514         from posix, suggest mtasurace when not passed a buffer, for
32515         future non-preliminary safety notes.
32517 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32519         * manual/users.texi (cuserid): Fix MT-Safety note for the case
32520         of not passing it a buffer.
32521         Reported by Peng Haitao.
32523 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32525         * manual/Makefile ($(objpfx)stamp-summary): Require
32526         check-safety.sh to pass.
32527         * manual/check-safety.sh: Wish for verification that every
32528         @deftypefn and @deftypefun is followed by a @safety remark.
32530 2014-11-20  Roland McGrath  <roland@hack.frob.com>
32532         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32534         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32535         PTHREAD_CANCEL_ASYNCHRONOUS.
32536         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32537         send SIGCANCEL.
32539         * nptl/default-sched.h: New file.
32540         * sysdeps/unix/sysv/linux/default-sched.h: New file.
32541         * nptl/pthread_create.c: Include it.
32542         (__pthread_create_2_1): Use collect_default_sched instead of making
32543         Linux syscalls here directly.
32545 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32547         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32548         __pthread_once): Use C11 atomics.
32550 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32552         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32554 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32556         * include/atomic.h (__atomic_link_error, __atomic_check_size,
32557         atomic_thread_fence_acquire, atomic_thread_fence_release,
32558         atomic_thread_fence_seq_cst, atomic_load_relaxed,
32559         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32560         atomic_compare_exchange_weak_relaxed,
32561         atomic_compare_exchange_weak_acquire,
32562         atomic_compare_exchange_weak_release,
32563         atomic_exchange_acquire, atomic_exchange_release,
32564         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32565         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32566         atomic_fetch_and_acquire,
32567         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32569 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32571         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32572         USE_ATOMIC_COMPILER_BUILTINS): Define.
32573         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32574         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32575         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32576         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32577         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32578         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32579         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32580         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32581         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32582         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32583         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32585         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32587         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32589         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32591         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32593         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32595         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32597         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32599         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32601         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32603         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32605         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32607         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32608         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32609         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32611         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32614 2014-11-19  Roland McGrath  <roland@hack.frob.com>
32616         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32617         the sched_priority value here.  It was already checked when the user
32618         called pthread_attr_setschedparam.
32620         * nptl/tst-bad-schedattr.c: New file.
32621         * nptl/Makefile (tests): Add it.
32623 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
32624             Florian Weimer  <fweimer@redhat.com>
32625             Joseph Myers  <joseph@codesourcery.com>
32626             Adam Conrad  <adconrad@0c3.net>
32627             Andreas Schwab  <schwab@suse.de>
32628             Brooks  <bmoses@google.com>
32630         [BZ #17625]
32631         * wordexp-test.c (__dso_handle): Add prototype.
32632         (__register_atfork): Likewise.
32633         (__app_register_atfork): New function.
32634         (registered_forks): New global.
32635         (register_fork): New function.
32636         (test_case): Add 3 new tests for WRDE_CMDSUB.
32637         (main): Call __app_register_atfork.
32638         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32639         fork count is non-zero fail the test.
32640         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32641         is set.
32642         (parse_dollars): Remove check for WRDE_NOCMD.
32643         (parse_dquote): Likewise.
32645 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32647         * Makeconfig (built-modules): List non-library modules to be
32648         built.
32649         (module-cppflags): Include libc-modules.h for
32650         everything except shlib-versions.v.i.
32651         (CPPFLAGS): Use it.
32652         (before-compile): Add libc-modules.h.
32653         ($(common-objpfx)libc-modules.h,
32654         $(common-objpfx)libc-modules.stmp): New targets.
32655         (common-generated): Add libc-modules.h and libc-modules.stmp.
32656         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32657         * include/libc-symbols.h: Don't include libc-modules.h.
32658         * include/libc-modules.h: Remove file.
32659         * scripts/gen-libc-modules.awk: New script to generate
32660         libc-modules.h.
32661         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32662         Depend on libc-modules.stmp.
32664         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32666         * Makeconfig (in-module): Get value of libof set for the
32667         translation unit.
32668         (CPPFLAGS): Use $(in-module).
32669         * Makerules: Don't suffix routine names for nonlib.
32670         * include/libc-modules.h: New file.
32671         * include/libc-symbols.h: Include libc-modules.h
32672         (IS_IN): New macro to replace IS_IN_* macros.
32673         * elf/Makefile: Set libof-* for each routine.
32674         * elf/rtld-Rules: Likewise.
32675         * extra-modules.mk: Likewise.
32676         * iconv/Makefile: Likewise.
32677         * iconvdata/Makefile: Likewise.
32678         * locale/Makefile: Likewise.
32679         * malloc/Makefile: Likewise.
32680         * nss/Makefile: Likewise.
32681         * sysdeps/gnu/Makefile: Likewise.
32682         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32683         * sysdeps/unix/sysv/linux/Makefile: Likewise.
32684         * sysdeps/s390/s390-64/Makefile: Likewise.
32685         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
32686         CPPFLAGS for nscd instead of nonlib.
32688 2014-11-18  Roland McGrath  <roland@hack.frob.com>
32690         * nptl/createthread.c: New file.
32692         * nptl/createthread.c: Moved ...
32693         * sysdeps/unix/sysv/linux/createthread.c: ... here.
32695         * nptl/createthread.c: Add proper top-line comment.
32696         (do_clone): Folded into ...
32697         (create_thread): ... here.  Take new arguments STOPPED_START and
32698         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
32699         increment __nptl_threads, do event-reporting logic, do
32700         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32701         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
32702         resource cleanup if sched_setaffinity or sched_setscheduler fails,
32703         just send SIGCANCEL.
32704         * nptl/pthread_create.c: Forward-declare create_thread before
32705         including createthread.c.
32706         (start_thread): Use new macro START_THREAD_DEFN to replace defining
32707         declaration, and new macro START_THREAD_SELF to replace argument.
32708         Remove return statement.
32709         (report_thread_creation): New function.
32710         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
32711         synchronization logic, and __nptl_nthreads increment here, around
32712         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
32713         PD->parent_cancelhandling here, before create_thread.  When
32714         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32715         __deallocate_stack, and ENOMEM translation here.
32717 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
32719         [BZ #17616]
32720         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32721         (mptwo): Rename to __mptwo.
32722         (__inv): Use __mptwo instead of mptwo.
32723         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32724         (mptwo): Rename to __mptwo.
32725         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32726         of mpone and __mptwo instead of mptwo.
32727         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32728         instead of mpone.
32729         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32730         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32731         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32732         of mpone and __mptwo instead of mptwo.
32733         (__mpranred): Use __mpone instead of mpone.
32734         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32735         variable.
32736         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32737         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32738         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32739         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32740         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32741         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32742         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32743         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32744         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32745         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32746         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32747         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32748         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32749         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32750         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32751         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32752         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32753         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32754         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32756 2014-11-18  Tom de Vries  <tom@codesoucery.com>
32758         * manual/signal.texi (Primitives Interrupted by Signals): In section,
32759         replace BSD Handler xref with BSD Signal Handling.
32761 2014-11-17  Richard Henderson  <rth@redhat.com>
32763         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32764         (_FP_PACK_RAW_2): Remove.
32765         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32766         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32767         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32768         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32769         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32770         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32771         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32772         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32773         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32774         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32775         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32776         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32777         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32778         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32779         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32780         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32782 2014-11-14  Roland McGrath  <roland@hack.frob.com>
32784         * signal/signal.h [__USE_MISC]
32785         (struct sigvec): Remove type.
32786         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32787         (sigvec): Remove declaration.
32788         * sysdeps/posix/sigvec.c: Moved ...
32789         * signal/sigvec.c: ... here, replacing old file.
32790         (struct sigvec): New type, copied from old signal.h definition.
32791         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32792         (__sigvec): Convert definition to prototype.
32793         (sigvec): Replace weak_alias with compat_symbol.
32794         * signal/Versions (libc: GLIBC_2.21): New version set.
32795         * include/signal.h: Remove __sigvec declaration.
32796         * sysdeps/unix/bsd/sigvec.c: Remove file.
32797         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32798         * manual/signal.texi (BSD Handler): Remove subsection.
32799         Move siginterrupt up to ...
32800         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
32801         (Blocking in BSD): Fold subsection into its parent.
32802         * NEWS: Mention sigvec removal.
32804 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32806         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32807         (DLA_FMS): Make definition conditional only on [__FMA4__].
32808         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32809         definition.
32811         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32812         Make definition conditional only on [PROF].
32813         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32814         definition.
32815         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32816         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32818         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32819         !__GNUC__].
32820         * include/signal.h (__sigpause): Move declaration above call to
32821         libc_hidden_proto.
32822         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32823         variable.
32824         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32825         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32827 2014-11-14  David S. Miller  <davem@davemloft.net>
32829         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32830         Define before including <string/memcpy.c> and <string/mempcpy.c>.
32832 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32834         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32835         * configure: Regenerated.
32836         * manual/install.texi (Tools for Compilation): Document a
32837         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32838         compiler verified to work.
32839         * INSTALL: Regenerated.
32841         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32842         redeclare with asm name.
32843         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32844         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32845         including <string.h>.
32846         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32847         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32848         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32849         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32850         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32851         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32852         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32854 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
32856         * stdlib/strtol.c (__strtol): Use prototype definition.
32858         [BZ #17594]
32859         * stdlib/strtol.c (SYM__): New macro.
32860         (SYM__1): Likewise.
32861         (__strtol): Likewise.
32862         (strtol): Rename to __strtol and define as weak alias of
32863         __strtol.  Use libc_hidden_weak.
32865 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32867         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32868         Use numbered labels in inline assembly.
32870 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32872         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
32873         Add setjmp LIBC_PROBE.
32874         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
32875         Likewise.
32876         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
32877         Add longjmp, longjmp_target LIBC_PROBE.
32878         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
32879         Likewise.
32881 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32883         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32884         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
32885         to get rid of unused variable warning.
32887 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32889         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
32890         Check for unwind_backtrace ==  NULL only in SHARED case.
32891         (__backchain_backtrace): Compile only in SHARED case.
32892         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
32893         Likewise.
32894         (__backchain_backtrace): Declare as static.
32896 2014-11-12  Roland McGrath  <roland@hack.frob.com>
32898         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
32899         (__libc_multiple_threads_ptr): Variable moved ...
32900         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
32902 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
32904         * conform/GlibcConform.pm: New file.
32905         * conform/conformtest.pl: Use GlibcConform module.
32906         * conform/linknamespace.pl: New file.
32907         * conform/list-header-symbols.pl: Likewise.
32908         * conform/Makefile (linknamespace-symlists-base): New variable.
32909         (linknamespace-symlists-tests): Likewise.
32910         (linknamespace-header-base): Likewise.
32911         (linknamespace-header-tests): Likewise.
32912         (tests-special): Add new tests.
32913         ($(linknamespace-symlists-tests)): New rule.
32914         (linknamespace-libs): New variable.
32915         ($(objpfx)symlist-stdlibs): New rule.
32916         ($(linknamespace-header-tests)): Likewise.
32917         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
32918         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
32919         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
32920         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
32921         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
32922         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
32923         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
32924         (test-xfail-ISO/math.h/linknamespace): Likewise.
32925         (test-xfail-ISO/signal.h/linknamespace): Likewise.
32926         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
32927         (test-xfail-ISO/time.h/linknamespace): Likewise.
32928         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32929         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
32930         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32931         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32932         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32933         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32934         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32935         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32936         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32937         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32938         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32939         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32940         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32941         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
32942         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
32943         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32944         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
32945         (test-xfail-XPG3/search.h/linknamespace): Likewise.
32946         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
32947         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32948         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
32949         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32950         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32951         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
32952         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32953         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32954         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
32955         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
32956         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32957         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
32958         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32959         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32960         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32961         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32962         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
32963         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
32964         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
32965         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
32966         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32967         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
32968         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32969         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
32970         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32971         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32972         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32973         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
32974         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
32975         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32976         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32977         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
32978         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32979         (test-xfail-POSIX/time.h/linknamespace): Likewise.
32980         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
32981         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32982         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32983         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32984         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32985         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32986         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32987         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32988         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32989         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32990         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
32991         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32992         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32993         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32994         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
32995         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32996         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32997         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
32998         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32999         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33000         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33001         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33002         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33003         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33004         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33005         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33006         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33007         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33008         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33009         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33010         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33011         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33012         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33013         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33014         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33015         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33016         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33017         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33018         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33019         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33020         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33021         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33022         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33023         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33024         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33025         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33026         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33027         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33028         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33029         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33030         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33031         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33032         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33033         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33034         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33035         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33036         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33037         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33038         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33039         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33040         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33041         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33042         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33043         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33044         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33045         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33046         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33047         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33048         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33049         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33050         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33051         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33052         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33053         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33054         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33055         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33056         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33057         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33058         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33059         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33060         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33061         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33062         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33063         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33064         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33065         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33066         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33067         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33068         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33069         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33070         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33071         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33072         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33073         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33074         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33075         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33076         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33077         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33079         [BZ #17589]
33080         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33081         of fgets_unlocked.
33083         [BZ #17585]
33084         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33085         (memmem): Rename to __memmem and define as weak alias of
33086         __memmem.  Use libc_hidden_weak.
33087         (__memmem): Use libc_hidden_def.
33088         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
33089         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33090         memmem.
33092         [BZ #17582]
33093         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33094         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
33095         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33096         and define as weak alias of __fgets_unlocked.  Use
33097         libc_hidden_weak.
33098         (__fgets_unlocked): Use libc_hidden_def.
33099         * include/stdio.h (__fgets_unlocked): Declare.  Use
33100         libc_hidden_proto.
33101         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33102         __fgets_unlocked instead of fgets_unlocked.
33103         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33104         (GET_NPROCS_CONF_PARSER): Likewise.
33105         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33106         (GET_NPROCS_CONF_PARSER): Likewise.
33108         [BZ #17574]
33109         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33110         weak alias of __wmemset.  Use libc_hidden_weak.
33111         (__wmemset): Use libc_hidden_def.
33112         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
33113         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33114         of wmemset.
33116         [BZ #17573]
33117         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33118         with asm name __mempcpy.
33119         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33121         [BZ #17572]
33122         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33123         and define as weak alias of __rawmemchr.
33124         (__rawmemchr): Do not define as strong alias of rawmemchr.
33126         [BZ #17571]
33127         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33128         alias of __qsort_r.
33129         (qsort): Call __qsort_r instead of qsort_r.
33130         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33131         (__qsort_r): Declare.  Call libc_hidden_proto.
33132         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33133         instead of qsort_r.
33134         * nscd/gai.c (__qsort_r): Define to qsort_r.
33135         * posix/tst-rfc3484.c (__qsort_r): Likewise.
33136         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33137         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33139         [BZ #17570]
33140         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33141         define as weak alias of __malloc_info.
33143         [BZ #17584]
33144         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33145         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33146         (__rewinddir): Use libc_hidden_def.
33147         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33148         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33149         (__rewinddir): Use libc_hidden_def.
33150         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33151         weak alias of __rewinddir.  Don't use libc_hidden_def.
33152         (__rewinddir): Use libc_hidden_def.
33153         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33154         (__rewinddir): Use libc_hidden_proto.
33155         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33156         rewinddir.
33157         (__getcwd): Use __rewinddir instead of rewinddir.
33159         [BZ #17583]
33160         * libio/fileno.c (fileno): Rename to __fileno and define as weak
33161         alias of __fileno.  Use libc_hidden_weak.
33162         (__fileno): Use libc_hidden_def.
33163         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33164         * libio/ftello.c (ftello): Rename to __ftello and define as weak
33165         alias of __ftello.
33166         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33167         __ftello.
33168         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33169         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
33170         libc_hidden_def.
33171         (fread_unlocked): Don't use libc_hidden_ver.
33172         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33173         and define as weak alias of __fread_unlocked.  Don't use
33174         libc_hidden_def.
33175         (__fread_unlocked): Use libc_hidden_def.
33176         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
33177         (ftello): Don't use libc_hidden_proto.
33178         (__ftello): Declare.  Use libc_hidden_proto.
33179         (fread_unlocked): Don't use libc_hidden_proto.
33180         (__fread_unlocked): Declare.  Use libc_hidden_proto.
33181         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33182         and __ftello instead of fileno, fread_unlocked and ftello.
33184 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33186         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33187         GOT12.
33188         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33189         Likewise.
33190         (_dl_start_user): Likewise.
33191         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33193 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
33194             Siddhesh Poyarekar  <siddhesh@redhat.com>
33196         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33197         Move argv and envp down instead of moving argc up.
33198         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33200 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
33202         [BZ #17506]
33203         * test-skeleton.c (main): Return successful if one of
33204         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33205         * string/tst-strcoll-overflow.c: Define expected status.
33207 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
33209         [BZ #17475]
33210         * locale/iso-639.def: Define Bhili and Tulu language codes.
33212 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
33214         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33216 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
33218         [BZ #17555]
33219         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33221 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33223         * configure.ac: Updated check of minimal required version to
33224         2.22.
33225         * manual/install.texi (Tools for Compilation): Updated version
33226         number.
33227         * configure: Regenerated.
33228         * INSTALL: Likewise.
33230 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
33232         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33233         __tls_get_addr.
33235 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
33237         * include/sys/wait.h (__libc_waitpid): Remove declaration.
33238         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33239         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33240         libc_hidden_weak.
33241         (waitpid): Define as alias of __waitpid.
33242         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33243         __waitpid.
33244         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33245         libc_hidden_weak.
33246         (waitpid): Define as alias of __waitpid.
33247         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33248         __libc_waitpid alias.
33249         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33250         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33251         Likewise.
33252         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33253         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33254         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33255         alias.
33256         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33257         __waitpid.
33258         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33259         libc_hidden_weak.
33260         (waitpid): Define as alias of __waitpid.
33262 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
33264         * manual/llio.texi: Add comment that write safety has been
33265         fixed in Linux.
33267         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33268         (localplt-build-dso): Add elf/ld.so.
33269         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33270         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33271         and free for ld.so.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33273         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33275         Likewise.
33276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33277         Likewise.
33278         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33279         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33280         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33281         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33282         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33283         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33284         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33285         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33286         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33287         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33288         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33290 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
33292         [BZ #14132]
33293         * include/libc-symbols.h (INTUSE): Remove macro.
33294         (INTDEF): Likewise.
33295         (INTVARDEF): Likewise.
33296         (_INTVARDEF): Likewise.
33297         (INTDEF2): Likewise.
33298         (INTVARDEF2): Likewise.
33299         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33300         rtld_hidden_def instead of INTVARDEF.
33301         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33302         (_dl_starting_up_internal): Remove declaration.
33303         (_dl_starting_up): Use rtld_hidden_proto.
33304         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33305         declaration.
33306         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33307         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33308         _dl_starting_up.
33309         * elf/dl-writev.h (_dl_writev): Likewise.
33310         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33311         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33312         _dl_starting_up_internal.
33314 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33316         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33317         test-skeleton.c.
33319 2014-11-05  Will Newton  <will.newton@linaro.org>
33321         * benchtests/Makefile: (bench-malloc): Add malloc thread
33322         scalability benchmark.
33323         * benchtests/bench-malloc-threads.c: New file.
33325 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
33327         * sysdeps/aarch64/strchrnul.S: New file.
33329 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33331         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33332         definition.
33333         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33334         Likewise.
33335         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33336         Likewise.
33337         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33338         Likewise.
33339         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33340         Likewise.
33341         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33342         Likewise.
33344 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
33346         * catgets/test-gencat.c: Use test-skeleton.c.
33347         * catgets/tst-catgets.c: Likewise.
33348         * csu/tst-empty.c: Likewise.
33349         * elf/tst-audit2.c: Likewise.
33350         * elf/tst-global1.c: Likewise.
33351         * elf/tst-pathopt.c: Likewise.
33352         * elf/tst-piemod1.c: Likewise.
33353         * elf/tst-tls10.c: Likewise.
33354         * elf/tst-tls11.c: Likewise.
33355         * elf/tst-tls12.c: Likewise.
33356         * gnulib/tst-gcc.c: Likewise.
33357         * iconvdata/tst-e2big.c: Likewise.
33358         * iconvdata/tst-loading.c: Likewise.
33359         * iconv/tst-iconv1.c: Likewise.
33360         * iconv/tst-iconv2.c: Likewise.
33361         * inet/test-inet6_opt.c: Likewise.
33362         * inet/tst-gethnm.c: Likewise.
33363         * inet/tst-network.c: Likewise.
33364         * inet/tst-ntoa.c: Likewise.
33365         * intl/tst-codeset.c: Likewise.
33366         * intl/tst-gettext2.c: Likewise.
33367         * intl/tst-gettext3.c: Likewise.
33368         * intl/tst-ngettext.c: Likewise.
33369         * intl/tst-translit.c: Likewise.
33370         * io/test-stat.c: Likewise.
33371         * libio/test-fmemopen.c: Likewise.
33372         * libio/tst-freopen.c: Likewise.
33373         * libio/tst-sscanf.c: Likewise.
33374         * libio/tst-ungetwc1.c: Likewise.
33375         * libio/tst-ungetwc2.c: Likewise.
33376         * libio/tst-widetext.c: Likewise.
33377         * localedata/tst-ctype.c: Likewise.
33378         * localedata/tst-digits.c: Likewise.
33379         * localedata/tst-leaks.c: Likewise.
33380         * localedata/tst-mbswcs1.c: Likewise.
33381         * localedata/tst-mbswcs2.c: Likewise.
33382         * localedata/tst-mbswcs3.c: Likewise.
33383         * localedata/tst-mbswcs4.c: Likewise.
33384         * localedata/tst-mbswcs5.c: Likewise.
33385         * localedata/tst-setlocale.c: Likewise.
33386         * localedata/tst-trans.c: Likewise.
33387         * localedata/tst-wctype.c: Likewise.
33388         * localedata/tst-xlocale1.c: Likewise.
33389         * login/tst-grantpt.c: Likewise.
33390         * malloc/tst-calloc.c: Likewise.
33391         * malloc/tst-malloc.c: Likewise.
33392         * malloc/tst-mallocstate.c: Likewise.
33393         * malloc/tst-mcheck.c: Likewise.
33394         * malloc/tst-mtrace.c: Likewise.
33395         * malloc/tst-obstack.c: Likewise.
33396         * math/atest-exp2.c: Likewise.
33397         * math/atest-exp.c: Likewise.
33398         * math/atest-sincos.c: Likewise.
33399         * math/test-matherr.c: Likewise.
33400         * math/test-misc.c: Likewise.
33401         * math/test-powl.c: Likewise.
33402         * math/tst-definitions.c: Likewise.
33403         * misc/tst-dirname.c: Likewise.
33404         * misc/tst-efgcvt.c: Likewise.
33405         * misc/tst-fdset.c: Likewise.
33406         * misc/tst-hsearch.c: Likewise.
33407         * misc/tst-mntent2.c: Likewise.
33408         * nptl/tst-sem7.c: Likewise.
33409         * nptl/tst-sem8.c: Likewise.
33410         * nptl/tst-sem9.c: Likewise.
33411         * nss/test-netdb.c: Likewise.
33412         * posix/tst-fnmatch.c: Likewise.
33413         * posix/tst-getlogin.c: Likewise.
33414         * posix/tst-gnuglob.c: Likewise.
33415         * posix/tst-mmap.c: Likewise.
33416         * pwd/tst-getpw.c: Likewise.
33417         * resolv/tst-inet_ntop.c: Likewise.
33418         * rt/tst-timer.c: Likewise.
33419         * stdio-common/test-fseek.c: Likewise.
33420         * stdio-common/test-popen.c: Likewise.
33421         * stdio-common/test-vfprintf.c: Likewise.
33422         * stdio-common/tst-cookie.c: Likewise.
33423         * stdio-common/tst-fileno.c: Likewise.
33424         * stdio-common/tst-gets.c: Likewise.
33425         * stdio-common/tst-obprintf.c: Likewise.
33426         * stdio-common/tst-perror.c: Likewise.
33427         * stdio-common/tst-sprintf2.c: Likewise.
33428         * stdio-common/tst-sprintf3.c: Likewise.
33429         * stdio-common/tst-sprintf.c: Likewise.
33430         * stdio-common/tst-swprintf.c: Likewise.
33431         * stdio-common/tst-tmpnam.c: Likewise.
33432         * stdio-common/tst-unbputc.c: Likewise.
33433         * stdio-common/tst-wc-printf.c: Likewise.
33434         * stdlib/tst-environ.c: Likewise.
33435         * stdlib/tst-fmtmsg.c: Likewise.
33436         * stdlib/tst-limits.c: Likewise.
33437         * stdlib/tst-rand48-2.c: Likewise.
33438         * stdlib/tst-rand48.c: Likewise.
33439         * stdlib/tst-random2.c: Likewise.
33440         * stdlib/tst-random.c: Likewise.
33441         * stdlib/tst-strtol.c: Likewise.
33442         * stdlib/tst-strtoll.c: Likewise.
33443         * stdlib/tst-tls-atexit.c: Likewise.
33444         * stdlib/tst-xpg-basename.c: Likewise.
33445         * string/test-ffs.c: Likewise.
33446         * string/tst-bswap.c: Likewise.
33447         * string/tst-inlcall.c: Likewise.
33448         * string/tst-strtok.c: Likewise.
33449         * string/tst-strxfrm.c: Likewise.
33450         * sysdeps/x86_64/tst-audit10.c: Likewise.
33451         * sysdeps/x86_64/tst-audit3.c: Likewise.
33452         * sysdeps/x86_64/tst-audit4.c: Likewise.
33453         * sysdeps/x86_64/tst-audit5.c: Likewise.
33454         * time/tst-ftime_l.c: Likewise.
33455         * time/tst-getdate.c: Likewise.
33456         * time/tst-mktime3.c: Likewise.
33457         * time/tst-mktime.c: Likewise.
33458         * time/tst-posixtz.c: Likewise.
33459         * time/tst-strptime2.c: Likewise.
33460         * time/tst-strptime3.c: Likewise.
33461         * wcsmbs/tst-btowc.c: Likewise.
33462         * wcsmbs/tst-mbrtowc.c: Likewise.
33463         * wcsmbs/tst-mbsrtowcs.c: Likewise.
33464         * wcsmbs/tst-wchar-h.c: Likewise.
33465         * wcsmbs/tst-wcpncpy.c: Likewise.
33466         * wcsmbs/tst-wcrtomb.c: Likewise.
33467         * wcsmbs/tst-wcsnlen.c: Likewise.
33468         * wcsmbs/tst-wcstof.c: Likewise.
33470 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
33472         [BZ #14132]
33473         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33474         INTDEF.
33475         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33476         declaration.
33477         (_dl_mcount): Use rtld_hidden_proto.
33478         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33479         _dl_mcount.
33480         * elf/rtld.c (_rtld_global_ro): Likewise.
33482         [BZ #14132]
33483         * elf/dl-init.c (_dl_init): Don't use INTDEF.
33484         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33485         of _dl_init_internal.
33486         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33487         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33488         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33489         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33490         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33491         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33492         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33493         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33494         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33495         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33496         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33497         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33498         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33499         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33500         * sysdeps/tile/dl-start.S (_start): Likewise.
33501         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33502         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33504         [BZ #14132]
33505         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33506         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33507         (rtld_progname): Make macro definition unconditional.
33508         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33509         INTDEF.
33510         (dlmopen_doit): Do not use INTUSE with _dl_argv.
33511         (dl_main): Likewise.
33512         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33513         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33514         instead of _dl_argv_internal.
33515         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33516         __GI__dl_argv instead of INTUSE(_dl_argv).
33517         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33518         __GI__dl_argv instead of _dl_argv_internal.
33520         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33521         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33522         macro.
33523         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33524         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33525         New macro.
33526         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33527         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33528         macro.
33529         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33530         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33532 2014-11-04  Andreas Schwab  <schwab@suse.de>
33534         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33536 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33538         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33539         mtvsrd instruction in binary form.
33541 2014-11-03  Andreas Schwab  <schwab@suse.de>
33543         [BZ #17522]
33544         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33545         for less than MB_LEN_MAX use a local buffer of that size.
33546         * libio/tst-fputws.c: New file.
33547         * libio/Makefile (tests): Add tst-fputws.
33549 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
33551         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33552         the size of the fpu_fr.fpu_dregs[] array.
33554 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
33556         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33557         (__nanosleep): Do not define as alias.
33558         (nanosleep): Define as alias of __nanosleep.
33559         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33560         __libc_nanosleep name.
33562 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33564         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33565         install.texi in comment.
33567 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33569         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33570         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33571         ... add here and use lwsync or sync ...
33572         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33573         ... and add here using lwsync.
33575 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33577         * elf/dl-machine-reject-phdr.h: New file.
33578         * elf/dl-load.c: #include that.
33579         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33580         if that returned true.
33582 2014-10-31  Roland McGrath  <roland@hack.frob.com>
33584         [BZ #17496]
33585         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33586         gen-as-const-headers chunk.  Add a big scare comment after the last
33587         safe place to touch before-compile.
33589 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33591         * manual/install.texi (Tools for Compilation): Update autoconf
33592         version requirements.
33593         * INSTALL: Regenerated.
33595         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33596         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33597         (__libc_pselect): Likewise.
33599         [BZ #14138]
33600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33605 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33607         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33608         correct barrier instruction.
33609         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33610         Likewise.
33611         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33612         Likewise.
33614 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33616         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33617         after defining inlines.  Instead, just use parens to defeat macro
33618         expansion of __isctype in its declaration.
33620 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33622         * include/sys/uio.h (__libc_readv): Remove declaration.
33623         (__libc_writev): Likewise.
33624         * misc/readv.c (__libc_readv): Rename to __readv.
33625         (__readv): Do not define as alias.
33626         (readv): Define as alias of __readv.
33627         * misc/writev.c (__libc_writev): Rename to __writev.
33628         (__writev): Do not define as alias.
33629         (writev): Define as alias of __writev.
33630         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33631         (__readv): Do not define as alias.
33632         (readv): Define unconditionally as alias of __readv.
33633         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33634         (__writev): Do not define as alias.
33635         (writev): Define unconditionally as alias of __writev.
33636         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33637         name.
33638         (writev): Do not define __libc_writev name.
33640 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33642         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33643         (convert_charseq): New function, broken out of ...
33644         (use_from_charmap): ... here.  Call it.
33645         (use_to_charmap): Use convert_charseq and free instead of duplicating
33646         its code with a variable-length stack struct.
33648 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33650         * include/fcntl.h (__libc_creat): Remove declaration.
33651         * io/creat.c (__libc_creat): Rename to creat.
33652         (creat): Do not define as alias.
33653         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33654         of creat instead of __libc_creat.
33655         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33656         to creat.
33657         (creat): Do not define as alias.
33658         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33659         __libc_creat.
33660         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33661         __libc_creat name.
33662         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33663         Likewise.
33665 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
33667         * manual/llio.texi: Add comments discussing why write() may be
33668         considered MT-unsafe on Linux.
33670 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
33672         * dl-load.c (local_strdup): Remove.
33673         (expand_dynamic_string_token): Use __strdup.
33674         (decompose_rpath): Likewise.
33675         (_dl_map_object): Likewise.
33677 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
33679         [BZ #14132]
33680         * sysdeps/generic/unwind-dw2-fde.c
33681         (__register_frame_info_bases_internal): Do not declare.
33682         (__register_frame_info_table_bases_internal): Likewise.
33683         (__deregister_frame_info_bases_internal): Likewise.
33684         (__register_frame_info_bases): Declare and use hidden_proto before
33685         definition.  Use hidden_def instead of INTDEF.
33686         (__register_frame_info_table_bases): Likewise.
33687         (__deregister_frame_info_bases): Likewise.
33688         (__register_frame_info): Do not use INTUSE.
33689         (__register_frame): Likewise.
33690         (__register_frame_info_table): Likewise.
33691         (__register_frame_table): Likewise.
33692         (__deregister_frame_info): Likewise.
33693         (__deregister_frame): Likewise.
33695 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
33697         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33698         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33699         not undefine.
33700         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33701         Likewise.
33702         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33703         Likewise.
33705 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
33707         [BZ #14138]
33708         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33709         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33710         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33711         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33712         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33713         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33714         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33715         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33716         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33717         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33718         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33719         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33720         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33721         syscall.
33722         (setfsuid): Likewise.
33723         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33724         (setfsuid): Likewise.
33725         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33726         (setfsuid): Likewise.
33727         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33728         Likewise.
33729         (setfsuid): Likewise.
33730         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33731         (setfsuid): Likewise.
33732         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33733         Likewise.
33734         (setfsuid): Likewise.
33736 2014-10-27  Andreas Schwab  <schwab@suse.de>
33738         [BZ #17501]
33739         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33740         check for Slow_SSE4_2 feature bit.
33741         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33742         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33743         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33744         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
33746 2014-10-24  Roland McGrath  <roland@hack.frob.com>
33748         * configure.ac: Validate compiler version with a empirical test of
33749         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33750         $CC -v output.
33751         * configure: Regenerated.
33753         * inet/htons.c (htons): Prototypify.
33754         * inet/htonl.c (htonl): Likewise.
33756 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33758         * string/strncat.c (strncat): Improve performance by using strlen.
33760 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33762         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33764 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33766         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33767         Call libc_fetestexcept_aarch64.
33769 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33771         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33772         Call libc_feholdexcept_aarch64.
33774 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33776         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33777         Call get_rounding_mode.
33779 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33781         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33782         Simplify logic.
33784 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33786         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33787         Simplify logic.
33789 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
33791         [BZ #14138]
33792         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33793         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33794         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33795         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33796         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33797         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33798         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33799         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33800         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33801         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33802         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33803         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33804         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33805         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33806         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33807         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33808         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33809         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33810         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33811         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33812         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33813         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33814         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33815         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33816         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33817         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33818         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33819         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33820         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33821         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33822         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33823         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33824         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33825         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33826         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33827         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33828         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33829         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33830         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33831         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33832         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33833         syscall.
33834         (geteuid): Likewise.
33835         (getgid): Likewise.
33836         (getuid): Likewise.
33837         (getresgid): Likewise.
33838         (getresuid): Likewise.
33839         (getgroups): Likewise.
33840         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33841         (geteuid): Likewise.
33842         (getgid): Likewise.
33843         (getuid): Likewise.
33844         (getresgid): Likewise.
33845         (getresuid): Likewise.
33846         (getgroups): Likewise.
33847         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33848         (geteuid): Likewise.
33849         (getgid): Likewise.
33850         (getuid): Likewise.
33851         (getresgid): Likewise.
33852         (getresuid): Likewise.
33853         (getgroups): Likewise.
33854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33855         Likewise.
33856         (geteuid): Likewise.
33857         (getgid): Likewise.
33858         (getuid): Likewise.
33859         (getresgid): Likewise.
33860         (getresuid): Likewise.
33861         (getgroups): Likewise.
33862         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33863         (geteuid): Likewise.
33864         (getgid): Likewise.
33865         (getuid): Likewise.
33866         (getresgid): Likewise.
33867         (getresuid): Likewise.
33868         (getgroups): Likewise.
33869         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
33870         Likewise.
33871         (geteuid): Likewise.
33872         (getgid): Likewise.
33873         (getuid): Likewise.
33874         (getgroups): Likewise.
33876         [BZ #14138]
33877         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
33878         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
33879         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
33880         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33881         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
33882         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
33883         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
33884         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
33885         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
33886         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
33887         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
33888         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
33889         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
33890         __chown.
33891         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
33892         (lchown): Likewise.
33893         (fchown): Likewise.
33894         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
33895         Likewise.
33896         (lchown): Likewise.
33897         (fchown): Likewise.
33898         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
33899         (lchown): Likewise.
33900         (fchown): Likewise.
33901         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
33902         Likewise.
33903         (lchown): Likewise.
33904         (fchown): Likewise.
33906 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33908         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
33909         Simplify logic.
33911 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33913         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33914         Cleanup logic.
33916 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33918         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33919         Remove unused include.
33921 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33923         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
33924         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
33925         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
33926         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
33928 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
33929             Helge Deller <deller@gmx.de>
33931         [BZ #17508]
33932         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
33933         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
33934         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
33936 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
33938         [BZ #14132]
33939         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
33940         Remove macro definition.
33941         (__ashrdi3_v_glibc20): Likewise.
33942         (__lshrdi3_v_glibc20): Likewise.
33943         (__cmpdi2_v_glibc20): Likewise.
33944         (__ucmpdi2_v_glibc20): Likewise.
33945         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
33946         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33947         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33948         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33949         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33950         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
33952 2014-10-22  Roland McGrath  <roland@hack.frob.com>
33954         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
33955         old GNU extension [0] syntax.
33956         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
33957         alloca rather than an array member with variable length.
33958         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
33959         * nscd/nscd.c (invalidate_db): New function, broken out of ...
33960         (parse_opt): ... here.  Likewise use alloca there.
33961         Validate the -i argument before checking for rootness.
33962         (send_shutdown): New function, broken out of ...
33963         (parse_opt): ... here.
33965 2014-10-22  Roland McGrath  <roland@hack.frob.com>
33967         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
33968         macro to get at the _rt_local_ro field.
33969         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
33970         ([PIC] case) or _dl_hwcap ([!PIC] case).
33971         * sysdeps/arm/setjmp.S: Likewise.
33973         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
33974         * sysdeps/arm/configure.ac: New check to define it.
33975         * sysdeps/arm/configure: Regenerated.
33976         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
33977         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
33978         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
33979         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
33980         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
33981         Use move/movt pair instead of a load.
33982         (LDST_GLOBAL): Macro removed.
33983         (LDR_GLOBAL): New macro replaces it.
33984         (LDR_HIDDEN): New macro.
33985         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
33986         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
33988         * setjmp/tst-setjmp-static.c: New file.
33989         * setjmp/Makefile (tests): Add it.
33990         (tests-static): New variable.
33992 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
33994         [BZ #17485]
33995         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
33997 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
33999         [BZ #14132]
34000         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34002 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34004         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34006 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34008         * io/fts.c (dirent_not_directory): New function.
34009         (fts_build): Call it.
34011 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34013         * nptl/version.c (__nptl_main): Use normal __write rather than
34014         INTERNAL_SYSCALL.
34015         (banner): Update copyright years.
34017         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34018         gettimeofday.
34019         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34020         * nptl/pthread_cond_timedwait.c: Likewise.
34021         * nptl/pthread_mutex_timedlock.c: Likewise.
34022         * nptl/sem_timedwait.c: Likewise.
34024         * sysdeps/nptl/bits/libc-lock.h
34025         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34026         (__libc_lock_init_recursive): Return void, not 0.
34027         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34028         (__libc_rwlock_init): Likewise.
34029         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34031 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34033         [BZ #15215]
34034         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34035         (__pthread_once_slow): ... here.
34036         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34037         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34039 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34041         [BZ #15215]
34042         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34043         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34044         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34045         * nptl/pthread_once.c (__pthread_once): Likewise.
34046         Update comments.
34048 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34050         [BZ #14138]
34051         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34052         name.
34053         (writev): Use __libc_writev as strong name.
34054         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34055         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34057 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34059         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34061         * sysdeps/i386/nptl/tls.h
34062         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34063         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34064         New macros.
34065         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34066         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34067         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34068         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34069         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34070         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34072         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34073         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34074         on [__NR_futex].
34075         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34076         broken out of ...
34077         (__pthread_mutex_init): ... here.  Call it.
34078         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34079         Conditionalize PI cases on [__NR_futex].
34080         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34081         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34082         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34084         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34085         conditional on [SIGSETXID].
34086         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34087         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34088         is defined.  Likewise for SIGSETXID.
34089         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34090         Conditionalize definitions on [SIGSETXID].
34091         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34092         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34093         unblocking on [SIGCANCEL].
34095         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34096         [__NR_set_robust_list].
34098 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34100         * string/strcoll_l.c (get_next_seq): Fix up formatting.
34101         (do_compare): Likewise.
34103 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
34105         [BZ #15884]
34106         * string/strcoll_l.c: Don't include stdio.h.
34107         (coll_seq): Remove members idxarr and rulearr.
34108         (get_next_seq_cached): Remove function.
34109         (get_next_seq): Likewise.
34110         (get_next_seq_nocache): Rename to get_next_seq.
34111         (do_compare): Remove function.
34112         (do_compare_nocache): Rename to do_compare.
34113         (STRCOLL): Remove weight and rules cache.
34115 2014-10-16  Roland McGrath  <roland@hack.frob.com>
34117         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34118         * sysdeps/arm/sfp-machine.h: ... to here.
34119         * sysdeps/arm/Implies: Remove arm/soft-fp.
34121 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
34123         * conform/data/sys/utsname.h-data (*_t): Allow.
34124         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34125         [POSIX] (WEXITED): Do not expect constant.
34126         [POSIX] (WSTOPPED): Likewise.
34127         [POSIX] (WNOHANG): Likewise.
34128         [POSIX] (WNOWAIT): Likewise.
34129         [POSIX] (siginfo_t): Do not expect type or elements.
34130         [POSIX] (pid_t): Do not expect type.
34131         [POSIX] (signal.h): Do not allow header.
34132         [POSIX] (sys/resource.h): Likewise.
34133         [POSIX] (si_*): Do not allow pattern.
34134         [POSIX] (W*): Likewise.
34135         [POSIX] (P_*): Likewise.
34136         [POSIX] (BUS_*): Likewise.
34137         [POSIX] (CLD_*): Likewise.
34138         [POSIX] (FPE_*): Likewise.
34139         [POSIX] (ILL_*): Likewise.
34140         [POSIX] (POLL_*): Likewise.
34141         [POSIX] (SEGV_*): Likewise.
34142         [POSIX] (SI_*): Likewise.
34143         [POSIX] (TRAP_*): Likewise.
34144         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34145         variable.
34147 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
34149         [BZ #12926]
34150         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34151         infinite loop when __recvmsg returns 0.
34153 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
34155         * CANCEL-FCT-WAIVE: Remove file.
34156         * CANCEL-FILE-WAIVE: Likewise.
34158         [BZ #14132]
34159         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34160         instead of INTVARDEF.
34161         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34162         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34163         rtld_hidden_data_def instead of INTVARDEF.
34164         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34165         * elf/dl-deps.c (expand_dst): Likewise.
34166         * elf/dl-load.c (_dl_dst_count): Likewise.
34167         (_dl_dst_substitute): Likewise.
34168         (decompose_rpath): Likewise.
34169         (_dl_init_paths): Likewise.
34170         (open_path): Likewise.
34171         (_dl_map_object): Likewise.
34172         * elf/rtld.c (dl_main): Likewise.
34173         (process_dl_audit): Likewise.
34174         (process_envvars): Likewise.
34175         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34176         Remove declaration.
34177         (__libc_enable_secure): Use rtld_hidden_proto.
34179 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34181         * elf/dl-load.c
34182         (add_path): New function broken out of _dl_rtld_di_serinfo.
34183         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
34185 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34187         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34188         parentheses around macro arguments.
34189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34192         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34193         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34194         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34195         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34196         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34197         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34198         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34199         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34200         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34201         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34202         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34203         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34204         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34205         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34206         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34207         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34209         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34211         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34212         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34213         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34215         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34217         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34218         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34219         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34220         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34221         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34222         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34223         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34224         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34225         Likewise.
34226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34228         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34232         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34233         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34235         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34236         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34237         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34238         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34243         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34244         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34247         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34248         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34249         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34250         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34251         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34252         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34253         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34254         (_FP_FRAC_SRS_1): Likewise.
34255         (_FP_FRAC_CLZ_1): Likewise.
34256         (_FP_MUL_MEAT_1_imm): Likewise.
34257         (_FP_MUL_MEAT_1_wide): Likewise.
34258         (_FP_MUL_MEAT_1_hard): Likewise.
34259         (_FP_SQRT_MEAT_1): Likewise.
34260         (_FP_FRAC_ASSEMBLE_1): Likewise.
34261         (_FP_FRAC_DISASSEMBLE_1): Likewise.
34262         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34263         (__FP_CLZ_2): Likewise.
34264         (_FP_MUL_MEAT_2_wide): Likewise.
34265         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34266         (_FP_MUL_MEAT_2_gmp): Likewise.
34267         (_FP_MUL_MEAT_2_120_240_double): Likewise.
34268         (_FP_SQRT_MEAT_2): Likewise.
34269         (_FP_FRAC_ASSEMBLE_2): Likewise.
34270         (_FP_FRAC_DISASSEMBLE_2): Likewise.
34271         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34272         (_FP_FRAC_CLZ_4): Likewise.
34273         (_FP_MUL_MEAT_4_wide): Likewise.
34274         (_FP_MUL_MEAT_4_gmp): Likewise.
34275         (_FP_SQRT_MEAT_4): Likewise.
34276         (_FP_FRAC_ASSEMBLE_4): Likewise.
34277         (_FP_FRAC_DISASSEMBLE_4): Likewise.
34278         * soft-fp/op-common.h (_FP_CMP): Likewise.
34279         (_FP_CMP_EQ): Likewise.
34280         (_FP_CMP_UNORD): Likewise.
34281         (_FP_TO_INT): Likewise.
34282         (_FP_FROM_INT): Likewise.
34283         [!__FP_CLZ] (__FP_CLZ): Likewise.
34284         (_FP_DIV_HELP_imm): Likewise.
34285         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34286         Likewise.
34287         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34288         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34289         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34292         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34293         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34297         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34298         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34299         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34300         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34301         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34302         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34303         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34307         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34310         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34311         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34314         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34315         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34316         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34317         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34318         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34319         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34320         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34321         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34322         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34323         (FP_UNPACK_RAW_SP): Likewise.
34324         (FP_PACK_RAW_S): Likewise.
34325         (FP_PACK_RAW_SP): Likewise.
34326         (FP_UNPACK_S): Likewise.
34327         (FP_UNPACK_SP): Likewise.
34328         (FP_UNPACK_SEMIRAW_S): Likewise.
34329         (FP_UNPACK_SEMIRAW_SP): Likewise.
34330         (FP_PACK_S): Likewise.
34331         (FP_PACK_SP): Likewise.
34332         (FP_PACK_SEMIRAW_S): Likewise.
34333         (FP_PACK_SEMIRAW_SP): Likewise.
34334         (_FP_SQRT_MEAT_S): Likewise.
34335         (FP_CMP_S): Likewise.
34336         (FP_CMP_EQ_S): Likewise.
34337         (FP_CMP_UNORD_S): Likewise.
34338         (FP_TO_INT_S): Likewise.
34339         (FP_FROM_INT_S): Likewise.
34341         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34343         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34344         (FP_EX_INVALID_IMZ): Likewise.
34345         (FP_EX_INVALID_IMZ_FMA): Likewise.
34346         (FP_EX_INVALID_ISI): Likewise.
34347         (FP_EX_INVALID_ZDZ): Likewise.
34348         (FP_EX_INVALID_IDI): Likewise.
34349         (FP_EX_INVALID_SQRT): Likewise.
34350         (FP_EX_INVALID_CVI): Likewise.
34351         (FP_EX_INVALID_VC): Likewise.
34352         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34353         "invalid" exceptions.
34354         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34355         (_FP_ADD_INTERNAL): Likewise.
34356         (_FP_MUL): Likewise.
34357         (_FP_FMA): Likewise.
34358         (_FP_DIV): Likewise.
34359         (_FP_CMP_CHECK_NAN): Likewise.
34360         (_FP_SQRT): Likewise.
34361         (_FP_TO_INT): Likewise.
34362         (FP_EXTEND): Likewise.
34364 2014-10-09  Allan McRae  <allan@archlinux.org>
34366         * po/fr.po: Update French translation from translation project.
34368 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34370         [BZ #14132]
34371         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34372         of INTDEF.
34373         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34374         (__cxa_atexit): Use libc_hidden_proto.
34375         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34377         [BZ #14132]
34378         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34379         declaration.
34380         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34381         [!_ISOMAC] (__iswspace_l_internal): Likewise.
34382         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34383         [!_ISOMAC] (__iswctype_internal): Likewise.
34384         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34385         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34386         alias.
34387         (fcntl): Remove __fcntl_internal alias.
34388         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34389         __connect_internal alias.
34390         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34391         Likewise.
34393         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34394         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34395         FP_DENORM_ZERO.
34396         (_FP_CHECK_FLUSH_ZERO): New macro.
34397         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34398         (_FP_CMP): Likewise.
34399         (_FP_CMP_EQ): Likewise.
34400         (_FP_TO_INT): Do not set inexact for subnormal arguments if
34401         FP_DENORM_ZERO.
34402         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34403         (FP_TRUNC): Likewise.
34405         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34406         treated as invalid conversion, not as normal exponent.
34408         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34409         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
34410         (_FP_CMP_EQ): Likewise.
34411         (_FP_CMP_UNORD): Likewise.
34412         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34413         (FP_CMP_EQ_D): Likewise.
34414         (FP_CMP_UNORD_D): Likewise.
34415         * soft-fp/extended.h (FP_CMP_E): Likewise.
34416         (FP_CMP_EQ_E): Likewise.
34417         (FP_CMP_UNORD_E): Likewise.
34418         * soft-fp/quad.h (FP_CMP_Q): Likewise.
34419         (FP_CMP_EQ_Q): Likewise.
34420         (FP_CMP_UNORD_Q): Likewise.
34421         * soft-fp/single.h (FP_CMP_S): Likewise.
34422         (FP_CMP_EQ_S): Likewise.
34423         (FP_CMP_UNORD_S): Likewise.
34424         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34425         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34426         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34427         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34428         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34429         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34430         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34431         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34432         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34433         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34434         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34435         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34436         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34437         to FP_CMP_Q.
34438         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34439         FP_CMP_Q.
34440         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34441         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34442         FP_CMP_EQ_Q.
34443         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34444         FP_CMP_Q.
34445         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34446         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34447         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34448         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34449         FP_CMP_EQ_Q.
34450         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34451         FP_CMP_Q.
34452         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34453         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34454         FP_CMP_EQ_Q.
34455         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34456         FP_CMP_Q.
34457         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34458         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34459         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34460         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34461         FP_CMP_EQ_Q.
34463         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34464         a subnormal result, set the underflow exception if trapping on
34465         underflow is enabled.
34466         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34467         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34468         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34469         redefine to 0.
34470         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34471         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34472         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34473         * soft-fp/extendxftf2.c (__extendxftf2): Use
34474         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34476         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34477         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34478         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34479         FP_HANDLE_EXCEPTIONS.
34480         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34481         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34482         FP_HANDLE_EXCEPTIONS.
34483         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34484         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34485         FP_HANDLE_EXCEPTIONS.
34486         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34487         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34488         FP_HANDLE_EXCEPTIONS.
34490 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
34492         [BZ #14132]
34493         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34494         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34495         use INTUSE.
34496         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34497         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34498         Remove alias.
34499         (__adjtimex): Define using libc_hidden_ver.
34500         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34501         Remove declaration.
34502         (ntp_gettime): Call __adjtimex directly.
34503         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34504         Remove declaration.
34505         (ntp_gettimex): Call __adjtimex directly.
34506         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34507         __adjtimex_internal alias.
34509 2014-10-08  Roland McGrath  <roland@hack.frob.com>
34511         [BZ #17460]
34512         * nscd/nscd.c (more_help): Rewrite list of tables collection
34513         using xstrdup and asprintf.
34515         * nscd/nscd_conf.c: Remove local xstrdup declaration.
34517 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34518             Roland McGrath  <roland@hack.frob.com>
34520         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34521         (do_lookup_unique): ... local function 'enter' here; update callers.
34523 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
34525         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34526         compat_symbol calls on [SHARED].
34527         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34528         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34529         Remove.
34530         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34531         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34532         (oldsetrlimit): Remove.
34533         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34535         (lchown): New syscall entry.
34536         (oldsetrlimit): Remove.
34537         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34538         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34539         (oldsetrlimit): Remove.
34540         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34542         [BZ #14138]
34543         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34544         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34545         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34546         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34547         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34548         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34549         (fchown): Likewise.
34550         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34551         (fchown): Likewise.
34552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34553         Likewise.
34555 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34557         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34558         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34559         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34560         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34561         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34562         Likewise.
34563         (__old_sem_post): Likewise.
34565 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
34567         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34568         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34569         HAVE_CLOCK_GETTIME_VSYSCALL macros.
34570         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34571         Use INLINE_VSYSCALL macro.
34572         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34573         __vdso_clock_gettime.
34574         * sysdeps/unix/sysv/linux/tile/init-first.c
34575         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34576         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34577         __vdso_clock_gettime.
34579         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34580         to set up frame more cleanly.
34582         * sysdeps/tile/memcmp.c: New file.
34584         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34586         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34587         * sysdeps/tile/tilegx/strcasestr.c: New file.
34588         * sysdeps/tile/tilegx/strnlen.c: New file.
34589         * sysdeps/tile/tilegx/strstr.c: New file.
34591         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34593 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
34595         * nptl/tst-setuid3.c: Write errors to stdout.
34597 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34599         * elf/dl-deps.c
34600         (preload): New functions broken out of _dl_map_object_deps.
34601         (_dl_map_object_deps):  Remove a nested function. Update call sites.
34603 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
34605         [BZ #14138]
34606         * sysdeps/unix/sysv/linux/execve.c: Remove file.
34607         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34609 2014-10-01  Steve Ellcey  <sellcey@mips.com>
34611         * sysdeps/mips/strcmp.S: New.
34613 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
34615         [BZ #14138]
34616         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34617         (linkat): Likewise.
34618         (mkdirat): Likewise.
34619         (readlinkat): Likewise.
34620         (renameat): Likewise.
34621         (symlinkat): Likewise.
34622         (unlinkat): Likewise.
34623         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34624         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34625         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34626         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34627         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34628         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34629         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34631 2014-09-30  Will Newton  <will.newton@linaro.org>
34633         * math/math.h: Define long double math functions if
34634         _LIBC_TEST is defined.
34635         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34637         * localedata/Makefile: Move assignment to tests-special
34638         into an ifdef testing run-built-tests.
34639         * timezone/Makefile: Likewise.
34641 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
34643         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34644         with $(BASH) not $(SHELL).
34646 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
34647             Matthew LeGendre  <legendre1@llnl.gov>
34649         [BZ #17411]
34650         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34651         l_reloc_result.
34653 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34655         * stdio-common/printf_fp.c
34656         (hack_digit): New function, broken out of ...
34657         (__printf_fp): ... local function here.  Update call sites.
34658         hack_digit now takes an additional parameter that is a pointer
34659         to a struct of the referenced locals.  Those locals moved inside
34660         the struct and references updated.
34662 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
34664         * aclocal.m4: Require autoconf 2.69.
34665         * configure: Regenerated.
34666         * sysdeps/aarch64/configure: Likewise.
34667         * sysdeps/alpha/configure: Likewise.
34668         * sysdeps/arm/armv7/configure: Likewise.
34669         * sysdeps/arm/configure: Likewise.
34670         * sysdeps/ia64/configure: Likewise.
34671         * sysdeps/mach/configure: Likewise.
34672         * sysdeps/mips/configure: Likewise.
34673         * sysdeps/s390/configure: Likewise.
34674         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34677         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34678         file.
34679         * sysdeps/ia64/configure.ac: Likewise.
34681 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
34683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34684         specify symbol version for ld.so.  Do not include entry for
34685         libpthread.
34686         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34687         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34688         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34690         [BZ #14171]
34691         * Makeconfig [$(build-shared) = yes]
34692         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34693         makefiles.
34694         [$(build-shared) = yes && $(soversions.mk-done) = t]
34695         ($(common-objpfx)gnu/lib-names.h): Remove rule.
34696         [$(build-shared) = yes && $(soversions.mk-done) = t]
34697         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
34698         to Makerules.
34699         [$(build-shared) = yes && $(soversions.mk-done) = t]
34700         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34701         here.
34702         [$(build-shared) = yes && $(soversions.mk-done) = t]
34703         (common-generated): Don't append gnu/lib-names.h and
34704         gnu/lib-names.stmp here.
34705         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34706         (lib-names-h-abi): New variable.
34707         [$(build-shared) = yes && $(soversions.mk-done) = t]
34708         (lib-names-stmp-abi): Likewise.
34709         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34710         abi-variants] (before-compile): Append
34711         $(common-objpfx)$(lib-names-h-abi).
34712         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34713         abi-variants] (common-generated): Append gnu/lib-names.h.
34714         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34715         abi-variants] (install-others-nosubdir): Depend on
34716         $(inst_includedir)/$(lib-names-h-abi).
34717         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34718         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34719         [$(build-shared) = yes && $(soversions.mk-done) = t]
34720         ($(common-objpfx)$(lib-names-h-abi)): New rule.
34721         [$(build-shared) = yes && $(soversions.mk-done) = t]
34722         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34723         [$(build-shared) = yes && $(soversions.mk-done) = t]
34724         (common-generated): Append $(lib-names-h-abi) and
34725         $(lib-names-stmp-abi).
34726         * scripts/lib-names.awk: Do not handle multi being set.
34727         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34728         Remove variable.
34729         (abi-lp64_be-ld-soname): Likewise.
34730         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34731         Likewise.
34732         (abi-hard-ld-soname): Likewise.
34733         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34734         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34735         Remove variable.
34736         (abi-o32_hard-ld-soname): Likewise.
34737         (abi-o32_soft_2008-ld-soname): Likewise.
34738         (abi-o32_hard_2008-ld-soname): Likewise.
34739         (abi-n32_soft-ld-soname): Likewise.
34740         (abi-n32_hard-ld-soname): Likewise.
34741         (abi-n32_soft_2008-ld-soname): Likewise.
34742         (abi-n32_hard_2008-ld-soname): Likewise.
34743         (abi-n64_soft-ld-soname): Likewise.
34744         (abi-n64_hard-ld-soname): Likewise.
34745         (abi-n64_soft_2008-ld-soname): Likewise.
34746         (abi-n64_hard_2008-ld-soname): Likewise.
34747         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34748         Likewise.
34749         (abi-64-v2-ld-soname): Likewise.
34750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34751         ld.so entries.
34752         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34753         variable.
34754         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34755         entry.
34756         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34757         variable.
34758         (abi-64-ld-soname): Likewise.
34759         (abi-x32-ld-soname): Likewise.
34760         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34761         entry.
34762         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34764 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
34766         [BZ #14138]
34767         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34768         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34769         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34770         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34771         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34772         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34773         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34774         syscall entry for GLIBC_2.2 symbol version.
34775         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34776         Likewise.
34777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34778         (setrlimit): Likewise.
34779         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34780         Likewise.
34782 2014-09-23  Will Newton  <will.newton@linaro.org>
34784         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34785         _LINUX_ARM_SYSDEP_H include guard too.
34786         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34787         define.
34789 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34791         * sysdeps/unix/sysv/linux/eventfd.c:
34792         Make first argument unsigned.
34793         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34794         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34796 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
34798         [BZ #16852]
34799         * socket/recvmmsg.c (recvmmsg): Drop const argument.
34800         * socket/sys/socket.h: Likewise.
34801         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34803 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34805         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34807 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
34809         * time/tst-ftime.c: New test.
34810         * time/Makefile (tests): Add tst-ftime.
34812 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
34814         * soft-fp/extended.h: Fix comment formatting.
34815         * soft-fp/op-1.h: Likewise.
34816         * soft-fp/op-2.h: Likewise.
34817         * soft-fp/op-4.h: Likewise.
34818         * soft-fp/op-8.h: Likewise.
34819         * soft-fp/op-common.h: Likewise.
34820         * soft-fp/soft-fp.h: Likewise.
34822         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34824 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
34826         [BZ #6652]
34827         * Makeconfig (soversions-default-setname): Remove variable.
34828         ($(common-objpfx)soversions.i): Don't pass default_setname to
34829         soversions.awk.
34830         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34831         oldest_abi to abi-versions.awk.
34832         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34833         * config.make.in (oldest-abi): Remove variable.
34834         * configure.ac (--enable-oldest-abi): Remove configure option.
34835         * configure: Regenerated.
34836         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34837         text.
34838         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34839         * scripts/soversions.awk: Do not handle default_setname variable.
34840         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34841         variable.
34842         * sysdeps/mach/hurd/configure: Regenerated.
34843         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34844         variable.
34845         * sysdeps/unix/sysv/linux/configure: Regenerated.
34847 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34849         * elf/Makefile (CFLAGS-interp.c): Remove.
34850         ($(elf-objpfx)runtime-linker.h): Generate header with linker
34851         path string.
34852         * elf/interp.c: Include generated runtime-linker.h
34854         * Makerules (lib%.so): Don't include $(+interp) in
34855         prerequisites.
34856         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34857         * dlfcn/eval.c: Remove file.
34859         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34860         macros.
34862         [BZ #17266]
34863         * misc/sys/cdefs.h: Define __extern_always_inline for clang
34864         4.2 and newer.
34866         [BZ #17370]
34867         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34869 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34870             Jakub Jelinek  <jakub@redhat.com>
34872         [BZ #17266]
34873         * libio/stdio.h: Check definition of __fortify_function
34874         instead of __extern_always_inline to include bits/stdio2.h.
34875         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
34876         check if __extern_always_inline is defined.
34877         [__USE_MISC || __USE_XOPEN]: Likewise.
34878         [__USE_ISOC99] Likewise.
34879         * misc/sys/cdefs.h (__fortify_function): Define only if
34880         __extern_always_inline is defined.
34881         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
34882         __extern_always_inline and __extern_inline only for g++-4.3
34883         and newer or a compatible gcc.
34885 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
34887         [BZ #17371]
34888         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34889         last change to handle zero prefix length.
34891 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34893         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
34894         _SC_REGEX_VERSION.
34896         * posix/getconf.c (vars): Add _POSIX_IPV6 and
34897         _POSIX_RAW_SOCKETS.
34899 2014-09-13  Allan McRae  <allan@archlinux.org>
34901         * po/ru.po: Update Russian translation from translation project.
34903 2014-09-12  Roland McGrath  <roland@hack.frob.com>
34905         * locale/programs/locale.c (show_locale_vars): Inline local function
34906         into its sole call site.  Clean up some style nits.
34907         (print_item): New function, broken out of ...
34908         (show_info): ... local function here.  Clean up style nits.
34910         * locale/programs/ld-ctype.c (set_one_default): New function, broken
34911         out of ...
34912         (set_class_defaults): ... local function set_default here.
34913         Define set_default as a macro locally to pass constant parameters.
34914         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
34915         rather than a shared local.
34917         * stdlib/rpmatch.c (try): New function, broken out of ...
34918         (rpmatch): ... local function here.  Also, prototypify definition.
34920 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
34922         * scripts/soversions.awk: Do not handle configuration names.
34923         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
34924         vendor and os variables to soversions.awk.
34925         * configure.ac: Do not modify gnu-* host_os.
34926         * configure: Regenerated
34927         * shlib-versions: Remove first column with configuration names.
34928         * nptl/shlib-versions: Likewise.
34929         * nptl_db/shlib-versions: Likewise.
34930         * sysdeps/hppa/shlib-versions: Likewise.
34931         * sysdeps/m68k/shlib-versions: Likewise.
34932         * sysdeps/mach/hurd/shlib-versions: Likewise.
34933         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
34934         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
34935         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
34936         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
34937         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
34938         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
34939         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
34940         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
34941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34942         Likewise.
34943         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34944         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34945         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34946         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34947         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34948         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
34949         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34950         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34953         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
34954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34955         Regenerated.
34956         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
34957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34958         Condition symbol version definitions on [HAVE_ELFV2_ABI].
34960         * shlib-versions: Remove OS-specific entries.  Moved to files in
34961         sysdeps.
34962         * sysdeps/mach/hurd/shlib-versions: New file.
34963         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34965         * nptl/shlib-versions: Remove architecture-specific entries.
34966         Moved to files in sysdeps.
34967         * shlib-versions: Likewise.
34968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
34969         file.
34970         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34971         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34972         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34973         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34975         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
34976         (UDP_NO_CHECK6_RX): Likewise.
34978 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34980         * sysdeps/posix/sysconf.c (__sysconf): Spell
34981         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
34983 2014-08-12  Florian Weimer  <fweimer@redhat.com>
34985         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
34986         loading.
34987         * iconv/Versions (__gconv_transliterate): Export for use from
34988         gconv modules.
34989         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
34990         (struct __gconv_trans_data, __gconv_trans_fct,
34991         __gconv_trans_context_fct, __gconv_trans_query_fct,
34992         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
34993         definitions.
34994         (struct __gconv_step_data): Remove __trans member.
34995         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
34996         longer hidden.  Remove unused trans_data argument.
34997         * iconv/gconv_int.h (struct trans_struct): Remove definition.
34998         (__gconv_translit_find): Remove declaration.
34999         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35000         prototype.
35001         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35002         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35003         trans_data argument.  Add hidden definition.
35004         (__gconv_translit_find): Remove.
35005         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35006         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35007         * iconv/skeleton.c: Remove transliteration initialization.
35008         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35009         __gconv_step_data initialization.
35010         * libio/iofwide.c (__libio_translit_): Remove.
35011         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35012         * wcsmbs/btowc.c (__btowc): Likewise.
35013         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35014         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35015         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35016         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35017         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35018         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35019         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35020         * wcsmbs/wctob.c (wctob): Likewise.
35022 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35024         [BZ #16194]
35025         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35026         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35027         register usage.
35028         * sysdeps/x86/Makefile: Adjust.
35030 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35031             Roland McGrath  <roland@hack.frob.com>
35033         * locale/weight.h: Add include guard.
35034         (findidx): Make static rather than auto; take new parameters
35035         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35036         * locale/weightwc.h: Likewise.
35037         * posix/fnmatch_loop.c
35038         (FCT): Change type of EXTRA from int32_t to wint_t.
35039         Don't include either header inside the function.
35040         Call FINDIDX rather than findidx, and pass new arguments.
35041         #undef FINDIDX at the end of the file.
35042         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35043         FINDIDX before including fnmatch_loop.c for the non-wide version.
35044         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35045         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35046         for the wide version.
35047         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35048         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35049         Pass new arguments to findidx.
35050         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35051         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35052         Don't #include it inside the function.  Pass new arguments to findidx.
35053         * posix/regex_internal.h
35054         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35055         (re_string_elem_size_at): Don't #include it inside the function.
35056         Pass new arguments to findidx.
35057         * string/strcoll_l.c: #include WEIGHT_H at top level.
35058         (get_next_seq): Don't #include it inside the function.
35059         Pass new arguments to findidx.
35060         (get_next_seq_nocache): Likewise.
35061         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35062         (STRXFRM): Don't #include it inside the function.
35063         Pass new arguments to findidx.
35065 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35067         [BZ #17344]
35068         * malloc/malloc.c (unlink): Turn asserts into a call to
35069         malloc_printerr.
35071 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35073         [BZ #17370]
35074         * libio/wfileops (do_ftell_wide): Free OUT.
35076 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
35078         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35080 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35082         [BZ #17363]
35083         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35084         group if the current group is empty.
35086 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35088         * benchtests/bench-memset.c (test_main): Add more test from size
35089         from 32 to 512 bytes.
35090         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35091         Add POWER8 memset object.
35092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35093         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35094         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35095         implementation.
35096         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35097         Likewise.
35098         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35099         multiarch POWER8 memset optimization.
35100         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35101         POWER8 memset optimization.
35103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35104         Remove bzero multiarch objects.
35105         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35106         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35107         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35108         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35109         Remove define.
35110         [__bzero]: Redefine to specific name.
35111         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35112         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35113         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35114         define.
35115         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35116         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35118 2014-09-10  Florian Weimer  <fweimer@redhat.com>
35120         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35121         warnings into errors.
35123         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35124         __cxa_thread_atexit_impl prototype.
35126 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35128         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35129         Fix capitalization of error message.
35131 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35133         * sysdeps/mips/preconfigure: Modify ABI tests.
35135 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
35137         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35139 2014-09-07  Roland McGrath  <roland@hack.frob.com>
35140             Carlos O'Donell  <carlos@systemhalted.org>
35142         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35143         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35144         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35145         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35146         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35147         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35148         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35149         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35150         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35151         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35152         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35153         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35154         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35155         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35156         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35157         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35158         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35159         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35160         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35161         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35162         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35163         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35164         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35165         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35166         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35167         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35168         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35169         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35170         Deconditionalize the code that was previously under [RESET_PID].
35171         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35172         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35173         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35174         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35175         include sysdep.h.
35177 2014-09-08  Allan McRae  <allan@archlinux.org>
35179         * version.h (RELEASE): Set to "development".
35180         (VERSION): Set to "2.20.90"
35182 2014-09-07  Allan McRae  <allan@archlinux.org
35184         * version.h (RELEASE): Set to "stable".
35185         (VERSION): Set to "2.20"
35186         * include/features.h (__GLIBC_MINOR__): Set to 20.
35188         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35189         Liebler.
35191         * po/ko.po: Update Korean translation from translation project.
35193 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
35195         [BZ #17354]
35196         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35197         macro for handling signed relocations.
35199 2014-09-03  Florian Weimer  <fweimer@redhat.com>
35201         [BZ #17325]
35202         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35203         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35204         assert.
35205         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35206         * iconvdata/ibm935.c (BODY): Likewise.
35207         * iconvdata/ibm937.c (BODY): Likewise.
35208         * iconvdata/ibm939.c (BODY): Likewise.
35209         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35210         assert.
35211         * iconvdata/Makefile (iconv-test.out): Pass module list to test
35212         script.
35213         * iconvdata/run-iconv-test.sh: New test loop for checking for
35214         decoder crashers.
35216 2014-09-02  Khem Raj  <raj.khem@gmail.com>
35218         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35219         libm_hidden_ver.
35221 2014-09-01  Allan McRae  <allan@archlinux.org>
35223         * po/eo.po: Update Esperanto translation from translation project.
35225         * po/ca.po: Update Catalan translation from translation project.
35227 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35229         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35230         __proc_dostop call.
35232 2014-08-27  Mark Wielaard  <mjw@redhat.com>
35234         [BZ #17319]
35235         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35236         to call set_thread_area instead of hand written asm.
35237         (__NR_set_thread_area): Removed define.
35238         (TLS_FLAG_WRITABLE): Likewise.
35239         (__ASSUME_SET_THREAD_AREA): Remove check.
35240         (TLS_EBX_ARG): Remove define.
35241         (TLS_LOAD_EBX): Likewise.
35243 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35245         Simplify atomicity of socket creation in bind.
35247         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35248         looking up the name after linking the file.
35250 2014-08-27  Allan McRae  <allan@archlinux.org>
35252         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35254 2014-08-26  Florian Weimer  <fweimer@redhat.com>
35256         [BZ #17187]
35257         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35258         trans_compare, open_translit, __gconv_translit_find):
35259         Remove module loading code.
35261 2014-08-26  Allan McRae  <allan@archlinux.org>
35263         * po/vi.po: Update Vietnamese translation from translation project.
35265         * po/uk.po: Update Ukrainian translation from translation project.
35267         * po/fr.po: Update French translation from translation project.
35269         * po/ru.po: Update Russian translation from translation project.
35271         * po/pl.po: Update Polish translation from translation project.
35273         * po/cs.po: Update Czech translation from translation project.
35275         * po/de.po: Update German translation from translation project.
35277         * po/bg.po: Update Bulgarian translation from translation project.
35279         * po/sv.po: Update Sweedish translation from translation project.
35281         * po/nl.po: Update Dutch translation from translation project.
35283         * po/es.po: Update Spanish translation from translation project.
35285 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35287         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35289         * catgets/Makefile (CPPFLAGS-gencat): Remove.
35290         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35291         (CPPFLAGS-iconvconfig): Likewise.
35292         * timezone/Makefile (CPPFLAGS-zic): Likewise.
35294         * include/libc-symbols.h: Remove unnecessary check for
35295         NOT_IN_libc.
35296         * nptl/pthreadP.h: Likewise.
35297         * sysdeps/aarch64/setjmp.S: Likewise.
35298         * sysdeps/alpha/setjmp.S: Likewise.
35299         * sysdeps/arm/sysdep.h: Likewise.
35300         * sysdeps/i386/setjmp.S: Likewise.
35301         * sysdeps/m68k/setjmp.c: Likewise.
35302         * sysdeps/posix/getcwd.c: Likewise.
35303         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35304         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35305         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35306         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35307         * sysdeps/sh/sh3/setjmp.S: Likewise.
35308         * sysdeps/sh/sh4/setjmp.S: Likewise.
35309         * sysdeps/unix/alpha/sysdep.h: Likewise.
35310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35311         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35312         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35313         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35316         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35317         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35318         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35319         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35320         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35321         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35323         * sysdeps/x86_64/setjmp.S: Likewise.
35325 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
35327         [BZ #17263]
35328         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35329         <stdint.h>.
35330         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35331         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35333 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35335         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35337         [BZ #17262]
35338         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35339         and __x86_64__ when disabling x87 inline functions.
35341 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35343         [BZ #17259]
35344         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35345         asm statement with __cpuid_count.
35347 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
35349         * configure.ac: Change __ehdr_start code to dereference the struct.
35350         Run readelf on the output to look for relocations.
35351         * configure: Regenerated.
35353 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
35355         [BZ #17261]
35356         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35357         value to 0.
35358         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35360 2014-08-12  Roland McGrath  <roland@hack.frob.com>
35362         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35364 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
35366         [BZ #16892]
35367         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35368         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35370 2014-08-12  Sean Anderson  <seanga2@gmail.com>
35372         * malloc/malloc.c: Fix typo in comment.
35374 2014-08-09  Allan McRae  <allan@archlinux.org>
35376         * Regenerate libc.po.
35378 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
35380         * intl/tst-gettext2.sh: Check every lang file for creation.
35382 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35384         * sysdeps/aarch64/fpu/math_private.h
35385         (libc_feholdsetround_noex_aarch64_ctx): New function.
35387 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35389         * sysdeps/arm/armv6/strcpy.S (strcpy):
35390         Fix performance issue in misaligned cases.
35392 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35394         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35395         Move definition from termios.h.
35396         (struct termio): Likewise.
35397         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35398         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35399         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35400         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35401         Likewise.
35402         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35403         Move definition to ioctl-types.h
35404         (struct termio): Likewise.
35405         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35406         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35407         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35408         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35409         Likewise.
35411 2014-08-05  Richard Henderson  <rth@redhat.com>
35413         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35414         exceptions.
35415         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35416         Add fraiseexcpt.
35417         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35418         Use __feraiseexcept.
35419         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35420         Protect libm symbols with IS_IN_libm.
35422         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35424 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
35426         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35428 2014-08-04  Will Newton  <will.newton@linaro.org>
35430         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35431         file.
35433 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
35435         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35436         variants for each function.
35438 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35440         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35441         appended ...
35442         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35443         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35444         appended ...
35445         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35446         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35447         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35448         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35449         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35450         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35451         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35452         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35453         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35454         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35455         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35456         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35457         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35458         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35459         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35460         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35461         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35462         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35463         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35464         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35465         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35466         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35467         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35468         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35469         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35470         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35471         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35472         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35473         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35474         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35475         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35476         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35477         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35478         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35479         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35480         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35481         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35482         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35483         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35484         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35485         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35486         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35487         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35488         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35489         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35490         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35491         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35492         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35493         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35494         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35495         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35496         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35497         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35498         Update #include.
35499         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35500         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35502 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35504         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35505         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35506         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35507         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35508         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35509         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35511 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35513         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35514         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35515         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35516         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35518 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35520         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35521         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35522         (__libc_vfork): Define function under this name.
35523         (__vfork): Define as an alias.
35524         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35525         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35527 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35529         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35530         that was previously under [RESET_PID].
35531         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35533 2014-08-04  Andreas Schwab  <schwab@suse.de>
35535         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35537 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
35539         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35540         (main): Likewise.
35542 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35544         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35546 2014-08-01  Richard Henderon  <rth@redhat.com>
35548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35549         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35550         typo in exact zero test.
35551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35552         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35553         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35555 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35557         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35558         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35559         * sysdeps/arm/sysdep.h: ... here.
35560         [!__ASSEMBLER__]: Include <stdint.h>.
35562 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35564         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35565         (HAVE_WCTYPE_H): Likewise.
35566         (HAVE_ISWCTYPE): Likewise.
35567         (ENABLE_NLS): Likewise.
35568         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35569         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35571         * posix/regex_internal.c: Check if DEBUG is defined and is
35572         set.
35574         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35575         (HAVE_MBSRTOWCS): Likewise.
35576         * posix/fnmatch.c: Include string.h unconditionally.
35578 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35580         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35581         reversal.
35583 2014-07-31  Roland McGrath  <roland@hack.frob.com>
35585         * sysdeps/generic/safe-fatal.h: New file.
35586         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35587         * nptl/forward.c: Include it.
35588         (__pthread_unwind): Use __safe_fatal as default action, rather
35589         than a bogus use of INTERNAL_SYSCALL that could never work.
35591         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35592         * configure.ac (libc_cv_builtin_trap): New test.
35593         * configure: Regenerated.
35594         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35595         (ABORT_INSTRUCTION): Define using __builtin_trap.
35597         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35598         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35599         * sysdeps/nptl/nptl-signals.h: New file.
35600         * nptl/pthreadP.h: Include <nptl-signals.h>.
35602 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35604         * sysdeps/s390/s390-64/utf16-utf32-z9.c
35605         (ONE_DIRECTION): Define.
35606         * sysdeps/s390/s390-64/utf8-utf16-z9.c
35607         (ONE_DIRECTION): Define.
35608         * sysdeps/s390/s390-64/utf8-utf32-z9.c
35609         (ONE_DIRECTION): Define.
35611 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35613         * sysdeps/s390/Makefile: Delete file.
35614         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35615         * sysdeps/s390/__longjmp.c: Delete file.
35616         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35617         Remove fields __flags and __reserved.
35618         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35619         and add versioning.
35620         * sysdeps/s390/rtld-__longjmp.c: Delete file.
35621         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35622         * sysdeps/s390/rtld-setjmp.S: Likewise.
35623         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35624         * sysdeps/s390/s390-32/__longjmp.c: ... here.
35625         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35626         * sysdeps/s390/s390-32/setjmp.S: ... here.
35627         Add versioning.
35628         (__sigsetjmp): Remove setting __flags field.
35629         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35630         * sysdeps/s390/s390-64/__longjmp.c: ... here.
35631         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35632         * sysdeps/s390/s390-64/setjmp.S: ... here.
35633         Add versioning.
35634         (__sigsetjmp): Remove setting __flags field.
35635         * sysdeps/s390/setjmp.S: Delete file.
35636         * sysdeps/s390/sigjmp.c: Likewise.
35637         * sysdeps/s390/v1-longjmp.c: Likewise.
35638         * sysdeps/s390/v1-setjmp.h: Likewise.
35639         * sysdeps/s390/v1-sigjmp.c: Likewise.
35640         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35641         Remove v1-longjmp_chk.
35642         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35643         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35644         Include debug/longjmp_chk.c and add versioning.
35645         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35646         Include nptl/pt-longjmp.c and add versioning.
35647         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35648         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35649         Include __longjmp.c.
35650         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35651         Move to ...
35652         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35653         (__getcontext): Remove setting __flags field.
35654         Add versioning.
35655         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35656         Don't restore upper high grps.
35657         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35658         Likewise.
35659         (__swapcontext): Remove setting uc_flags field.
35660         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35661         Delete file.
35662         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35663         Include __longjmp.c.
35664         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35665         Move to ...
35666         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35667         (__getcontext): Remove setting __flags field.
35668         Add versioning.
35669         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35670         (__swapcontext): Remove setting uc_flags field.
35671         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35672         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35673         Remove fields uc_high_gprs and __reserved.
35674         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35675         New file with reverted content.
35676         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35677         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35678         Regenerated.
35679         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35680         Regenerated.
35682 2014-07-31  Andreas Schwab  <schwab@suse.de>
35684         * config.h.in (HAVE_IFUNC): Define to 0.
35685         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35686         definedness.
35688 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
35690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35691         memmove-avx-unaligned, memcpy-avx-unaligned and
35692         mempcpy-avx-unaligned.
35693         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35694         Add tests for AVX memcpy functions.
35695         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35696         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35697         memcpy_chk.
35698         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35699         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35700         memmove_chk.
35701         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35702         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35703         mempcpy_chk.
35704         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35705         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35706         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35708 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35710         [BZ #17213]
35711         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35712         powerpc64le.
35714 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
35716         [BZ #16839]
35717         * manual/llio.texi: Add section about open file description locks.
35718         * manual/examples/ofdlocks.c: Example of open file description
35719         lock usage.
35720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35721         F_OFD_SETLK, and F_OFD_SETLKW.
35723 2014-07-23  Allan McRae  <allan@archlinux.org>
35725         * po/es.po: Update Spanish translation from translation project.
35727 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
35729         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35731 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
35733         [BZ #17078]
35734         * sysdeps/arm/dl-machine.h (elf_machine_rela)
35735         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35736         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35738 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
35740         [BZ #17088]
35741         * math/fesetenv.c (__fesetenv)
35742         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35743         * math/feupdateenv.c (__feupdateenv)
35744         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35746         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35747         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35748         (__ASSUME_SOCKETCALL): Do not define.
35750         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35751         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35752         (__ASSUME_SOCKETCALL): Do not define.
35753         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35754         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35755         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35756         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35757         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35758         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35759         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35760         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35762         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35763         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35764         (__ASSUME_SOCKETCALL): Do not define.
35765         (__ASSUME_IPC64): Define unconditionally.
35766         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35767         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35768         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35769         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35770         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35771         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35772         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35773         Likewise.
35775         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35776         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35777         (__ASSUME_SOCKETCALL): Do not define.
35778         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35779         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35780         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35781         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35782         (__ASSUME_REQUEUE_PI): Define unconditionally.
35783         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35784         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35785         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35786         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35788         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35790         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35791         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35792         (__ASSUME_SOCKETCALL): Do not define.
35793         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35794         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35795         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35796         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35797         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35798         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35800         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35801         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35802         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35803         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35804         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35805         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35806         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35807         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35808         (__ASSUME_GETCPU_SYSCALL): Likewise.
35810         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35811         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
35812         cases for individual architectures.
35813         * sysdeps/gnu/configure: Regenerated.
35814         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35815         LIBC_SLIBDIR_RTLDDIR.
35816         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35817         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35818         LIBC_SLIBDIR_RTLDDIR.
35819         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35821         LIBC_SLIBDIR_RTLDDIR.
35822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35823         Regenerated.
35824         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35825         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35826         file.
35827         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35828         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35829         file.
35830         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35831         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35832         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35833         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35835         * sysdeps/aarch64/shlib-versions: Move to ...
35836         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35837         * sysdeps/alpha/shlib-versions: Move to ...
35838         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35839         * sysdeps/arm/shlib-versions: Move to ...
35840         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35841         * sysdeps/hppa/shlib-versions: Move all contents except for
35842         libgcc_s entry to ...
35843         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
35844         entry from ...
35845         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
35846         * sysdeps/ia64/shlib-versions: Move to ...
35847         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
35848         entry from ...
35849         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
35850         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35851         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35852         * sysdeps/microblaze/shlib-versions: Move to ...
35853         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35854         * sysdeps/mips/shlib-versions: Move to ...
35855         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
35856         entry from ...
35857         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
35858         * sysdeps/tile/shlib-versions: Move to ...
35859         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35860         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35861         from ...
35862         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
35863         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35864         entry from ...
35865         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
35867 2014-07-17  Will Newton  <will.newton@linaro.org>
35869         * sysdeps/arm/bits/atomic.h
35870         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
35871         (__arch_compare_and_exchange_bool_16_int): Likewise.
35872         (__arch_compare_and_exchange_bool_64_int): Likewise.
35874         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
35875         into an #else block.
35877 2014-07-16  Roland McGrath  <roland@hack.frob.com>
35879         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
35880         just Linux configurations.  Test empirically that the compiler sets
35881         __ARM_EABI__, rather than using the tuple to decide.
35882         * sysdeps/arm/preconfigure: Regenerated.
35883         * sysdeps/unix/sysv/linux/arm/configure: File removed.
35884         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
35885         contents appended ...
35886         * sysdeps/arm/configure.ac: ... here.
35887         * sysdeps/arm/configure: Regenerated.
35889 2014-07-15  Roland McGrath  <roland@hack.frob.com>
35891         * nptl/pthread_kill.c: New file.
35892         * nptl/pthread_sigmask.c: New file.
35893         * nptl/pthread_sigqueue.c: New file.
35895         * sysdeps/nptl/lowlevellock.h: New file.
35896         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
35897         * sysdeps/nptl/lowlevellock-futex.h: New file.
35899         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
35900         Remove dead declarations.
35902 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
35904         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
35905         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
35906         config-cflags-avx2.
35907         * sysdeps/x86_64/configure.ac: Likewise.
35908         * sysdeps/i386/configure: Regenerated.
35909         * sysdeps/x86_64/configure: Likewise.
35910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35911         memset-avx2 only if config-cflags-avx2 is yes.
35912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35913         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
35914         defined.
35915         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
35916         only if HAVE_AVX2_SUPPORT is defined.
35917         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35919 2014-07-14  Alan Modra  <amodra@gmail.com>
35921         [BZ #17153]
35922         * elf/elf.h (DT_PPC64_NUM): Correct value.
35923         * NEWS: Add to fixed bug list.
35925 2014-07-13  Jim Meyering  <meyering@fb.com>
35927         [BZ 17150]
35928         regex: don't deref NULL upon heap allocation failure
35929         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
35930         failure in one more place.
35931         To trigger the segfault, configure grep -with-included-regex,
35932         build it, and run these commands:
35933         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
35935 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
35937         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35939 2014-07-11  Richard Henderson  <rth@redhat.com>
35941         * sysdeps/aarch64/libm-test-ulps: Update.
35943 2014-07-10  Florian Weimer  <fweimer@redhat.com>
35945         [BZ #17135]
35946         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
35947         * nptl/allocatestack.c (__nptl_setxid_error): New function.
35948         (__nptl_setxid): Initialize error member.  Call
35949         __nptl_setxid_error.
35950         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
35951         * nptl/descr.h (struct xid_command): Add error member.
35952         * nptl/tst-setuid3.c: New file.
35953         * nptl/Makefile (tests): Add it.
35955 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35957         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
35958         New define.
35959         (__lll_trylock): Use __lll_base_trylock.
35960         (__lll_cond_trylock): Likewise.
35962 2014-07-10  Roland McGrath  <roland@hack.frob.com>
35964         * nptl/pthread_create.c (start_thread): Use atomic_or and
35965         lll_futex_wake directly rather than lll_robust_dead.
35966         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
35967         (lll_robust_dead): Macro removed.
35968         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
35969         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
35970         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
35971         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35972         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35973         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
35974         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
35975         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35976         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35977         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35978         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35979         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35980         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35981         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35982         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35984         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
35985         Use atomic_compare_and_exchange_val_acq directly rather than
35986         lll_robust_trylock.
35987         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
35988         (__lll_robust_trylock, lll_robust_trylock): Removed.
35989         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
35990         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
35991         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35992         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35993         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
35994         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
35995         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35996         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35997         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35999         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36000         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36001         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36002         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36004 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36006         * manual/locale.texi (Locale Names): New section documenting
36007         locale name syntax.  Adjust menu and node chaining accordingly.
36008         (Choosing Locale): Reference Locale Names, Locale Categories.
36009         Mention setting LC_ALL=C.  Reflect that name syntax is now
36010         documented.
36011         (Locale Categories): New section title.  Reference Locale Names.
36012         LC_ALL is an environment variable, but not a category.
36013         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36014         description, now in Locale Name.  Reference that section.  Locale
36015         name syntax is now documented.
36017 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36019         [BZ #17137]
36020         * locale/findlocale.c (name_present, valid_locale_name): New
36021         functions.
36022         (_nl_find_locale): Use the loc_name variable to store name
36023         candidates.  Call name_present and valid_locale_name to check and
36024         validate locale names.  Return an error if the locale is invalid.
36026 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36028         * locale/setlocale.c (setlocale): Use strdup for allocating
36029         composite name copy.
36031 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36033         Sync up with gnulib.
36034         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36035         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36036         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36037         and _GL_ARG_NONNULL.
36038         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36039         [!_LIBC]: Include code for Windows and Cygwin.
36040         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36041         Include prototype for int strerror_r.
36042         [!_LIBC] (is_open): New function.
36043         (flush_stdout): New function.
36044         (print_errno_message): Use it.
36045         (error): Likewise.
36046         (error_at_line): Likewise.
36047         (error_tail) Add function attribute macros.  Use
36048         __builtin_expect.
36050         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36052         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36054         * io/ftw.c: Include sys/param.h unconditionally.
36056         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36058         [BZ #17125]
36059         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36060         libc_freeres_ptr.
36061         (freecache): New function to free CACHE on exit.
36063         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36064         initialization.
36066 2014-07-09  David S. Miller  <davem@davemloft.net>
36068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36070         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36071         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36072         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36073         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36074         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36075         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36076         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36077         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36078         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36079         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36080         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36081         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36082         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36084 2014-07-09  Andreas Schwab  <schwab@suse.de>
36086         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36087         output.
36088         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36089         (do_test): Likewise.
36091         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36093 2014-07-09  Will Newton  <will.newton@linaro.org>
36095         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36096         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36097         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36098         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36099         * sysdeps/hppa/start.S (_start): Likewise.
36101 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36103         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36105         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36106         defined.
36108 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36110         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36111         after checking that it is non-NULL.
36113         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36115 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36117         * sysdeps/powerpc/memmove.c: Remove file.
36118         * sysdeps/powerpc/powerpc32/power4/memcopy.h
36119         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36120         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36121         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36122         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36123         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36124         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36125         string memmove instead of removed powerpc one.
36127         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36128         [weak_alias]: Fix compiler warning due trailing data.
36129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36130         [weak_alias]: Likewise.
36131         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36132         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36135         (__libc_ifunc_impl_list): Add memmove functions.
36137 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36139         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36140         Remove code.
36141         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36142         Likewise.
36143         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36144         Likewise.
36145         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36146         Likewise.
36147         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36148         Likewise.
36149         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36150         Likewise.
36151         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36152         Likewise.
36153         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36154         Likewise.
36155         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36156         Likewise.
36157         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36158         Likewise.
36159         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36160         Likewise.
36161         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36162         Likewise.
36163         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36164         Likewise.
36165         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36166         Likewise.
36167         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36168         Likewise.
36169         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36170         Likewise.
36171         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36172         Likewise.
36174 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36176         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36177         to avoid alignment traps in non-cacheable memory.
36178         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36181         multiarch objects.
36182         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36183         file: multiarch power7 memmove.
36184         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36185         multiarch default memmove.
36186         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36187         multiarch memove for powerpc32/power4.
36189         * string/bcopy.c: Use full path to include memmove.c.
36190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36191         multiarch objects.
36192         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36193         bcopy for powerpc64.
36194         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36195         bcopy for powerpc64.
36196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36197         and memmove implementations.
36198         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36199         optimized multiarch memmove for POWER7/powerpc64.
36200         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36201         default multiarch memmove for powerpc64.
36202         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36203         multiarch for powerpc64.
36204         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36205         for POWER7/powerpc64.
36206         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36207         memmove for POWER7/powerpc64.
36209         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36210         glibc default one.
36212         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36213         __ELF_NATIVE_CLASS equal to 64.
36215 2014-07-07  Roland McGrath  <roland@hack.frob.com>
36217         * sysdeps/nptl/lowlevellock.h: File removed.
36219         * NEWS: NPTL is no longer an add-on!
36220         * nptl/internaltypes.h: Moved ...
36221         * sysdeps/nptl/internaltypes.h: ... here.
36222         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36223         * sysdeps/nptl/fork.c: Likewise.
36224         * sysdeps/nptl/gai_misc.h: Likewise.
36225         * sysdeps/nptl/librt-cancellation.c: Likewise.
36226         * sysdeps/nptl/jmp-unwind.c: Likewise.
36227         * sysdeps/nptl/setxid.h: Likewise.
36228         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36229         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36230         * sysdeps/unix/sysv/linux/arm/Implies: New file.
36231         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36232         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36233         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36234         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36235         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36236         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36237         * sysdeps/unix/sysv/linux/mips/Implies: New file.
36238         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36239         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36240         * sysdeps/unix/sysv/linux/sh/Implies: New file.
36241         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36242         * sysdeps/unix/sysv/linux/tile/Implies: New file.
36243         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36244         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36245         * nptl/Makeconfig: Moved ...
36246         * sysdeps/nptl/Makeconfig: ... here.
36247         * nptl/configure: File removed.
36248         * nptl/ANNOUNCE: File removed.
36249         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36250         * sysdeps/unix/sysv/linux/configure: Regenerated.
36252         * nptl/Makefile (routines): Add libc_pthread_init,
36253         libc_multiple_threads, register-atfork and unregister-atfork.
36254         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36255         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36256         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36257         pthread-pi-defines.sym, structsem.sym.
36258         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36259         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36260         [$(subdir) = nptl] (tests): Add tst-setgetname.
36261         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36262         * sysdeps/unix/sysv/linux/sigaction.c: Just include
36263         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36264         [!LIBC_SIGACTION]: Remove aliases.
36265         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36266         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36267         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36268         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36269         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36270         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36271         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36272         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36273         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36274         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36275         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36276         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36277         __libc_allocate_rtsig_private.
36278         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36279         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36280         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36281         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36282         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36283         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36284         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36285         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36286         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36287         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36288         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36289         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36290         * nptl/internaltypes.h: ... here.
36291         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36292         * sysdeps/nptl/jmp-unwind.c: ... here.
36293         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36294         * nptl/libc-lowlevellock.c: ... here.
36295         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36296         * nptl/libc_multiple_threads.c: ... here.
36297         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36298         * nptl/libc_pthread_init.c: ... here.
36299         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36300         * nptl/lowlevelbarrier.sym: ... here.
36301         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36302         * nptl/lowlevelcond.sym: ... here.
36303         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36304         * nptl/lowlevellock.c: ... here.
36305         * nptl/lowlevellock.h: Moved ...
36306         * sysdeps/nptl/lowlevellock.h: ... here.
36307         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36308         * nptl/lowlevelrobustlock.c: ... here.
36309         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36310         * nptl/lowlevelrobustlock.sym: ... here.
36311         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36312         * nptl/lowlevelrwlock.sym: ... here.
36313         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36314         * nptl/pt-fork.c: ... here.
36315         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36316         * nptl/pthread-pi-defines.sym: ... here.
36317         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36318         * nptl/pthread_attr_getaffinity.c: ... here.
36319         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36320         * nptl/pthread_attr_setaffinity.c: ... here.
36321         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36322         * nptl/pthread_mutex_cond_lock.c: ... here.
36323         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36324         Update #include.
36325         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36326         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36327         * nptl/pthread_once.c: ... here, replacing old file.
36328         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36329         * nptl/pthread_yield.c: ... here.
36330         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36331         * nptl/register-atfork.c: ... here.
36332         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36333         * nptl/sem_post.c: ... here.
36334         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36335         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36336         * nptl/sem_timedwait.c: ... here.
36337         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36338         * nptl/sem_trywait.c: ... here.
36339         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36340         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36341         * nptl/sem_wait.c: ... here.
36342         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36343         * nptl/structsem.sym: ... here.
36344         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36345         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36346         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36347         * nptl/unregister-atfork.c: ... here.
36348         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36349         * nptl/unwindbuf.sym: ... here.
36350         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36351         * sysdeps/nptl/fork.c: ... here.
36352         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36353         * sysdeps/nptl/fork.h: ... here.
36354         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36355         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36356         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36357         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36358         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36359         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36360         * sysdeps/unix/sysv/linux/getpid.c: ... here.
36361         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36362         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36363         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36364         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36365         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36366         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36367         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36368         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36369         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36370         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36371         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36372         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36373         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36374         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36375         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36376         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36377         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36378         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36379         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36380         * sysdeps/unix/sysv/linux/raise.c: ... here.
36381         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36382         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36383         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36384         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36385         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36386         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36387         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36388         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36389         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36390         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36391         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36392         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36393         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36394         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36395         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36397 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36399         * sysdeps/generic/memcopy.h: Add comment for
36400         MEMCPY_OK_FOR_FWD_MEMMOVE.
36402 2014-07-04  Will Newton  <will.newton@linaro.org>
36404         * string/memchr.c: Merge from gnulib.
36405         [_LIBC]: Remove conditionals.
36406         (__ptr_t): Remove define.
36407         (LONG_MAX_32_BITS): Likewise.
36408         (LONG_MAX): Likewise.
36409         (MEMCHR): Use ANSI prototype and optimize algorithm.
36411         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36413 2014-07-03  Roland McGrath  <roland@hack.frob.com>
36415         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36416         (lll_futex_timed_wait_bitset): Fix syscall argument count.
36418         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36419         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36420         in a bare environment with no <stdlib.h> installed.
36421         * sysdeps/nptl/configure: Regenerated.
36423         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36425         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36426         AC_EGREP_CPP for kernel header checks, so they only succeed if
36427         including <linux/version.h> actually works right.
36428         * sysdeps/unix/sysv/linux/configure: Regenerated.
36430         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36431         value so it's not diagnosed as unused.
36433         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36434         thing) with "ifeq ($(subdir),rt)".
36436 2014-07-03  Richard Henderson  <rth@redhat.com>
36438         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36439         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36440         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36442         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36443         (math_force_eval): New.
36445         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36446         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36448         * sysdeps/alpha/fpu/s_round.c: Remove file.
36449         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36451         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36452         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36453         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36454         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36455         (_dl_start, print_statistics): Likewise.
36456         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36457         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36459         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36460         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36461         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36462         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36463         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36464         (HP_SMALL_TIMING_AVAIL): Define.
36465         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36466         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36467         (HP_SMALL_TIMING_AVAIL): Define.
36468         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36469         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36471         * sysdeps/aarch64/hp-timing.h: New file.
36473         * sysdeps/generic/hp-timing.h: Remove dead comment.
36474         * sysdeps/generic/hp-timing-common.h: New file.
36475         * sysdeps/alpha/hp-timing.h: Include it.
36476         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36477         * sysdeps/i386/i686/hp-timing.h: Likewise.
36478         * sysdeps/ia64/hp-timing.h: Likewise.
36479         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36480         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36481         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36482         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36483         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36484         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36485         (hp_timing_t): New.
36487         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36488         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36489         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36490         * elf/rtld.c (_dl_start_final): Likewise.
36491         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36492         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36493         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36494         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36495         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36496         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36497         (HP_TIMING_DIFF_INIT): Remove.
36498         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36499         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36500         (HP_TIMING_DIFF_INIT): Remove.
36501         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36502         * sysdeps/i386/i686/hp-timing.c: Remove file.
36503         * sysdeps/x86_64/hp-timing.c: Remove file.
36504         * sysdeps/ia64/hp-timing.c: Remove file.
36505         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36506         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36507         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36508         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36510         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36511         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36512         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36513         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36514         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36515         (HP_TIMING_ACCUM): Remove.
36516         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36517         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36518         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36520         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36521         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36522         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36523         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36524         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36525         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36526         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36527         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36529         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36531 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
36533         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36535 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36537         Sync up with gettext.
36538         * intl/loadmsgcat.c: Define O_BINARY if not defined.
36539         [_MSC_VER]: Include malloc.h
36540         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36541         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36542         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
36543         TEMP_FAILURE_RETRY.  Cast return of alloca.
36544         [!_LIBC] Call gl_rwlock_init.
36545         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36547 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36549         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36550         before checking its value.
36552 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36554         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36556         * debug/memcpy_chk.c: Don't include pagecopy.h.
36557         * debug/mempcpy_chk.c: Likewise.
36558         * string/memcpy.c: Likewise.
36559         * string/memmove.c: Likewise.
36560         * sysdeps/powerpc/memmove.c: Likewise.
36561         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
36562         definition of PAGE_COPY_FWD_MAYBE here...
36563         * sysdeps/generic/pagecopy.h: ... from here.
36564         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36566 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36567             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36569         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36571         optimizations.
36572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36573         (__libc_ifunc_impl_list): Likewise.
36574         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36575         multiarch strcat for PPC64.
36576         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36577         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36579 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36581         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36583 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36585         * intl/loadmsgcat.c: Remove declaration of
36586         get_sysdep_segment_value.
36587         (get_sysdep_segment_value): Use ISO C style.
36588         (_nl_load_domain): Use ISO C style.  Get rid of redundant
36589         semicolon.  Fix typo and formatting in comment.
36590         (_nl_unload_domain): Use ISO C style.
36592         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36594 2014-07-02  Will Newton  <will.newton@linaro.org>
36596         * malloc/obstack.c: Merge from gnulib master.
36597         [HAVE_CONFIG_H]: Remove conditional code.
36598         [!_LIBC]: Include config.h.
36599         [!ELIDE_CODE]: Don't include inttypes.h, include
36600         stdint.h unconditionally.
36601         (print_and_abort): Mark as _Noreturn.
36602         (_obstack_allocated_p): Mark as __attribute_pure__.
36603         (obstack_free): Rename to __obstack_free.
36604         [!__attribute__]: Remove conditional code.
36605         * malloc/obstack.h: Merge from gnulib master.
36606         [__cplusplus]: Move conditional down.
36607         [!__attribute_pure__]: Define __attribute_pure__ here
36608         if it is not already defined.
36609         (_obstack_memory_used): Mark as __attribute_pure__.
36610         [!__obstack_free]: Define as obstack_free.
36611         [__GNUC__]: Remove check for ancient NeXT gcc.
36613 2014-07-02  Will Newton  <will.newton@linaro.org>
36614             Paul Eggert  <eggert@cs.ucla.edu>
36616         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36618 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36620         * resolv/gethnamaddr.c: Add comment warning that the file is
36621         not maintained.
36623 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
36625         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36626         entries.
36628         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36629         entry for aio_cancel and aio_cancel64.
36630         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36631         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36632         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36633         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36634         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36635         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36636         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36637         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36638         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36639         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36640         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36641         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36642         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36644 2014-07-01  Roland McGrath  <roland@hack.frob.com>
36646         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36647         * nptl/pthread_mutex_lock.c: Likewise.
36648         * nptl/pthread_mutex_timedlock.c: Likewise.
36649         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36651 2014-07-01  Richard henderson  <rth@redhat.com>
36653         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36654         (__isnan, __isnanl): Remove.
36655         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36657         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36659 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36661         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36663 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36665         * resolv/nss_dns/dns-host.c (getanswer_r)
36666         [MULTI_PTRS_ARE_ALIASES]: Remove code.
36668 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
36670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36671         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36672         undefine.
36673         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36674         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36676 2014-07-01  Roland McGrath <roland@hack.frob.com>
36678         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36679         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36681         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36682         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36684         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36685         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36686         ... here.
36687         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36688         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36690         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36691         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36692         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36693         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36695         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36696         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36697         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36698         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36699         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36700         Moved ...
36701         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36702         ... here.
36703         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36704         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36705         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36706         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36707         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36708         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36709         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36710         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36711         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36712         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36713         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36714         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36715         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36716         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36717         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36718         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36719         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36720         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36721         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36722         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36723         ... here.
36724         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36725         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36726         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36727         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36728         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36729         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36730         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36731         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36733 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
36735         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36736         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36737         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36738         Add sysdep.
36740 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36744 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36746         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36747         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36749         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36751         * sysdeps/arm/libm-test-ulps: Regenerated.
36753 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36754             Roland McGrath <roland@hack.frob.com>
36756         * test-skeleton.c (signal_handler): Kill the whole process group
36757         before killing the child individually.
36758         (main): Report any failure on `setpgid'.
36760 2014-06-30  Roland McGrath  <roland@hack.frob.com>
36762         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36763         from _TLS_H to _ARM_NPTL_TLS_H.
36764         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36765         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36767 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36769         [BZ #16539]
36770         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36771         (__expm1l): Return argument unchanged when small but not
36772         subnormal.
36774         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36775         include macro name.
36776         (_FP_UNPACK_RAW_1_P): Likewise.
36777         (_FP_PACK_RAW_1): Likewise.
36778         (_FP_PACK_RAW_1_P): Likewise.
36779         (_FP_MUL_MEAT_1_wide): Likewise.
36780         (_FP_MUL_MEAT_DW_1_hard): Likewise.
36781         (_FP_MUL_MEAT_1_hard): Likewise.
36782         (_FP_DIV_MEAT_1_imm): Likewise.
36783         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36784         (_FP_DIV_MEAT_1_udiv): Likewise.
36785         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36786         (_FP_UNPACK_RAW_2): Likewise.
36787         (_FP_UNPACK_RAW_2_P): Likewise.
36788         (_FP_PACK_RAW_2): Likewise.
36789         (_FP_PACK_RAW_2_P): Likewise.
36790         (_FP_MUL_MEAT_DW_2_wide): Likewise.
36791         (_FP_MUL_MEAT_2_wide): Likewise.
36792         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36793         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36794         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36795         (_FP_MUL_MEAT_2_gmp): Likewise.
36796         (_FP_DIV_MEAT_2_udiv): Likewise.
36797         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36798         (_FP_FRAC_SRL_4): Likewise.
36799         (_FP_FRAC_SRST_4): Likewise.
36800         (_FP_FRAC_SRS_4): Likewise.
36801         (_FP_UNPACK_RAW_4): Likewise.
36802         (_FP_UNPACK_RAW_4_P): Likewise.
36803         (_FP_PACK_RAW_4): Likewise.
36804         (_FP_PACK_RAW_4_P): Likewise.
36805         (_FP_MUL_MEAT_DW_4_wide): Likewise.
36806         (_FP_MUL_MEAT_4_wide): Likewise.
36807         (_FP_MUL_MEAT_4_gmp): Likewise.
36808         (umul_ppppmnnn): Likewise.
36809         (_FP_DIV_MEAT_4_udiv): Likewise.
36810         (__FP_FRAC_ADD_4): Likewise.
36811         (__FP_FRAC_SUB_3): Likewise.
36812         (__FP_FRAC_SUB_4): Likewise.
36813         (__FP_FRAC_DEC_3): Likewise.
36814         (__FP_FRAC_DEC_4): Likewise.
36815         (__FP_FRAC_ADDI_4): Likewise.
36816         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36817         (_FP_FRAC_SRL_8): Likewise.
36818         (_FP_FRAC_SRS_8): Likewise.
36820         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36821         include macro name.
36822         (FP_UNPACK_RAW_EP): Likewise.
36823         (FP_PACK_RAW_E): Likewise.
36824         (FP_PACK_RAW_EP): Likewise.
36825         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36826         (_FP_ISSIGNAN): Likewise.
36827         (_FP_ADD_INTERNAL): Likewise.
36828         (_FP_FMA): Likewise.
36829         (_FP_CMP): Likewise.
36830         (_FP_SQRT): Likewise.
36831         (_FP_TO_INT): Likewise.
36832         (_FP_FROM_INT): Likewise.
36833         (FP_EXTEND): Likewise.
36834         (_FP_DIV_MEAT_N_loop): Likewise.
36836 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36838         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36839         throughout.
36841 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
36843         [BZ #17097]
36844         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36845         result with correct sign in case of exponents that produce
36846         overflow except for X very close to 1.
36848 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
36850         mktime: merge #if/#ifdef usage from glibc
36851         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36852         as that works with both Glibc's and Gnulib's style.
36853         See thread starting at Siddhesh Poyarekar's bug report at:
36854         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36856 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36858         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36859         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36860         * sysdeps/tile/tilegx/memmove.c: Remove file.
36862 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
36864         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36865         abi-name definition.
36866         * scripts/soversions.awk: Do not handle or generate ABI lines.
36867         * shlib-versions: Remove ABI entries.
36868         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36869         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
36871 2014-06-27  Roland McGrath  <roland@hack.frob.com>
36873         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
36874         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
36875         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
36876         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
36877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
36878         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
36879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
36880         Moved ...
36881         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
36882         ... here.
36883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
36884         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
36885         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
36886         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
36887         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
36888         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
36889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
36890         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
36891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
36892         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
36893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
36894         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
36895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
36896         Moved ...
36897         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
36898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
36899         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
36900         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
36901         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
36902         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
36903         Moved ...
36904         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
36905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
36906         Moved ...
36907         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
36908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
36909         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
36910         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
36911         Moved ...
36912         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
36913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
36914         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
36915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
36916         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
36917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
36918         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
36919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
36920         Moved ...
36921         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
36922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
36923         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
36924         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
36925         Moved ...
36926         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
36927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
36928         Moved ...
36929         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
36930         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
36931         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
36932         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
36933         Moved ...
36934         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
36935         ... here.
36936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
36937         Identical file removed.
36938         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
36939         Moved ...
36940         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
36941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
36942         Identical file removed.
36943         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
36944         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
36945         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
36946         Moved ...
36947         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
36948         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
36949         Identical file removed.
36950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
36951         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
36952         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
36953         Identical file removed.
36954         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
36955         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
36956         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
36957         Identical file removed.
36958         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
36959         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
36960         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
36961         Identical file removed.
36962         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
36963         Moved ...
36964         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
36965         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
36966         Identical file removed.
36967         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
36968         Moved ...
36969         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
36970         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
36971         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
36972         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
36973         Identical file removed.
36974         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
36975         Moved ...
36976         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
36977         ... here.
36978         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
36979         Identical file removed.
36980         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
36981         Moved ...
36982         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
36983         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
36984         Identical file removed.
36985         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
36986         Moved ...
36987         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
36988         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
36989         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
36990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
36991         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
36992         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
36993         Moved ...
36994         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
36995         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
36996         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
36998         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
36999         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37000         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37001         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37002         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37004 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37006         [BZ #17092]
37007         * nscd/nscd.c (monitor_child): Return exit status of child
37008         instead of return value from wait syscall.
37010 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37012         * configure.ac (libc_commonpagesize): Remove variable.
37013         (libc_relro_required): Likewise.
37014         (libc_cv_z_relro): Remove configure test.
37015         * configure: Regenerated.
37016         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37017         variable.
37018         (libc_relro_required): Likewise.
37019         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37020         (libc_relro_required): Likewise.
37021         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37022         (libc_relro_required): Likewise.
37023         * sysdeps/arm/preconfigure: Regenerated.
37024         * sysdeps/ia64/preconfigure: Remove file.
37025         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37026         variable.
37027         (libc_relro_required): Likewise.
37029         [BZ #16561]
37030         [BZ #16562]
37031         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37032         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37033         recompute overflowing results in original rounding mode.
37034         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37035         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37036         recompute overflowing results in original rounding mode.
37037         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37038         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37039         recompute overflowing results in original rounding mode.
37040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37041         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37042         recompute overflowing results in original rounding mode.
37043         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37044         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37045         recompute overflowing results in original rounding mode.
37046         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37047         (libc_feholdsetround_ctx): New macro.
37048         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37049         * sysdeps/i386/fpu/libm-test-ulps: Update.
37050         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37052 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37054         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37055         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37056         corresponding .cpsetup call.
37058 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37060         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37061         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37062         * sysdeps/arm/Makefile [$(subdir) = csu]
37063         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37064         (static-only-routines): Add aeabi_read_tp here.
37065         (shared-only-routines): Add libc-aeabi_read_tp here.
37066         (CFLAGS-libc-start.c): Add -fexceptions here.
37067         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37068         (sysdep_routines, static-only-routines, shared-only-routines):
37069         Don't add to these here.
37070         (CFLAGS-libc-start.c): Likewise.
37072         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37073         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37074         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37075         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37076         * sysdeps/arm/Makefile [$(subdir) = rt]
37077         (librt-sysdep_routines, librt-shared-only-routines):
37078         Append rt-aeabi_unwind_cpp_pr1 here.
37079         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37080         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37081         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37082         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37083         Append nptl-aeabi_unwind_cpp_pr1 here.
37084         (tests): Filter out tst-cleanupx4 here.
37085         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37086         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37087         Don't do those here.
37089 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37091         * scripts/list-sources.sh: Do not handle ports specially.
37093 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37095         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37096         * sysdeps/arm/feupdateenv.c: Likewise.
37098         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37100 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37102         * manual/texinfo.tex: Update to version 2014-05-05.10 with
37103         trailing whitespace removed.
37104         * scripts/config.guess: Update to version 2014-03-23.
37105         * scripts/config.sub: Update to version 2014-05-01
37106         * scripts/install-sh: Update to version 2013-12-25.23.
37107         * scripts/move-if-change: Update from gnulib.
37109 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37111         * debug/memmove_chk.c: Remove pagecopy.h include.
37113 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
37115         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
37116         identical to gnulib mktime.
37118 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37120         * configure.ac: Do not test for machine being rs6000.  Do not test
37121         for powerpc*-*soft.
37122         * configure: Regenerated.
37124         [BZ #11505]
37125         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37126         test.
37127         * configure: Regenerated.
37128         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37129         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37130         Remove configure test.
37131         * sysdeps/arm/configure: Regenerated.
37132         * sysdeps/nptl/configure.ac: Do not check
37133         libc_cv_asm_cfi_directives.
37134         * sysdeps/nptl/configure: Regenerated.
37135         * sysdeps/x86_64/nptl/configure.ac: Remove file.
37136         * sysdeps/x86_64/nptl/configure: Remove generated file.
37137         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37138         unconditional.
37139         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37141 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37143         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37144         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37145         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37146         it is defined.
37148         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37149         instead of whether it is defined.
37150         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37151         * sysdeps/hppa/dl-machine.h: Likewise.
37152         * sysdeps/ia64/dl-machine.h: Likewise.
37153         * sysdeps/m68k/dl-machine.h: Likewise.
37154         * sysdeps/microblaze/dl-machine.h: Likewise.
37155         * sysdeps/mips/dl-machine.: Likewise.
37156         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37157         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37158         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37159         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37160         * sysdeps/sh/dl-machine.h: Likewise.
37161         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37162         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37163         * sysdeps/tile/dl-machine.h: Likewise.
37164         * sysdeps/x86_64/dl-machine.h: Likewise.
37166         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37167         code.
37168         (verify_persistent_db): Likewise.
37170 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37173         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37175         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37177         Moved ...
37178         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37179         ... here.
37180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37181         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37183         Identical file removed.
37184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37185         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37187         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37189         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37191         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37193         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37195         Moved ...
37196         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37198         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37200         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37202         Moved ...
37203         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37205         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37207         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37209         Identical file removed.
37210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37211         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37213         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37215         Moved ...
37216         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37217         ... here.
37218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37219         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37221         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37223         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37225         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37227         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37229         Moved ...
37230         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37232         Moved ...
37233         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37235         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37237         Moved ...
37238         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37240         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37242         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37243         folded into ...
37244         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37245         * sysdeps/unix/sysv/linux/s390/Versions
37246         (libpthread: GLIBC_2.19): New version set.
37247         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37248         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37249         (librt: GLIBC_2.3.3): New version set.
37250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37251         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37252         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37253         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37254         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37255         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37256         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37257         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37258         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37259         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37260         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37261         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37262         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37263         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37264         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37265         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37266         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37267         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37268         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37269         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37270         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37271         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37272         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37273         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37274         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37276         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37278         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37279         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37280         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37281         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37282         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37283         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37285         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37286         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37288         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37290         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37292         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37294         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37296         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37297         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37298         (__libc_vfork): Define the function under this name.
37299         [!NOT_IN_libc] (__vfork): Make this an alias.
37300         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37302         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37303         (__libc_vfork): Define the function under this name.
37304         [!NOT_IN_libc] (__vfork): Make this an alias.
37305         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37306         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37307         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37309         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37310         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37312         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37313         code that was previously under [RESET_PID].
37314         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37315         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37316         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37318         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37319         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37320         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37321         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37322         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37323         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37324         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37325         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37326         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37327         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37328         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37329         Moved ...
37330         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37331         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37332         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37333         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37334         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37335         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37336         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37337         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37338         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37339         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37340         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37341         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37342         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37343         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37344         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37345         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37346         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37347         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37348         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37349         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37350         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37351         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37352         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37353         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37354         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37355         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37356         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37358         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37360 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37362         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37363         that was previously under [RESET_PID].
37364         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37366 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37368         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37369         not undefine and redefine.
37370         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37371         [O_CLOEXEC]: Make code unconditional.
37372         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37373         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37374         <kernel-features.h>.
37375         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37376         conditional variable definition.
37377         (shm_open) [O_CLOEXEC]: Make code unconditional.
37378         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37379         code.
37381         * configure.ac (USE_REGPARMS): Don't define here.
37382         * configure: Regenerated.
37383         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37384         * sysdeps/i386/configure: Regenerated.
37386         * nptl/createthread.c: Don't include kernel-features.h.
37387         * nptl/pthread_cancel.c: Likewise.
37388         * nptl/pthread_condattr_setclock.c: Likewise.
37389         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37390         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37391         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37392         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37393         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37394         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37395         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37397         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37398         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37399         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37400         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37401         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37402         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37403         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37404         * nscd/gai.c: Likewise.
37405         * nss/nss_db/db-open.c: Likewise.
37406         * sysdeps/generic/ldsodefs.h: Likewise.
37407         * sysdeps/sh/nptl/tls.h: Likewise.
37408         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37409         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37410         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37411         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37412         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37413         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37414         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37415         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37416         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37417         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37418         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37419         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37420         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37421         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37422         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37423         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37424         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37425         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37426         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37427         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37428         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37429         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37430         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37431         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37436         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37437         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37438         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37439         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37440         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37441         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37442         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37443         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37444         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37445         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37446         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37447         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37448         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37449         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37450         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37451         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37452         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37453         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37454         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37455         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37456         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37457         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37458         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37459         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37460         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37461         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37462         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37463         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37464         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37465         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37488         * sysdeps/unix/sysv/linux/pread.c: Likewise.
37489         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37490         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37491         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37492         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37493         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37494         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37495         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37496         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37497         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37498         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37499         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37500         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37501         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37502         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37503         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37504         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37505         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37506         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37507         * sysdeps/unix/sysv/linux/system.c: Likewise.
37508         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37509         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37510         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37511         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37512         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37513         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37514         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37516         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37517         * configure: Regenerated.
37518         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37520         * configure.ac (base_machine): Do not set specially for particular
37521         machines here.
37522         * configure: Regenerated.
37523         * sysdeps/powerpc/preconfigure: Move machine and base_machine
37524         settings from configure.ac.
37525         * sysdeps/i386/preconfigure: New file.
37526         * sysdeps/s390/preconfigure: Likewise.
37527         * sysdeps/sh/preconfigure: Likewise.
37528         * sysdeps/sparc/preconfigure: Likewise.
37530 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37532         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37533         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37534         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37535         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37536         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37537         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37538         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37539         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37540         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37541         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37542         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37543         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37544         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37545         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37546         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37547         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37548         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37549         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37550         * sysdeps/sparc/sparc64/Makefile: ... appended here.
37552         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37553         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37554         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37555         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37556         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37557         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37558         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37559         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37560         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37561         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37562         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37563         * sysdeps/sparc/sparc32/sem_post.c: ... here.
37564         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37565         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37566         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37567         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37568         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37569         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37570         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37571         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37572         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37573         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37574         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37575         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37577         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37579         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37580         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37581         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37583         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37584         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37585         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37587         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37589         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37592         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37594         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37596         Moved ...
37597         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37598         ... here.
37599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37600         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37602         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37604         Moved ...
37605         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37607         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37609         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37611         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37613         Moved ...
37614         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37616         Moved ...
37617         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37619         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37621         Moved ...
37622         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37624         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37626         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37628         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37630         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37632         Moved ...
37633         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37634         ... here.
37635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37636         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37638         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37640         Moved ...
37641         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37643         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37645         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37647         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37649         Moved ...
37650         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37652         Moved ...
37653         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37655         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37657         Moved ...
37658         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37660         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37662         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37664 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37666         * timezone/checktab.awk: Update from tzcode 2014e.
37667         * timezone/private.h: Likewise.
37668         * timezone/tzfile.h: Likewise.
37669         * timezone/zdump.c: Likewise.
37670         * timezone/zic.c: Likewise.
37672         * sysdeps/unix/sysv/linux/kernel-features.h
37673         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37674         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37675         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37676         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37677         Remove conditional code.
37679 2014-06-25  Will Newton  <will.newton@linaro.org>
37681         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37682         (_dl_arm_cap_flags): Add HWCAP2 values.
37683         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37684         (_DL_HWCAP_COUNT): Increase to 37.
37685         (_DL_HWCAP_LAST): New define.
37686         (_DL_HWCAP2_LAST): New define.
37687         (_dl_procinfo): Add support for printing
37688         AT_HWCAP2 entries.
37689         (_dl_string_hwcap): Use _dl_hwcap_string.
37691 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37695 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37697         * README: Do not mention ports directory.
37699         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37700         Remove macro.
37701         * sysdeps/unix/sysv/linux/futimes.c: Do not include
37702         <kernel-features.h>.
37703         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37704         conditional variable definition.
37705         (__futimes): Update comment.
37706         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37707         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37709         [BZ #16560]
37710         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37711         arguments close to 0.
37712         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37713         Likewise.
37714         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37715         Likewise.
37716         * math/auto-libm-test-in: Add more tests of exp10.
37717         * math/auto-libm-test-out: Regenerated.
37718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37720         * sysdeps/unix/sysv/linux/kernel-features.h
37721         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37722         * sysdeps/unix/sysv/linux/readv.c: Do not include
37723         <kernel-features.h>.
37724         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37725         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37726         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37727         unconditional.
37728         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37729         conditional code.
37730         * sysdeps/unix/sysv/linux/writev.c: Do not include
37731         <kernel-features.h>.
37732         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37733         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37734         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37735         unconditional.
37736         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37737         conditional code.
37739 2014-06-25  Will Newton  <will.newton@linaro.org>
37741         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37742         comment changes throughout the file.  Remove checks
37743         for HAVE_*_H definitions that are not required.
37744         (__gen_tempname): Call abort if an unknown kind value is
37745         passed.
37747 2014-06-25  Andreas Schwab  <schwab@suse.de>
37749         [BZ #17086]
37750         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37751         scalbln, scalblnf, scalblnl in libc.
37753 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37755         [BZ #17086]
37756         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37757         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37758         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37760 2014-06-24  Roland McGrath  <roland@hack.frob.com>
37762         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37763         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37764         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37765         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37766         Update #include.
37767         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37768         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37769         Update #include.
37770         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37771         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37772         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37773         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37774         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37775         * sysdeps/x86/bits/pthreadtypes.h: ... here.
37776         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37777         * sysdeps/x86/bits/semaphore.h: ... here.
37778         * sysdeps/x86/nptl/elide.h: Moved ...
37779         * sysdeps/x86/elide.h: ... here.
37780         * sysdeps/x86_64/nptl/Implies: File removed.
37781         * sysdeps/i386/nptl/Implies: File removed.
37783 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
37785         [BZ #16539]
37786         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37787         return the argument for normal arguments with exponent below -64.
37788         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37789         Likewise.
37790         * math/auto-libm-test-in: Add another test of expm1.
37791         * math/auto-libm-test-out: Regenerated.
37793         [BZ #16287]
37794         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37795         calling __erfcl for arguments at least 16.
37796         * math/auto-libm-test-in: Add more tests of erf.
37797         * math/auto-libm-test-out: Regenerated.
37799         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37800         individual architectures.
37801         * sysdeps/unix/sysv/linux/configure: Regenerated.
37802         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37803         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37804         * sysdeps/unix/sysv/linux/powerpc/configure.ac
37805         (ldd_rewrite_script): Define variable.
37806         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37808         file.
37809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37810         generated file.
37811         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37812         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37813         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37814         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37815         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37816         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37817         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37818         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37820 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37822         [BZ #17084]
37823         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37824         Rename member __data.d to __data.__elision_data.
37826 2014-06-24  Wilco  <wdijkstr@arm.com>
37828         * NEWS: Add 16918 to fixed bug list.
37830 2014-06-24  Wilco  <wdijkstr@arm.com>
37832         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37834 2014-06-24  Wilco  <wdijkstr@arm.com>
37836         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37837         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37838         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37839         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37840         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37841         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37842         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37843         Use _FPU_MASK_RM.
37845 2014-06-24  Wilco  <wdijkstr@arm.com>
37847         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37849 2014-06-24  Wilco  <wdijkstr@arm.com>
37851         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37852         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37853         * sysdeps/arm/fesetround.c (fesetround): Remove space.
37854         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37856 2014-06-24  Wilco  <wdijkstr@arm.com>
37858         [BZ #16918]
37859         * sysdeps/arm/feupdateenv.c (feupdateenv):
37860         Rewrite to reduce FPSCR accesses and fix return value.
37862 2014-06-24  Wilco  <wdijkstr@arm.com>
37864         * sysdeps/arm/fclrexcpt.c (feclearexcept):
37865         Optimize to avoid unnecessary FPSCR writes.
37866         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37867         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37868         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37869         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
37871 2014-06-24  Wilco  <wdijkstr@arm.com>
37873         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
37874         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
37875         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
37876         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
37877         Call libc_fetestexcept_vfp.
37878         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
37879         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
37880         __SOFTFP__ ifdef so that they can be built for softfp.
37882 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37884         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
37885         argument type signed char.
37887         * Makerules (check-abi): Dump diff of symlist if the test
37888         fails.
37890 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37892         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
37893         using abort.
37895         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37896         Remove unused variable ST.
37898 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
37900         [BZ #16354]
37901         [BZ #17061]
37902         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
37903         small arguments before calling __expm1.
37904         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
37905         small arguments before calling __expm1f.
37906         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
37907         small arguments before calling __expm1l.
37908         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37909         Likewise.
37910         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37911         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
37912         spurious underflow for some cosh tests.
37913         * math/auto-libm-test-out: Regenerated.
37914         * sysdeps/i386/fpu/libm-test-ulps: Update.
37916         [BZ #17050]
37917         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
37918         (__ieee754_y1): Set errno if return value overflows.
37919         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
37920         (__ieee754_y1f): Set errno if return value overflows.
37921         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
37922         (__ieee754_y1l): Set errno if return value overflows.
37923         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
37924         (__ieee754_y1l): Set errno if return value overflows.
37925         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
37926         * math/auto-libm-test-out: Regenerated.
37928         * math/gen-auto-libm-tests.c: Document use of
37929         ignore-zero-inf-sign.
37930         (input_flag_type): Add value flag_ignore_zero_inf_sign.
37931         (input_flags): Add ignore-zero-inf-sign.
37932         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
37933         * math/gen-libm-test.pl (generate_testfile): Handle
37934         ignore-zero-inf-sign.
37935         * math/auto-libm-test-in: Mark some cpow tests with
37936         ignore-zero-inf-sign and some with xfail-rounding.
37937         * math/auto-libm-test-out: Regenerated.
37938         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
37939         * sysdeps/i386/fpu/libm-test-ulps: Update.
37940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37942         [BZ #16315]
37943         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
37944         overflowing or underflowing operations take place with sign of
37945         result.
37946         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37947         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37948         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
37949         (__ieee754_pow): Recompute overflowing and underflowing results in
37950         original rounding mode.
37951         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
37952         (__powl_helper): Allow negative argument X and scale negated value
37953         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
37954         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
37955         overflowing or underflowing operations take place with sign of
37956         result.
37957         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
37958         Include <math.h>.
37959         * math/auto-libm-test-in: Add more tests of pow.
37960         * math/auto-libm-test-out: Regenerated.
37961         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
37962         (pow_tonearest_test_data): Remove.
37963         (pow_test_tonearest): Likewise.
37964         (pow_towardzero_test_data): Likewise.
37965         (pow_test_towardzero): Likewise.
37966         (pow_downward_test_data): Likewise.
37967         (pow_test_downward): Likewise.
37968         (pow_upward_test_data): Likewise.
37969         (pow_test_upward): Likewise.
37970         (main): Don't call removed functions.
37971         * sysdeps/i386/fpu/libm-test-ulps: Update.
37972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37974 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
37977         Moved ...
37978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
37979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37980         Moved ...
37981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
37982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37983         Moved ...
37984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
37985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37986         Moved ...
37987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
37988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37989         File removed.
37990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37991         File removed.
37992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
37993         File removed.
37994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
37995         File removed.
37996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
37997         File removed.
37998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
37999         File removed.
38000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38001         File removed.
38002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38003         File removed.
38004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38005         File removed.
38006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38007         File removed.
38008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38009         File removed.
38010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38011         File removed.
38012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38013         Moved ...
38014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38016         Moved ...
38017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38018         ... here.
38019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38020         Moved ...
38021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38023         Moved ...
38024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38026         Moved ...
38027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38029         Moved ...
38030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38032         Moved ...
38033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38035         Moved ...
38036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38038         Moved ...
38039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38042         ... here.
38043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38044         Moved ...
38045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38047         Moved ...
38048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38049         ... here.
38050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38051         Moved ...
38052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38053         ... here.
38054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38055         Moved ...
38056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38057         ... here.
38058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38059         Moved ...
38060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38062         Moved ...
38063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38067         Moved ...
38068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38069         ... here.
38070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38071         Moved ...
38072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38073         ... here.
38074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38075         Moved ...
38076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38078         Moved ...
38079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38081         Moved ...
38082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38084         Moved ...
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38087         Moved ...
38088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38089         ... here.
38090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38091         Moved ...
38092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38094         Moved ...
38095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38097         Moved ...
38098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38100         Moved ...
38101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38105         Moved ...
38106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38108         Moved ...
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38111         Moved ...
38112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38113         ... here.
38114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38115         Moved ...
38116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38117         ... here.
38118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38119         Moved ...
38120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38121         ... here.
38122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38123         Moved ...
38124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38126         Moved ...
38127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38129         Moved ...
38130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38132         Moved ...
38133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38134         ... here.
38135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38136         Moved ...
38137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38138         ... here.
38139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38140         Moved ...
38141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38142         ... here.
38143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38144         Moved ...
38145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38147         Moved ...
38148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38150 2014-06-23  Will Newton  <will.newton@linaro.org>
38151             Wilco  <wdijkstr@arm.com>
38153         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38154         implementation.  Include get-rounding-mode.h.
38155         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38156         [!libc_feholdsetround_noex_ctx]: Define
38157         libc_feholdsetround_noex_ctx.
38158         [!libc_feholdsetround_noexf_ctx]: Define
38159         libc_feholdsetround_noexf_ctx.
38160         [!libc_feholdsetround_noexl_ctx]: Define
38161         libc_feholdsetround_noexl_ctx.
38162         (libc_feholdsetround_ctx): New function.
38163         (libc_feresetround_ctx): New function.
38164         (libc_feholdsetround_noex_ctx): New function.
38165         (libc_feresetround_noex_ctx): New function.
38167 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38169         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38170         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38171         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38172         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38173         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38174         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38176         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38177         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38178         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38179         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38180         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38181         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38183         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38185         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38186         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38187         Moved ...
38188         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38189         ... here.
38190         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38191         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38193         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38195         Moved ...
38196         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38197         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38198         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38200         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38201         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38202         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38204         Moved ...
38205         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38206         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38207         Moved ...
38208         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38209         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38210         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38211         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38212         Moved ...
38213         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38215         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38216         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38217         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38218         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38219         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38220         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38221         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38222         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38223         Moved ...
38224         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38225         ... here.
38226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38227         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38228         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38229         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38230         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38231         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38232         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38233         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38234         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38235         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38237         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38239         Moved ...
38240         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38241         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38242         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38243         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38244         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38246         Moved ...
38247         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38248         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38249         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38250         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38251         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38253         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38254         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38255         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38256         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38257         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38258         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38259         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38260         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38261         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38262         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38263         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38264         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38265         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38266         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38267         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38268         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38269         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38270         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38271         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38272         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38273         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38274         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38275         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38276         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38277         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38278         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38279         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38280         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38282 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38284         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38285         (FALLOC_FL_COLLAPSE_RANGE): New macro.
38286         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38287         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38288         (IPV6_PMTUDISC_INTERFACE): Likewise.
38289         (IPV6_PMTUDISC_OMIT): Likewise.
38291 2014-06-23  Andreas Schwab  <schwab@suse.de>
38293         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38294         Remove unused errout label.
38296 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38298         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38299         macro: hardware supports Vector Crypto instructions.
38301 2014-06-23  Will Newton  <will.newton@linaro.org>
38303         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38304         rather than __builtin_expect.
38306         * elf/dl-lookup.c (undefined_msg): Remove variable.
38307         (_dl_lookup_symbol_x): Replace undefined_msg with string
38308         literal.
38310         * elf/dl-lookup.c (do_lookup_unique): New function.
38311         (do_lookup_x): Move STB_GNU_UNIQUE handling code
38312         to a separate function.
38314 2014-06-23  Andreas Schwab  <schwab@suse.de>
38316         [BZ #17079]
38317         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38318         before reading the next line.
38320 2014-06-23  Will Newton  <will.newton@linaro.org>
38322         * test-skeleton.c (signal_handler): Use printf and %m
38323         rather than perror.  Use printf rather than fprintf to
38324         stderr.  Use puts rather than fputs to stderr.
38325         (main): Likewise.
38327 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
38329         * nscd/nscd.c (thread_info_t): Remove typedef.
38330         (thread_info): Remove variable.
38332 2014-06-21  Allan McRae  <allan@archlinux.org>
38334         * NEWS: Mention CVE-2014-4043.
38336 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38338         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38339         * nptl/smp.h: ... here.
38341         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38343         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38344         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38345         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38346         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38348         * nptl/allocatestack.c: Include <stack-aliasing.h>.
38349         * nptl/stack-aliasing.h: New file.
38350         * sysdeps/i386/i686/stack-aliasing.h: New file.
38351         * sysdeps/i386/i686/nptl/Makefile: File removed.
38352         * sysdeps/x86_64/stack-aliasing.h: New file.
38353         * sysdeps/x86_64/nptl/Makefile
38354         (CFLAGS-pthread_create.c): Variable removed.
38356         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38357         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38358         old file.
38359         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38360         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38361         old file.
38363 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
38365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38366         (__ASSUME_SIGFRAME_V2): Remove macro.
38367         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38368         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38369         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38370         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38371         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38372         Declare as function.  Remove conditional macro definitions.
38373         (__default_rt_sa_restorer): Likewise.
38374         (__default_sa_restorer_v1): Remove declaration.
38375         (__default_sa_restorer_v2): Likewise.
38376         (__default_rt_sa_restorer_v1): Likewise.
38377         (__default_rt_sa_restorer_v2): Likewise.
38378         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38379         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38380         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38382 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38384         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38385         (libpthread-routines): Add sysdep.
38386         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38387         * sysdeps/unix/sysv/linux/sparc/Versions
38388         (libpthread: GLIBC_2.3.3): New version set.
38389         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38390         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38391         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38392         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38393         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
38394         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38395         Moved ...
38396         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38397         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38398         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38399         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38400         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38401         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38402         * sysdeps/sparc/nptl/sem_init.c: ... here.
38403         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38404         * sysdeps/sparc/nptl/sem_post.c: ... here.
38405         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38406         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38407         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38408         * sysdeps/sparc/nptl/sem_wait.c: ... here.
38409         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38410         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38411         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38412         (libpthread-routines): Add cpu_relax.
38413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38414         File removed.
38415         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38416         (librt: GLIBC_2.3.3): New version set.
38417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38418         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38419         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38420         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38423         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38425         Moved ...
38426         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38428         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38430         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38432         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38434         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38436         Moved ...
38437         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38438         Update #include.
38439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38440         Moved ...
38441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38442         Update #include.
38443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38444         Moved ...
38445         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38446         Update #include.
38447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38448         Moved ...
38449         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38450         Update #include.
38451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38452         Moved ...
38453         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38454         Update #include.
38455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38456         Moved ...
38457         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38458         Update #include.
38459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38460         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38464         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38466         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38468         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38470         Moved ...
38471         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38473         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38475         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38477 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38479         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38480         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38481         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38482         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38483         * nscd/nscd.c: Likewise.
38484         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38485         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38486         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38487         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38489         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38490         <kernel-features.h>.
38491         (init_mq_netlink): Remove conditional have_sock_cloexec
38492         definitions.  Remove code conditional on have_sock_cloexec < 0.
38493         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38494         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38495         * sysdeps/unix/sysv/linux/opensock.c: Do not include
38496         <kernel-features.h>.
38497         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38498         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38500 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38502         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38503         Add tests for memset_chk and memset.
38505         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38506         with AVX2_Usable.
38508 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38510         [BZ #16046]
38511         * elf/tst-dl-iter-static.c: New file.
38512         * elf/Makefile (tests-static): Add tst-dl-iter-static.
38514         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38515         error.
38517 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38519         * sysdeps/unix/sysv/linux/kernel-features.h
38520         (__ASSUME_F_GETOWN_EX): Remove macro.
38521         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38522         <kernel-features.h>.
38523         (miss_F_GETOWN_EX): Remove variable or macro.
38524         (do_fcntl): Do not check miss_F_GETOWN_EX.
38525         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38527         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38528         Remove macro.
38529         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38530         [!__ASSUME_AT_RANDOM]: Remove conditional code.
38531         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38533         * sysdeps/unix/sysv/linux/kernel-features.h
38534         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38535         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38536         [ADJ_OFFSET_SS_READ]: Make code unconditional.
38537         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38539 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38541         [BZ #17075]
38542         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38543         Fix calculation of the symbol's value.
38544         * sysdeps/arm/tst-armtlsdescloc.c: New file.
38545         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38546         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38547         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38548         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38549         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38550         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38551         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38552         (modules-names): Add `tst-armtlsdescmod',
38553         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38554         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38555         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38556         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38557         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38558         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38559         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38560         ($(objpfx)tst-armtlsdescloc): New dependency.
38561         ($(objpfx)tst-armtlsdescextnow): Likewise.
38562         ($(objpfx)tst-armtlsdescextlazy): Likewise.
38563         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38564         TLS scheme support.
38565         * sysdeps/arm/configure: Regenerate.
38567 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38569         * include/fcntl.h (__atfct_seterrno): Remove prototype.
38570         (__atfct_seterrno_2): Likewise.
38571         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38572         <kernel-features.h>.
38573         (__ASSUME_ATFCTS): Do not undefine and redefine.
38574         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38575         (__have_atfcts): Remove conditional definition.
38576         (__fxstatat([__NR_fstatat64]: Make code unconditional.
38577         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38578         unreachable if [__ASSUME_ATFCTS].
38579         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38580         not undefine and redefine.
38581         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38582         <kernel-features.h>.
38583         (faccessat) [__NR_faccessat]: Make code unconditional.
38584         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38585         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38586         <kernel-features.h>.
38587         (fchmodat) [__NR_fchmodat]: Make code unconditional.
38588         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38589         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38590         <kernel-features.h>.
38591         (fchownat) [__NR_fchownat]: Make code unconditional.
38592         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38593         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38594         <kernel-features.h>.
38595         (futimesat) [__NR_futimesat]: Make code unconditional.
38596         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38597         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38598         <kernel-features.h>.
38599         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38600         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38601         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38602         <kernel-features.h>.
38603         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38604         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38605         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38606         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38607         <kernel-features.h>.
38608         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38609         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38610         * sysdeps/unix/sysv/linux/linkat.c: Do not include
38611         <kernel-features.h>.
38612         (linkat) [__NR_linkat]: Make code unconditional.
38613         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38614         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38615         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38616         <kernel-features.h>.
38617         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38618         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38619         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38620         <kernel-features.h>.
38621         (mkdirat) [__NR_mkdirat]: Make code unconditional.
38622         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38623         * sysdeps/unix/sysv/linux/openat.c: Do not include
38624         <kernel-features.h>.
38625         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38626         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38627         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38628         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38629         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38630         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38631         <kernel-features.h>.
38632         (readlinkat) [__NR_readlinkat]: Make code unconditional.
38633         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
38634         result of INLINE_SYSCALL directly, not via int variable.
38635         * sysdeps/unix/sysv/linux/renameat.c: Do not include
38636         <kernel-features.h>.
38637         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38638         (renameat) [__NR_renameat]: Make code unconditional.
38639         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38640         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38641         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38642         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38643         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38644         (__ASSUME_ATFCTS): Do not undefine and redefine.
38645         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38646         <kernel-features.h>.
38647         (symlinkat) [__NR_symlinkat]: Make code unconditional.
38648         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38649         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38650         <kernel-features.h>.
38651         (unlinkat) [__NR_unlinkat]: Make code unconditional.
38652         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38653         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38654         (__ASSUME_ATFCTS): Do not undefine and redefine.
38655         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38656         <kernel-features.h>.
38657         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38658         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38659         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38660         <kernel-features.h>.
38661         (__xmknodat) [__NR_mknodat]: Make code unconditional.
38662         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38664 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38666         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38668 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
38670         [BZ #17069]
38671         * posix/regcomp.c (parse_reg_exp): Deallocate partially
38672         constructed tree before returning error.
38673         * posix/bug-regexp36.c: Expand test case.
38675 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38677         [BZ #6803]
38678         * math/libm-test.inc (scalbln_test_date):
38679         Add errno expectations.
38680         * math/w_scalblnf.c: New File.
38681         Add wrapper which checks for setting errno to ERANGE.
38682         Add weak_alias for corresponding scalbln function.
38683         * math/w_scalbln.c: Likewise.
38684         * math/w_scalblnl.c: Likewise.
38685         * math/Makefile (libm-calls): Add w_scalbln.
38686         * sysdeps/ieee754/flt-32/s_scalblnf.c:
38687         Remove weak_alias for corresponding scalbln function.
38688         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38689         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38691         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38692         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38693         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38694         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38695         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38696         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38697         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38698         Remove long_double_symbol for scalblnl function in libm, libc.
38699         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38700         Add wrapper which checks for setting errno to ERANGE.
38701         Add long_double_symbol for scalblnl function in libm, libc.
38702         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38703         Remove long_double_symbol for scalblnl in libm.
38704         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38705         Add wrapper which checks for setting errno to ERANGE.
38706         Add long_double_symbol for scalblnl function in libm.
38707         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38708         Do not use wrapper because of own implementation.
38710 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
38712         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38713         3 bytes for __pad1 for x32.
38714         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38716 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
38717             H.J. Lu  <hongjiu.lu@intel.com>
38719         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38720         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38721         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38722         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38723         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38725 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
38727         [BZ #17069]
38728         * posix/regcomp.c (parse_expression): Deallocate partially
38729         constructed tree before returning error.
38730         * posix/Makefile.c (tests): Add bug-regex36.
38731         (generated): Add bug-regex36.mtrace.
38732         (tests-special): Add $(objpfx)bug-regex36-mem.out
38733         (bug-regex36-ENV): New variable.
38734         ($(objpfx)bug-regex36-mem.out): New rule.
38735         * posix/bug-regex36.c: New file.
38737 2014-06-19  Will Newton  <will.newton@linaro.org>
38739         * malloc/malloc.c (systrim): If extra is zero then return
38740         early.
38742 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38744         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38746 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
38748         * sysdeps/aarch64/strchr.S: New file.
38750 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38752         [BZ #17022]
38753         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38754         from arguments -2 or below.
38755         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38756         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38758 2014-06-18  Andreas Schwab  <schwab@suse.de>
38760         [BZ #17062]
38761         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38762         of a bracket expr not to run off the end of the string.
38763         * posix/Makefile (tests): Add tst-fnmatch3.
38764         * posix/tst-fnmatch3.c: New file.
38766 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38768         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38769         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38770         [$(cross-compiling) = no]: Likewise.
38771         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38772         [$(cross-compiling) = no]: Likewise.
38774 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38776         [BZ #17031]
38777         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38778         double, adjusted for any remainder from the high double.
38779         * math/libm-test.inc (nearbyint): Add tests.
38780         (rint): Likewise.
38782 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38784         * nptl/sysdeps/powerpc/Makefile: Moved ...
38785         * sysdeps/powerpc/nptl/Makefile: ... here.
38786         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38787         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38788         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38789         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38790         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38791         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38792         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38793         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38794         * nptl/sysdeps/powerpc/tls.h: Moved ...
38795         * sysdeps/powerpc/nptl/tls.h: ... here.
38797 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
38799         [BZ #16681]
38800         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38801         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38802         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38803         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38804         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38805         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38806         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38807         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38808         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38810 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
38812         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38814 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
38816         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38817         defined operator.
38819         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38820         $TIMEOUTFACTOR.
38822 2014-06-16  Florian Weimer  <fweimer@redhat.com>
38824         [BZ #17058]
38825         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38826         non-executed part of the test.
38828 2014-06-16  Andreas Schwab  <schwab@suse.de>
38830         * string/bits/string2.h (strdup, strndup): Update feature guard.
38832 2014-06-14  David S. Miller  <davem@davemloft.net>
38834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38836 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
38838         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38839         that was previously under [RESET_PID].
38840         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38842         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38843         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38844         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38845         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38846         (__libc_vfork): New strong alias.
38847         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38849 2014-06-14 Andi Kleen  <ak@linux.intel.com>
38851         * sysdeps/generic/elide.h: New file.
38853 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38855         * Makefile (installed-headers): Adjust path of pthread.h header.
38857 2014-06-13  Roland McGrath  <roland@hack.frob.com>
38859         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38860         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38861         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38862         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38864         * nptl/sysdeps/s390/Makefile: Moved ...
38865         * sysdeps/s390/nptl/Makefile: ... here.
38866         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38867         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38868         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38869         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
38870         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
38871         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
38872         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
38873         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
38874         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
38875         * sysdeps/s390/nptl/pthreaddef.h: ... here.
38876         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38877         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
38878         * nptl/sysdeps/s390/tls.h: Moved ...
38879         * sysdeps/s390/nptl/tls.h: ... here.
38881         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
38882         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
38884 2014-06-13  David S. Miller  <davem@davemloft.net>
38886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
38887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
38888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
38889         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
38890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
38891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
38892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
38893         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
38894         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
38895         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
38896         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
38897         Remove RESET_PID cpp guards.
38898         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
38899         Remove RESET_PID cpp guards.
38900         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
38902 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
38904         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
38905         __sp to uintptr_t.
38907 2014-06-13  Andi Kleen  <ak@linux.intel.com>
38909         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
38910         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
38911         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
38912         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
38913         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
38914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
38915         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
38916         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
38917         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
38918         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
38919         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
38920         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
38921         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
38922         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
38923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
38924         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
38925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
38926         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
38927         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
38928         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
38930         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
38931         (pthread_rwlock_rdlock): Add elision.
38932         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
38933         (pthread_rwlock_wrlock): Add elision.
38934         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
38935         (pthread_rwlock_trywrlock): Add elision.
38936         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
38937         (pthread_rwlock_tryrdlock): Add elision.
38938         * nptl/pthread_rwlock_unlock.c: Include elide.h.
38939         (pthread_rwlock_tryrdlock): Add elision unlock.
38940         * nptl/sysdeps/pthread/pthread.h:
38941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
38942         (PTHREAD_RWLOCK_INITIALIZER,
38943         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
38944         Handle new elision field.
38945         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
38946         * sysdeps/arm/nptl/bits/pthreadtypes.h
38947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38948         * sysdeps/sh/nptl/bits/pthreadtypes.h
38949         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38950         * sysdeps/tile/nptl/bits/pthreadtypes.h
38951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38952         * sysdeps/a/nptl/bits/pthreadtypes.h
38953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38954         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38956         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38958         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
38959         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38960         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38961         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38962         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38964         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38965         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38966         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38968         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
38969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38970         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
38971         (elision_init): Set try_xbegin to zero when no RTM.
38972         * sysdeps/x86/nptl/bits/pthreadtypes.h
38973         (pthread_rwlock_t): Change __pad1 to __rwelision.
38974         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38976 2014-06-13  Andi Kleen  <ak@linux.intel.com>
38978         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
38979         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
38980         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
38981         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
38983 2014-06-13  Meador Inge  <meadori@codesourcery.com>
38985         [BZ #16996]
38986         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
38987         that the cached result has been set before returning it.
38989 2014-06-12  Roland McGrath  <roland@hack.frob.com>
38991         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
38992         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
38993         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
38994         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
38995         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
38996         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
38998         * nptl/sysdeps/sparc/Makefile: Moved ...
38999         * sysdeps/sparc/nptl/Makefile: ... here.
39000         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39001         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39002         * nptl/sysdeps/sparc/tls.h: Moved ...
39003         * sysdeps/sparc/nptl/tls.h: ... here.
39004         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39005         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39006         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39007         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39008         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39009         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39010         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39011         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39012         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39013         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39014         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39015         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39016         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39017         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39018         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39019         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39020         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39021         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39022         Update #include.
39023         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39025         Update #include.
39026         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39027         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39028         Update #include.
39029         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39031         Update #include.
39033         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39035         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39036         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39038         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39039         (struct list_links): Type removed.
39040         (struct thread_node, struct timer_node): Replace struct list_links
39041         with struct list_head.
39042         (list_unlink_ip): Likewise.
39043         * sysdeps/pthread/timer_routines.c
39044         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39045         (list_append, list_insbefore): Likewise.
39046         (list_init): Function removed.
39047         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39048         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39049         * sysdeps/pthread/Makefile: ... here, new file.
39051         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39052         * sysdeps/nptl/Implies: ... here.
39053         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39054         * nptl/sysdeps/pthread/list.h: Moved ...
39055         * include/list.h: ... here.
39056         * nptl/sysdeps/pthread/createthread.c: Moved ...
39057         * nptl/createthread.c: ... here.
39058         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39059         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39060         * nptl/pt-longjmp.c: ... here.
39061         * nptl/sysdeps/pthread/Makefile: Moved ...
39062         * sysdeps/nptl/Makefile: ... here.
39063         * nptl/sysdeps/pthread/Subdirs: Moved ...
39064         * sysdeps/nptl/Subdirs: ... here.
39065         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39066         * sysdeps/nptl/aio_misc.h: ... here.
39067         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39068         * sysdeps/nptl/bits/libc-lock.h: ... here.
39069         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39070         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39071         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39072         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39073         * nptl/sysdeps/pthread/configure: Moved ...
39074         * sysdeps/nptl/configure: ... here.
39075         * nptl/sysdeps/pthread/configure.ac: Moved ...
39076         * sysdeps/nptl/configure.ac: ... here.
39077         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39078         * sysdeps/nptl/gai_misc.h: ... here.
39079         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39080         * sysdeps/nptl/librt-cancellation.c: ... here.
39081         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39082         * sysdeps/nptl/malloc-machine.h: ... here.
39083         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39084         * sysdeps/nptl/pthread-functions.h: ... here.
39085         * nptl/sysdeps/pthread/pthread.h: Moved ...
39086         * sysdeps/nptl/pthread.h: ... here.
39087         * nptl/sysdeps/pthread/setxid.h: Moved ...
39088         * sysdeps/nptl/setxid.h: ... here.
39089         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39090         * sysdeps/nptl/sigfillset.c: ... here.
39091         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39092         * sysdeps/nptl/tcb-offsets.h: ... here.
39093         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39094         * sysdeps/nptl/tst-mqueue8x.c: ... here.
39095         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39096         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39097         * nptl/sysdeps/pthread/allocalim.h: Moved ...
39098         * sysdeps/pthread/allocalim.h: ... here.
39099         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39100         * sysdeps/pthread/bits/sigthread.h: ... here.
39101         * nptl/sysdeps/pthread/flockfile.c: Moved ...
39102         * sysdeps/pthread/flockfile.c: ... here.
39103         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39104         * sysdeps/pthread/ftrylockfile.c: ... here.
39105         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39106         * sysdeps/pthread/funlockfile.c: ... here.
39107         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39108         * sysdeps/pthread/posix-timer.h: ... here.
39109         * nptl/sysdeps/pthread/timer_create.c: Moved ...
39110         * sysdeps/pthread/timer_create.c: ... here.
39111         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39112         * sysdeps/pthread/timer_delete.c: ... here.
39113         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39114         * sysdeps/pthread/timer_getoverr.c: ... here.
39115         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39116         * sysdeps/pthread/timer_gettime.c: ... here.
39117         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39118         * sysdeps/pthread/timer_routines.c: ... here.
39119         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39120         * sysdeps/pthread/timer_settime.c: ... here.
39121         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39122         * sysdeps/pthread/tst-timer.c: ... here.
39123         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39124         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39126         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39127         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39129         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39130         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39131         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39132         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39133         Update #include target.
39134         * nptl/sysdeps/i386/i686/Makefile: Moved ...
39135         * sysdeps/i386/i686/nptl/Makefile: ... here.
39136         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39137         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39138         Update #include target.
39139         * nptl/sysdeps/i386/i686/tls.h: Moved ...
39140         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
39141         * nptl/sysdeps/i386/Makefile: Moved ...
39142         * sysdeps/i386/nptl/Makefile: ... here.
39143         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39144         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39145         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39146         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39147         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39148         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39149         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39150         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39151         * sysdeps/i386/nptl/pthreaddef.h: ... here.
39152         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39153         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39154         * nptl/sysdeps/i386/tls.h: Moved ...
39155         * sysdeps/i386/nptl/tls.h: ... here.
39157         * sysdeps/sh/Makefile [$(subdir) = csu]
39158         (gen-as-const-headers): Add tcb-offsets.sym.
39159         * nptl/sysdeps/sh/Makefile: File removed.
39160         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39161         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39162         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39163         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39164         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39165         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39166         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39167         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39168         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39169         * sysdeps/sh/nptl/pthreaddef.h: ... here.
39170         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39171         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39172         * nptl/sysdeps/sh/tls.h: Moved ...
39173         * sysdeps/sh/nptl/tls.h: ... here.
39174         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39175         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39176         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39177         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39178         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39179         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39180         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39181         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39182         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39183         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39184         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39185         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39186         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39187         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39188         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39189         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39190         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39191         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39192         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39193         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39195         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39196         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39197         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39198         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39199         Moved ...
39200         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39201         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39202         Moved ...
39203         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39204         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39205         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39206         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39207         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39208         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39209         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39210         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39211         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39212         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39213         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39214         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39215         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39216         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39217         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39218         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39219         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39220         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39221         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39223 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39225         * posix/spawn_faction_addopen.c: Include string.h.
39227 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39229         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39230         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39231         * nptl/sysdeps/x86_64/Makefile: Moved ...
39232         * sysdeps/x86_64/nptl/Makefile: ... here.
39233         * nptl/sysdeps/x86_64/configure: Moved ...
39234         * sysdeps/x86_64/nptl/configure: ... here.
39235         * nptl/sysdeps/x86_64/configure.ac: Moved ...
39236         * sysdeps/x86_64/nptl/configure.ac: ... here.
39237         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39238         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39239         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39240         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39241         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39242         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39243         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39244         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39245         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39246         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39247         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39248         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39249         * nptl/sysdeps/x86_64/tls.h: Moved ...
39250         * sysdeps/x86_64/nptl/tls.h: ... here.
39251         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39252         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39253         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39254         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39256         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39258 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39262 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
39264         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39265         type.
39266         [POSIX] (off_t): Likewise.
39267         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39268         [POSIX] (S_ISBLK): Require macro.
39269         [POSIX] (S_ISCHR): Likewise.
39270         [POSIX] (S_ISDIR): Likewise.
39271         [POSIX] (S_ISFIFO): Likewise.
39272         [POSIX] (S_ISREG): Likewise.
39273         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39274         optional-macro.
39275         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39276         type.
39277         [POSIX] (time_t): Likewise.
39278         [POSIX] (timer_t): Likewise.
39280 2014-06-11  Florian Weimer  <fweimer@redhat.com>
39282         [BZ #17048]
39283         * posix/spawn_int.h (struct __spawn_action): Make the path string
39284         non-const to support deallocation.
39285         * posix/spawn_faction_addopen.c
39286         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39287         * posix/spawn_faction_destroy.c
39288         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
39289         path in all spawn_do_open actions.
39290         * posix/tst-spawn.c (do_test): Exercise the copy operation in
39291         posix_spawn_file_actions_addopen.
39293 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
39295         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39296         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39297         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39298         conditional code always true.
39299         (__libc_vfork): New alias.
39301 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39303         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39304         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39306         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39308         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39309         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39311         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39312         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39314         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39315         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39317 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39319         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39320         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39321         multiarch strcmp for PPC64.
39322         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39323         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39325         multiarch optimizations.
39326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39327         (__libc_ifunc_impl_list): Likewise.
39329 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39331         * benchtests/scripts/validate_benchout.py: New script.
39332         * benchtests/Makefile (bench-func): Call it.
39333         * benchtests/scripts/benchout.schema.json: New file.
39335 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
39337         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39338         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39339         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39340         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39341         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39342         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39343         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39344         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39345         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39346         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39347         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39348         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39349         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39350         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39351         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39352         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39354         Moved ...
39355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39356         ... here.
39357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39358         Moved ...
39359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39361         Moved ...
39362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39363         ... here.
39364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39365         Moved ...
39366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39367         ... here.
39368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39369         Moved ...
39370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39372         Moved ...
39373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39374         ... here.
39375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39376         Moved ...
39377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39378         ... here.
39379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39380         Moved ...
39381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39383         Moved ...
39384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39385         ... here.
39386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39387         Moved ...
39388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39389         ... here.
39390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39391         Moved ...
39392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39393         ... here.
39394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39395         Moved ...
39396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39398         Moved ...
39399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39400         ... here.
39401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39402         Moved ...
39403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39404         ... here.
39405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39406         Moved ...
39407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39408         ... here.
39409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39410         Moved ...
39411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39413         Moved ...
39414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39415         ... here.
39416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39417         Moved ...
39418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39419         ... here.
39420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39421         Moved ...
39422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39424         Moved ...
39425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39426         ... here.
39427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39428         Moved ...
39429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39431         Moved ...
39432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39434         Moved ...
39435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39436         ... here.
39437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39438         Moved ...
39439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39440         ... here.
39441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39442         Moved ...
39443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39444         ... here.
39445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39446         Moved ...
39447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39449         Moved ...
39450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39451         ... here.
39452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39453         Moved ...
39454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39455         ... here.
39456         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39457         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39459         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39461         Moved ...
39462         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39463         ... here.
39464         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39465         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39466         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39467         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39468         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39469         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39471         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39473         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39474         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39475         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39477         Moved ...
39478         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39479         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39480         Moved ...
39481         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39482         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39483         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39485         Moved ...
39486         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39487         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39488         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39489         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39490         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39491         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39492         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39494 2014-06-10  Wilco  <wdijkstr@arm.com>
39496         * math/test-fenv-return.c: New file.
39497         * math/Makefile: Add new test test-fenv-return.
39499 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
39501         [BZ #17042]
39502         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39503         when x - 1 is zero.
39504         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39505         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39506         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39507         0.0L for an argument of 1.0L.
39508         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39509         Likewise.
39510         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39511         value when x - 1 is zero.
39512         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39513         * sysdeps/i386/fpu/libm-test-ulps: Update.
39514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39516 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
39518         [BZ #15119]
39519         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39521 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39523         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39524         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39526 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39528         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39529         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39531         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39532         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39534         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39535         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39537         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39538         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39540         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39541         if not already defined.
39542         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39543         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39544         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39545         (TLS_INIT_TP): Use it.
39546         (TLS_DEFINE_INIT_TP): New macro.
39547         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39549 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
39551         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39552         constant.
39553         [POSIX] (IXANY): Likewise.
39554         [POSIX] (OLCUC): Likewise.
39555         [POSIX || POSIX2008] (CBAUD): Do not allow.
39556         [POSIX || POSIX2008] (DEFECHO): Likewise.
39557         [POSIX || POSIX2008] (ECHOCTL): Likewise.
39558         [POSIX || POSIX2008] (ECHOKE): Likewise.
39559         [POSIX || POSIX2008] (ECHOPRT): Likewise.
39560         [POSIX || POSIX2008] (EXTA): Likewise.
39561         [POSIX || POSIX2008] (EXTB): Likewise.
39562         [POSIX || POSIX2008] (FLUSHO): Likewise.
39563         [POSIX || POSIX2008] (LOBLK): Likewise.
39564         [POSIX || POSIX2008] (PENDIN): Likewise.
39565         [POSIX || POSIX2008] (SWTCH): Likewise.
39566         [POSIX || POSIX2008] (VDISCARD): Likewise.
39567         [POSIX || POSIX2008] (VDSUSP): Likewise.
39568         [POSIX || POSIX2008] (VLNEXT): Likewise.
39569         [POSIX || POSIX2008] (VREPRINT): Likewise.
39570         [POSIX || POSIX2008] (VSTATUS): Likewise.
39571         [POSIX || POSIX2008] (VWERASE): Likewise.
39572         (B*): Change to B[0123456789]*.
39573         * conform/data/time.h-data [POSIX || UNIX98]
39574         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39575         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39576         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39577         [POSIX] (tm_*): Do not allow.
39579 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
39581         * Makefile (install): Don't set LANGUAGE.
39582         * Makefile.in (install): Likewise.
39583         * assert/Makefile (test-assert-ENV): Remove variable.
39584         (test-assert-perr-ENV): Likewise.
39585         * elf/Makefile (neededtest4-ENV): Likewise.
39586         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39587         [$(cross-compiling) = no]: Don't set LANGUAGE.
39588         * io/ftwtest-sh (LANG): Remove variable.
39589         * libio/Makefile (tst-widetext-ENV): Likewise.
39590         * manual/install.texi (Running make install): Don't refer to
39591         environment settings for make install.
39592         * INSTALL: Regenerated.
39593         * nptl/tst-tls6.sh: Don't set LANG.
39594         * posix/globtest.sh (LANG): Remove variable.
39595         * string/Makefile (tester-ENV): Likewise.
39596         (inl-tester-ENV): Likewise.
39597         (noinl-tester-ENV): Likewise.
39598         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39599         [$(cross-compiling) = no]: Don't set LANGUAGE.
39600         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39601         without explicit environment settings.
39603 2014-06-06  Roland McGrath  <roland@hack.frob.com>
39605         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39606         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39607         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39608         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39610 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
39612         * crypt/crypt-private.h [DOS]: Add some includes taken from the
39613         other files in the crypt directory.
39614         * crypt/crypt.c: Remove duplicate includes.
39615         * crypt/crypt-entry.c: Likewise.
39616         * crypt/crypt_util.c: Likewise.
39618 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
39620         * Makeconfig (run-program-env): New variable.
39621         (run-program-prefix-before-env): Likewise.
39622         (run-program-prefix-after-env): Likewise.
39623         (run-program-prefix): Define in terms of new variables.
39624         (built-program-cmd-before-env): New variable.
39625         (built-program-cmd-after-env): Likewise.
39626         (built-program-cmd): Define in terms of new variables.
39627         (test-program-prefix-before-env): New variable.
39628         (test-program-prefix-after-env): Likewise.
39629         (test-program-prefix): Define in terms of new variables.
39630         (test-program-cmd-before-env): New variable.
39631         (test-program-cmd-after-env): Likewise.
39632         (test-program-cmd): Define in terms of new variables.
39633         * Rules (make-test-out): Use $(run-program-env).
39634         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39635         (help): Do not mention environment variables.  Mention
39636         --timeoutfactor option.
39637         (timeoutfactor): New variable.
39638         (blacklist_exports): Remove function.
39639         (exports): Remove variable.
39640         (command): Do not include ${exports}.
39641         * manual/install.texi (Configuring and compiling): Do not mention
39642         test wrappers preserving environment variables.  Mention that last
39643         assignment to a variable must take precedence.
39644         * INSTALL: Regenerated.
39645         * benchtests/Makefile (run-bench): Use $(run-program-env).
39646         * catgets/Makefile ($(objpfx)test1.cat): Use
39647         $(built-program-cmd-before-env), $(run-program-env) and
39648         $(built-program-cmd-after-env).
39649         ($(objpfx)test2.cat): Do not specify environment variables
39650         explicitly.
39651         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39652         $(run-program-env) and $(built-program-cmd-after-env).
39653         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39654         $(run-program-env) and $(test-program-cmd-after-env).
39655         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39656         explicitly.
39657         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39658         run_program_env and test_program_cmd_after_env arguments.
39659         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39660         * elf/tst-pathopt.sh: Use run_program_env argument.
39661         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39662         $(test-wrapper-env) and $(run-program-env).
39663         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39664         run_program_env arguments.
39665         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39666         * intl/Makefile ($(objpfx)tst-gettext.out): Use
39667         $(test-program-prefix-before-env), $(run-program-env) and
39668         $(test-program-prefix-after-env).
39669         ($(objpfx)tst-gettext2.out): Likewise.
39670         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39671         run_program_env and test_program_prefix_after_env arguments.
39672         * intl/tst-gettext2.sh: Likewise.
39673         * intl/tst-gettext4.sh: Do not set environment variables
39674         explicitly.
39675         * intl/tst-gettext6.sh: Likewise.
39676         * intl/tst-translit.sh: Likewise.
39677         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39678         $(test-program-prefix-before-env), $(run-program-env) and
39679         $(test-program-prefix-after-env).
39680         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39681         run_program_env and test_program_prefix_after_env arguments.
39682         * math/Makefile (run-regen-ulps): Use $(run-program-env).
39683         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39684         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
39685         explicitly with each use of ${test_wrapper_env}.
39686         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39687         $(test-program-prefix-before-env), $(run-program-env) and
39688         $(test-program-prefix-after-env).
39689         * posix/tst-getconf.sh: Do not set environment variables
39690         explicitly.
39691         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39692         run_program_env and test_program_prefix_after_env arguments.
39693         * stdio-common/tst-printf.sh: Do not set environment variables
39694         explicitly.
39695         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39696         $(test-program-prefix-before-env), $(run-program-env) and
39697         $(test-program-prefix-after-env).
39698         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39699         run_program_env and test_program_prefix_after_env arguments.
39700         Split $test calls into $test_pre and $test.
39701         * timezone/Makefile (build-testdata): Use
39702         $(built-program-cmd-before-env), $(run-program-env) and
39703         $(built-program-cmd-after-env).
39705 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39707         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39708         strlen for non SHARED builds.
39710 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39712         * nptl/allocatestack.c (check_list): Inlined function...
39713         (__reclaim_stacks): ... here.
39715 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39717         [BZ #15698]
39718         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39719         memory overrun.
39721 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
39723         * Rules (make-test-out): Include
39724         LOCPATH=$(common-objpfx)localedata in default environment.
39725         * debug/Makefile (tst-chk1-ENV): Remove variable.
39726         (tst-chk2-ENV): Likewise.
39727         (tst-chk3-ENV): Likewise.
39728         (tst-chk4-ENV): Likewise.
39729         (tst-chk5-ENV): Likewise.
39730         (tst-chk6-ENV): Likewise.
39731         (tst-lfschk1-ENV): Likewise.
39732         (tst-lfschk2-ENV): Likewise.
39733         (tst-lfschk3-ENV): Likewise.
39734         (tst-lfschk4-ENV): Likewise.
39735         (tst-lfschk5-ENV): Likewise.
39736         (tst-lfschk6-ENV): Likewise.
39737         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39738         (tst-iconv7-ENV): Likewise.
39739         * intl/Makefile (LOCPATH-ENV): Likewise.
39740         (tst-codeset-ENV): Likewise.
39741         (tst-gettext3-ENV): Likewise.
39742         (tst-gettext5-ENV): Likewise.
39743         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39744         (tst-fopenloc-ENV): Likewise.
39745         (tst-fgetws-ENV): Remove variable.
39746         (tst-ungetwc1-ENV): Likewise.
39747         (tst-ungetwc2-ENV): Likewise.
39748         (bug-ungetwc2-ENV): Likewise.
39749         (tst-swscanf-ENV): Likewise.
39750         (bug-ftell-ENV): Likewise.
39751         (tst-fgetwc-ENV): Likewise.
39752         (tst-fseek-ENV): Likewise.
39753         (tst-ftell-partial-wide-ENV): Likewise.
39754         (tst-ftell-active-handler-ENV): Likewise.
39755         (tst-ftell-append-ENV): Likewise.
39756         * posix/Makefile (tst-fnmatch-ENV): Likewise.
39757         (tst-regexloc-ENV): Likewise.
39758         (bug-regex1-ENV): Likewise.
39759         (tst-regex-ENV): Likewise.
39760         (tst-regex2-ENV): Likewise.
39761         (bug-regex5-ENV): Likewise.
39762         (bug-regex6-ENV): Likewise.
39763         (bug-regex17-ENV): Likewise.
39764         (bug-regex18-ENV): Likewise.
39765         (bug-regex19-ENV): Likewise.
39766         (bug-regex20-ENV): Likewise.
39767         (bug-regex22-ENV): Likewise.
39768         (bug-regex23-ENV): Likewise.
39769         (bug-regex25-ENV): Likewise.
39770         (bug-regex26-ENV): Likewise.
39771         (bug-regex30-ENV): Likewise.
39772         (bug-regex32-ENV): Likewise.
39773         (bug-regex33-ENV): Likewise.
39774         (bug-regex34-ENV): Likewise.
39775         (bug-regex35-ENV): Likewise.
39776         (tst-rxspencer-ENV): Likewise.
39777         (tst-rxspencer-no-utf8-ENV): Likewise.
39778         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39779         (tst-sscanf-ENV): Likewise.
39780         (tst-swprintf-ENV): Likewise.
39781         (tst-swscanf-ENV): Likewise.
39782         (test-vfprintf-ENV): Likewise.
39783         (scanf13-ENV): Likewise.
39784         (bug14-ENV): Likewise.
39785         (tst-grouping-ENV): Likewise.
39786         * stdlib/Makefile (tst-strtod-ENV): Likewise.
39787         (tst-strtod3-ENV): Likewise.
39788         (tst-strtod4-ENV): Likewise.
39789         (tst-strtod5-ENV): Likewise.
39790         (testmb2-ENV): Likewise./
39791         * string/Makefile (tst-strxfrm-ENV): Likewise.
39792         (tst-strxfrm2-ENV): Likewise.
39793         (bug-strcoll1-ENV): Likewise.
39794         (test-strcasecmp-ENV): Likewise.
39795         (test-strncasecmp-ENV): Likewise.
39796         * time/Makefile (tst-strptime-ENV): Likewise.
39797         (tst-ftime_l-ENV): Likewise.
39798         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39799         (tst-mbrtowc-ENV): Likewise.
39800         (tst-wcrtomb-ENV): Likewise.
39801         (tst-mbrtowc2-ENV): Likewise.
39802         (tst-c16c32-1-ENV): Likewise.
39803         (tst-mbsnrtowcs-ENV): Likewise.
39805 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39807         * manual/resource.texi (How to get information about the memory
39808         subsystem?): Fix typo.
39809         Reported by Peon de la Parra Ivan <peon@keba.com>
39811 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
39813         [BZ #16882]
39814         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39815         (pthread_spin_lock): Branch out of spin loop to proper location.
39816         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39817         (pthread_spin_lock): Likewise.
39819         * nptl/tst-spin4.c: New test.
39820         * nptl/Makefile (tests): Add tst-spin4.
39822 2014-06-03  Andreas Schwab  <schwab@suse.de>
39824         [BZ #15946]
39825         * resolv/res_send.c (send_dg): Reload file descriptor after
39826         calling reopen.
39828 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
39830         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39832 2014-06-03  Richard Henderson  <rth@redhat.com>
39834         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39835         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39836         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39837         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
39838         in the SAVE_PID block.
39839         (__libc_vfork): New alias.
39840         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39842         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39843         child in registers, not on the stack.  Remove RESET_PID conditionals.
39844         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39846 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39848         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39850 2014-06-03  Wilco  <wdijkstr@arm.com>
39852         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39853         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39854         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39855         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39856         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39857         Likewise.
39859 2014-06-03  Wilco  <wdijkstr@arm.com>
39861         * sysdeps/aarch64/fpu/math_private.h
39862         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39863         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39864         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39865         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39866         Fix declarations.
39868 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39870         * crypt/crypt-private.h: Include ufc-crypt.h.
39871         (__b64_from_24bit): Declare extern.
39872         * crypt/crypt_util.c(__b64_from_24bit): New function.
39873         (b64t): New static const variable.
39874         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
39875         (b64t): Remove variable.
39876         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
39877         * crypt/sha256-crypt.c: Include crypt-private.h.
39878         (b64t): Remove variable.
39879         (__sha256_crypt_r): Remove b64_from_24bit and replace
39880         with __b64_from_24bit.
39881         * crypt/sha512-crypt.c: Likewise.
39883 2014-06-02  Roland McGrath  <roland@hack.frob.com>
39885         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
39886         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
39887         Label the code __libc_vfork rather than __vfork.
39888         [!NOT_IN_libc] (vfork): Define as weak alias.
39889         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
39890         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
39891         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
39893 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39895         * malloc/malloc.c (malloc_info): Fix format specifier for
39896         n_mmaps.
39898 2014-06-02  Wilco  <wdijkstr@arm.com>
39900         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
39901         FPCR write.
39903 2014-06-02  Wilco  <wdijkstr@arm.com>
39905         [BZ #17009]
39906         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
39907         Rewrite to reduce FPCR/FPSR accesses.
39909 2014-06-01  David S. Miller  <davem@davemloft.net>
39911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39913 2014-05-31  David S. Miller  <davem@davemloft.net>
39915         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
39916         to occur in round to nearest mode when |x| >= 2.0
39918 2014-05-30  Richard Henderson  <rth@twiddle.net>
39920         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
39921         (PSEUDO_RET_NOERRNO): Remove.
39922         (ret): Don't redefine.
39923         (ret_NOERRNO): Define in terms of ret.
39924         (ret_ERRVAL): Likewise.
39926         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
39927         use of PSEUDO_RET; perform the error check directly.
39929 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
39931         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
39932         with __int128_t.
39934 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39936         * malloc/malloc (malloc_info): Fix formatting.
39938 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39939             Roland McGrath  <roland@hack.frob.com>
39941         * malloc/malloc (malloc_info): Also print mmapped statistics.
39943 2014-05-30  Roland McGrath  <roland@hack.frob.com>
39945         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
39946         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
39948 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
39950         * malloc/malloc.c (malloc_info): Inline mi_arena.
39952 2014-05-29  Richard Henderson  <rth@twiddle.net>
39954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
39955         Remove comma before expanding ASM_ARGS_##nr.
39956         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
39957         Make _x0 a strict output; make _x8 a strict input; adjust expansion
39958         of ASM_ARGS_##nr.
39959         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
39960         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
39961         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
39962         (ASM_ARGS_1): Add leading comma.
39964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
39965         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
39966         to __errno_location.
39967         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
39968         Remove the expected plt for __errno_location.
39970         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39971         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
39972         call to __read_tp.
39974         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39975         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
39976         it and break it down.
39977         (DOCARGS_0, DOCARGS_1): Do nothing.
39978         (DOCARGS_2): Update to store into the new stack frame.
39979         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
39980         (UNDOCARGS_1): Update to restore from the new stack frame.
39981         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
39982         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
39984         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39985         (SINGLE_THREAD_P): New parameter for result regno.
39986         (PSEUDO): Update to match; use cbz instead of beq.
39988         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39989         Use ENTRY to define the _nocancel entry point.  Share the syscall
39990         and syscall error check paths with the cancel path.
39991         (PSEUDO_END): New.
39993         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
39994         whitespace; tabs before and after asm mnemonics.
39996 2014-05-29  Eric Wong  <normalperson@yhbt.net>
39998         [BZ #15132]
39999         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40000         Call fstat64 or stat64 internally, depending on arguments passed.
40001         Replace stat buffer argument with file descriptor argument.
40002         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40003         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40004         Pass fd to __internal_statvfs instead of calling fstat64.
40005         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40006         Pass fd to __internal_statvfs64 instead of calling fstat64.
40007         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40008         Pass -1 to __internal_statvfs instead of calling stat64.
40009         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40010         Pass -1 to __internal_statvfs64 instead of calling stat64.
40012 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40014         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40015         that was previously under [RESET_PID].
40016         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40018         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40019         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40021 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40023         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40025         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40026         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40028 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40030         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40032 2014-05-27  Andreas Schwab  <schwab@suse.de>
40034         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40035         TLS_INIT_TP macro.
40036         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40037         * elf/rtld.c (init_tls, dl_main): Likewise.
40038         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40039         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40040         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40041         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40042         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40043         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40044         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40045         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40046         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40047         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40048         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40049         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40050         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40051         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40052         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40053         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40054         * sysdeps/generic/tls.h: Update description.
40056 2014-05-27  Will Newton  <will.newton@linaro.org>
40058         [BZ #16990]
40059         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40060         and restore r2 rather than just restoring.
40062 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40064         [BZ #16724]
40065         * libio/tst-ftell-append.c: New test case.
40066         * libio/Makefile (tests): Add test case.
40067         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40068         append mode.
40069         * libio/wfileops.c (do_ftell_wide): Likewise.
40071 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40075         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40076         ...
40077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40079         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40080         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40081         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40082         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40083         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40084         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40086         Moved ...
40087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40089         Moved ...
40090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40091         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40092         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40093         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40094         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40095         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40096         ...
40097         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40098         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40099         Moved ...
40100         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40101         here.
40102         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40103         ...
40104         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40105         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40106         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40108         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40109         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40110         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40111         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40114         merge into ...
40115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40117         ...
40118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40120         ...
40121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40123         Moved ...
40124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40125         here.
40126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40127         Moved ...
40128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40130         Moved ...
40131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40134         conditional [RESET_PID].
40135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40137         removed.
40138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40139         removed.
40141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40142         <tcb-offsets.h>.
40143         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40144         (__libc_vfork): New strong alias.
40145         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40146         removed.
40147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40148         Removed.
40150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40151         <tcb-offsets.h>.
40152         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40153         (__libc_vfork): New strong alias.
40154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40155         removed.
40156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40157         removed.
40159 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
40161         * malloc/malloc.c (mi_arena): New function.
40162         (malloc_info): Remove nested function mi_arena. Call non-nosted
40163         function mi_arena.
40165 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40167         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40168         by insrwi.
40169         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40170         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40171         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40172         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40173         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40174         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40175         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40177 2014-05-26  Andreas Schwab  <schwab@suse.de>
40179         [BZ #16984]
40180         * locale/programs/repertoire.c (repertoire_read): Add slash
40181         between I18NPATH element and file name.
40182         * locale/programs/locfile.c (locfile_read): Likewise.
40184 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40186         * nptl/pthread_mutexattr_settype.c
40187         (__pthread_mutexattr_settype):
40188         Disable lock elision for PTHREAD_MUTEX_NORMAL.
40190 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40192         * nptl/tst-mutex5 (do_test):
40193         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40195 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40197         * benchtests/README: Document 'init' directive.
40198         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40199         BENCH_INIT.
40200         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40201         (parse_file): Recognize 'init' directive.
40203 2014-05-26  Kyle McMartin  <kyle@redhat.com>
40205         [BZ #16796]
40206         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40207         alignment of struct pthread.
40209 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40211         [BZ #16878]
40212         * nscd/netgroupcache.c (addgetnetgrentX): Look for
40213         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40214         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40215         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40217 2014-05-25  Richard Henderson  <rth@twiddle.net>
40219         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40220         (SINGLE_THREAD_P_PIC): Remove.
40221         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40222         (SINGLE_THREAD_P_PIC): Remove.
40224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40225         branch to syscall error ...
40226         (PSEUDO): ... here.
40227         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40228         from __local_syscall_error to .Lsyscall_error.
40229         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40230         (SYSCALL_ERROR): Update label name.
40232         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40233         Do not use DOARGS/UNDOARGS.
40234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40235         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40236         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40237         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40238         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40240         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40241         block comment.
40243         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40244         define if !NOT_IN_libc.
40245         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40246         define with non-default symbol versions.
40248 2014-05-23  Richard Henderson  <rth@twiddle.net>
40250         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40251         (vfork, __vfork): Define via compat_symbol.
40253         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40254         [!HAVE_IFUNC] (vfork_compat): Remove.
40255         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40257 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40259         [BZ #16978]
40260         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40261         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40262         variable.
40264 2014-05-23  Richard Henderson  <rth@twiddle.net>
40266         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40267         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40268         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40269         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40271         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40272         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40273         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40274         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40275         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40276         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40277         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40278         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40279         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40280         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40281         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40282         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40283         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40284         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40285         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40286         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40287         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40288         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40289         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40290         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40291         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40292         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40293         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40294         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40295         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40296         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40297         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40298         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40299         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40300         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40301         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40302         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40303         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40304         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40305         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40306         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40307         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40308         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40309         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40310         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40311         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40312         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40313         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40314         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40315         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40316         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40317         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40318         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40319         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40320         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40321         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40322         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40323         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40324         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40325         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40326         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40328         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40329         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40330         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
40331         before exiting on error.
40332         (__libc_vfork): New strong alias.
40333         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40334         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40336         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40337         that was previously under [RESET_PID].
40338         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40340         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40342 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40344         [BZ #16977]
40345         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40346         value when x - 1 is zero.
40347         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40348         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40349         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40350         0.0L for an argument of 1.0L.
40351         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40352         Likewise.
40353         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40354         value when x - 1 is zero.
40355         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40356         * sysdeps/i386/fpu/libm-test-ulps: Update.
40357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40359 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40361         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40362         alphasort and versionsort.
40364 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40366         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40367         macro.
40368         [copysignf]: Likewise.
40370 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40372         * crypt/md5-crypt.c: Fix formatting.
40374 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40376         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40377         (b64_from_24bit): New function.
40379 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40381         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40382         libc_hidden_builtin_def to ifunc.
40383         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40384         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40386 2014-05-21  Roland McGrath  <roland@hack.frob.com>
40388         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40389         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40391 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
40393         * nscd/Depend (linuxthreads): Remove.
40394         (nptl): Add.
40395         * resolv/Depend (linuxthreads): Remove.
40396         * rt/Depend (linuxthreads): Remove.
40398         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40399         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40400         $(common-objpfx)elf/.
40401         (link-libc-before-gnulib): Likewise.
40402         (elfobjdir): Remove variable.
40403         * Makefile (install): Use $(elf-objpfx) instead of
40404         $(common-objpfx)elf/.
40405         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40406         $(elfobjdir)/.
40407         (link-libc-deps): Likewise.
40408         ($(common-objpfx)libc.so): Likewise.
40409         ($(common-objpfx)linkobj/libc.so): Likewise.
40410         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40411         instead of $(common-objpfx)elf/.
40412         (symbolic-link-list): Likewise.
40413         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40414         [$(cross-compiling) = no]: Likewise.
40415         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40416         $(elfobjdir)/.
40417         (static-gnulib-arch): Likewise.
40418         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40419         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40420         $(common-objpfx)elf/.
40422 2014-05-21  Richard Henderson  <rth@redhat.com>
40424         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40425         (SINGLE_THREAD_P): Use the correct width load.  Fold
40426         into the ldr offset.
40428         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40429         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40431 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
40433         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40434         (libgcc_s_resume): Use __attribute_used__.
40435         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40436         Likewise.
40438 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40440         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40441         optimization when used with float constants.
40443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40445 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
40447         [BZ #16915]
40448         * locale/nl_langinfo_l.c: Make direct reference to every
40449         _nl_current_CATEGORY symbol.
40450         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40451         (tests-static): Add tst-langinfo-static.
40452         (tests-special): Add tst-langinfo-static.out.
40453         ($(objpfx)tst-langinfo.out): Redirect output.
40454         ($(objpfx)tst-langinfo-static.out): New.
40455         * localedata/tst-langinfo.sh: Send output to stdout.
40456         * localedata/tst-langinfo-static.c: New file.
40458         [BZ #16965]
40459         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40460         when the shift amount is modulo the limb size.
40462 2014-05-20  Richard Henderson  <rth@redhat.com>
40464         [BZ #16967]
40465         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40466         Change type of sa_flags from unsigned int to int.
40468         [BZ #16966]
40469         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40471         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40473 2014-05-20  Will Newton  <will.newton@linaro.org>
40475         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40476         Test the return value of the system call in the nocancel case.
40478 2014-05-20  Will Newton  <will.newton@linaro.org>
40479             Yvan Roux  <yvan.roux@linaro.org>
40481         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40482         #include of asm/ptrace.h.
40483         (PTRACE_GET_THREAD_AREA): Remove #undef.
40484         (PTRACE_GETHBPREGS): Likewise.
40485         (PTRACE_SETHBPREGS): Likewise.
40486         (struct user_regs_struct): New structure.
40487         (struct user_fpsimd_struct): New structure.
40488         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40489         #include of asm/ptrace.h and second #include of sys/user.h.
40490         (PTRACE_GET_THREAD_AREA): Remove #undef.
40491         (PTRACE_GETHBPREGS): Likewise.
40492         (PTRACE_SETHBPREGS): Likewise.
40493         (ELF_NGREG): Use new struct user_regs_struct.
40494         (elf_fpregset_t): Use new struct user_fpsimd_struct.
40496 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40498         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40499         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40501 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
40503         [BZ #16958]
40504         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40505         membar to avoid block loads/stores to overlap previous stores.
40507 2014-05-17  Richard Henderson  <rth@redhat.com>
40509         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40510         Create the __##syscall_name##_nocancel entry point.
40511         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40512         Remove; let the sysdep-cancel.h code create it.
40514 2014-05-17  David S. Miller  <davem@davemloft.net>
40516         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40517         Protect with __USE_GNU.
40518         (TIOCSET_TEMPT): Likewise.
40519         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40520         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40521         these are already provided in bits/ioctl-types.h
40523 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40525         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40526         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40528         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40529         Use wait4 regardless of [__NR_waitpid].
40531 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40533         PR libgcc/60166
40534         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40535         (_FP_NANSIGN_Q): Set the quiet bit.
40537 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
40539         * benchtests/Makefile
40540         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40541         not $(common-objpfx)math/libm.so.
40542         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40543         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40544         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40545         $(common-objpfx)dlfcn/libdl.so.
40546         ($(objpfx)tst-audit8): Depend on $(libm), not
40547         $(common-objpfx)math/libm.so.
40548         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40549         not $(common-objpfx)dlfcn/libdl.so.
40550         * math/Makefile
40551         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40552         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
40553         [$(build-shared) = yes].
40554         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40555         $(common-objpfx)nptl/libpthread.so.
40556         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40557         $(common-objpfx)math/libm.so$(libm.so-version) or
40558         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40559         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40560         $(common-objpfx)dlfcn/libdl.so.
40561         * setjmp/Makefile (link-libm): Remove variable.
40562         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40563         * stdio-common/Makefile (link-libm): Remove variable.
40564         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40565         * stdlib/Makefile (link-libm): Remove variable.
40566         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40567         ($(objpfx)tst-strtod-round): Likewise.
40568         ($(objpfx)tst-tininess): Likewise.
40569         ($(objpfx)tst-strtod-underflow): Likewise.
40570         ($(objpfx)tst-strtod6): Likewise.
40571         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40572         $(libdl), not $(common-objpfx)nptl/libpthread.so and
40573         $(common-objpfx)dlfcn/libdl.so.
40575 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40577         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40578         BSD terminal modes definitions.
40580 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40582         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40583         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40585         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40586         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40587         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40588         Don't do #include_next.
40589         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40590         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40591         Don't do #include_next.
40592         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40593         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40594         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40595         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40597 2014-05-16  Allan McRae  <allan@archlinux.org>
40599         * po/sv.po: Update Swedish translation from translation project.
40601         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40602         in sed expression.
40604 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
40606         [BZ #16917]
40607         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40608         errno if the TIOCGPTN ioctl fails with an error different than
40609         EINVAL.
40610         * login/tst-ptsname.c: New file.
40611         * login/Makefile (tests): Add tst-ptsname.
40613         [BZ #16943]
40614         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40615         and prlimit64.
40617 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40619         [BZ #16849]
40620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40621         herrno to return EAI_AGAIN.
40623 2014-05-14  Roland McGrath  <roland@hack.frob.com>
40625         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40626         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40627         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40628         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40629         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40630         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40631         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40632         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40633         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40634         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40635         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40636         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40637         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40638         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40639         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40640         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40641         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40642         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40643         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40644         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40645         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40646         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40647         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40648         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40649         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40650         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40651         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40652         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40653         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40654         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40656         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40658         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40660         Moved ...
40661         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40663         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40665         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40667         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40669         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40671         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40673         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40675         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40677         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40679         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40681         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40683         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40685         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40687         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40689         Moved ...
40690         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40692         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40694         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40696         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40698         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40700         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40702         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40704         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40706         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40708         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40710         Moved ...
40711         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40713         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40715         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40716         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40717         (libpthread-sysdep_routines): Add elision-related stuff here instead.
40718         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40719         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40720         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40721         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40722         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40723         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40724         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40725         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40726         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40727         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40728         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40729         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40730         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40731         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40732         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40733         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40734         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40735         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40736         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40737         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40738         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40739         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40740         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40741         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40742         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40743         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40744         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40745         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40747         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40748         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40750         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40751         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40752         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40753         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40754         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40755         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40756         Moved ...
40757         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40758         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40759         Moved ...
40760         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40761         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40762         Moved ...
40763         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40764         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40765         Moved ...
40766         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40767         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40768         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40769         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40770         Moved ...
40771         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40772         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40773         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40774         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40775         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40776         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40777         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40779         Moved ...
40780         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40781         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40782         Moved ...
40783         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40784         ... here.
40785         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40786         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40787         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40788         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40789         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40790         Moved ...
40791         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40792         ... here.
40793         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40794         Moved ...
40795         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40796         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40797         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40798         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40799         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40800         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40801         Moved ...
40802         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40803         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40804         Moved ...
40805         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40806         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40807         Moved ...
40808         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40809         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40810         Moved ...
40811         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40812         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40813         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40814         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40815         Moved ...
40816         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40817         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40818         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40819         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40820         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40821         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40822         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40824         Moved ...
40825         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40826         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40827         Moved ...
40828         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40829         ... here.
40830         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40831         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40832         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40833         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40834         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40835         Moved ...
40836         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40837         ... here.
40838         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40839         Moved ...
40840         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40841         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40842         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40843         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40844         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40845         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40846         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40847         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40848         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40849         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40850         Moved ...
40851         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40852         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40853         Moved ...
40854         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40856         Moved ...
40857         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40859         Moved ...
40860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40861         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40862         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40863         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40864         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40865         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40866         Moved ...
40867         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40868         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40869         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
40870         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
40871         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
40872         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
40873         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
40874         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
40875         Moved ...
40876         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
40877         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40878         Moved ...
40879         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40880         ... here.
40881         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
40882         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
40883         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
40884         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
40885         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40886         Moved ...
40887         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40888         ... here.
40889         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
40890         Moved ...
40891         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
40892         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
40893         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
40894         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
40895         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
40896         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
40897         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
40898         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
40899         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
40900         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
40901         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
40903         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
40904         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
40906         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
40907         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
40909         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
40910         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
40911         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
40912         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
40913         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
40914         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
40915         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
40916         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
40917         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
40918         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
40919         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
40920         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
40921         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
40922         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
40923         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
40924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
40925         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
40926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
40927         Moved ...
40928         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
40929         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
40930         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
40931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
40932         Moved ...
40933         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
40934         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
40935         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
40936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
40937         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
40938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
40939         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
40940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
40941         Moved ...
40942         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
40943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
40944         Moved ...
40945         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
40946         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
40947         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
40948         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
40949         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
40950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
40951         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
40952         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
40953         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
40954         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
40955         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
40956         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
40957         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
40958         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
40959         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
40960         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
40961         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
40963         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
40964         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
40965         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
40966         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
40967         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
40969         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
40970         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
40971         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
40972         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
40973         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
40974         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
40975         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
40976         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
40977         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
40978         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
40980         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
40981         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
40983         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
40984         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
40985         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
40986         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
40987         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
40988         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
40989         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
40990         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
40991         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
40992         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
40993         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
40994         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
40995         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
40996         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
40997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
40998         Update #include.
40999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41000         Likewise.
41001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41002         Likewise.
41003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41004         Likewise.
41005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41006         Likewise.
41007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41008         Likewise.
41009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41010         Likewise.
41011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41012         Likewise.
41013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41014         Likewise.
41015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41016         Likewise.
41017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41022         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41024         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41025         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41026         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41027         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41028         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41029         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41030         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41031         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41033         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41034         that was previously under [RESET_PID].
41035         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41036         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41037         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41039         * sysdeps/i386/nptl/Implies: New file.
41040         * sysdeps/x86_64/nptl/Implies: New file.
41041         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41042         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41043         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41044         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41046         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41047         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41048         (__libc_vfork): New strong alias.
41049         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41050         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41052         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41053         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41054         (__libc_vfork): New strong alias.
41055         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41056         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41058         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41059         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41060         (__libc_vfork): New strong alias.
41061         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41062         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41063         * nptl/pt-vfork.c: New file.
41064         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41065         (libpthread: GLIBC_2.20): New version set (empty).
41067 2014-05-14  Will Newton  <will.newton@linaro.org>
41069         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41070         rather than #if.
41072 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41074         [BZ #16564]
41075         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41076         arguments with exponent 65 or above.
41077         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41078         arguments 0x1p113L or above.
41079         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41080         to arguments 0x1p107L or above.
41081         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41082         positive arguments with exponent 65 or above.
41083         * math/auto-libm-test-in: Add more tests of log1p.
41084         * math/auto-libm-test-out: Regenerated.
41086         [BZ #16928]
41087         * math/s_cacos.c (__cacos): Ensure zero real part of result from
41088         non-finite arguments is +0.
41089         * math/s_cacosf.c (__cacosf): Likewise.
41090         * math/s_cacosl.c (__cacosl): Likewise.
41091         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41092         * sysdeps/i386/fpu/libm-test-ulps: Update.
41093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41095         [BZ #16927]
41096         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41097         value.
41098         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41099         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41100         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41101         for explicit high bit of mantissa when testing for argument equal
41102         to 1.
41103         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41104         * sysdeps/i386/fpu/libm-test-ulps: Update.
41105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41107         [BZ #16516]
41108         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41109         (__erf): Scale by 16 instead of 8 in potentially underflowing
41110         case.  Ensure exception if result actually underflows.
41111         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41112         (__erff): Scale by 16 instead of 8 in potentially underflowing
41113         case.  Ensure exception if result actually underflows.
41114         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41115         (efx8): Remove variable.
41116         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41117         case.  Ensure exception if result actually underflows.
41118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41119         (efx8): Remove variable.
41120         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41121         case.  Ensure exception if result actually underflows.
41122         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41123         (efx8): Remove variable.
41124         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41125         case.  Ensure exception if result actually underflows.
41126         * math/auto-libm-test-in: Add more tests of erf.
41127         * math/auto-libm-test-out: Regenerated.
41129 2014-05-14  Andreas Schwab  <schwab@suse.de>
41131         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41132         Remove code conditionalized on USE___THREAD.
41134         * config.h.in (HAVE_PT_CHOWN): Define as 0.
41135         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41136         not definedness.
41138 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41140         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41141         Define unconditionally.
41142         (__ASSUME_O_CLOEXEC): Likewise.
41143         (__ASSUME_SOCK_CLOEXEC): Likewise.
41144         (__ASSUME_IN_NONBLOCK): Likewise.
41145         (__ASSUME_PIPE2): Likewise.
41146         (__ASSUME_EVENTFD2): Likewise.
41147         (__ASSUME_SIGNALFD4): Likewise.
41148         (__ASSUME_DUP3): Likewise.
41149         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41150         (__ASSUME_DUP3): Do not define.
41151         (__ASSUME_EVENTFD2): Likewise.
41152         (__ASSUME_IN_NONBLOCK): Likewise.
41153         (__ASSUME_O_CLOEXEC): Likewise.
41154         (__ASSUME_PIPE2): Likewise.
41155         (__ASSUME_SIGNALFD4): Likewise.
41156         (__ASSUME_SOCK_CLOEXEC): Likewise.
41157         (__ASSUME_UTIMES): Undefine.
41158         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41159         (__ASSUME_UTIMES): Do not define.
41160         (__ASSUME_O_CLOEXEC): Likewise.
41161         (__ASSUME_SOCK_CLOEXEC): Likewise.
41162         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41163         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41164         0x020621].
41165         (__ASSUME_PIPE2): Likewise.
41166         (__ASSUME_EVENTFD2): Likewise.
41167         (__ASSUME_SIGNALFD4): Likewise.
41168         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41169         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41170         Do not define.
41171         (__ASSUME_EVENTFD2): Likewise.
41172         (__ASSUME_SIGNALFD4): Likewise.
41173         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41174         (__ASSUME_32BITUIDS): Likewise.
41175         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41176         (__ASSUME_IPC64): Likewise.
41177         (__ASSUME_ST_INO_64_BIT): Likewise.
41178         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41179         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41180         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41181         (__ASSUME_UTIMES): Do not define.
41182         (__ASSUME_PSELECT): Likewise.
41183         (__ASSUME_PPOLL): Likewise.
41184         (__ASSUME_O_CLOEXEC): Likewise.
41185         (__ASSUME_SOCK_CLOEXEC): Likewise.
41186         (__ASSUME_IN_NONBLOCK): Likewise.
41187         (__ASSUME_PIPE2): Likewise.
41188         (__ASSUME_EVENTFD2): Likewise.
41189         (__ASSUME_SIGNALFD4): Likewise.
41190         (__ASSUME_DUP3): Likewise.
41191         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41192         (__ASSUME_UTIMES): Likewise.
41193         (__ASSUME_O_CLOEXEC): Likewise.
41194         (__ASSUME_SOCK_CLOEXEC): Likewise.
41195         (__ASSUME_IN_NONBLOCK): Likewise.
41196         (__ASSUME_PIPE2): Likewise.
41197         (__ASSUME_EVENTFD2): Likewise.
41198         (__ASSUME_SIGNALFD4): Likewise.
41199         (__ASSUME_DUP3): Likewise.
41200         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41201         (__ASSUME_UTIMES): Likewise.
41202         (__ASSUME_O_CLOEXEC): Likewise.
41203         (__ASSUME_SOCK_CLOEXEC): Likewise.
41204         (__ASSUME_IN_NONBLOCK): Likewise.
41205         (__ASSUME_PIPE2): Likewise.
41206         (__ASSUME_EVENTFD2): Likewise.
41207         (__ASSUME_SIGNALFD4): Likewise.
41208         (__ASSUME_DUP3): Likewise.
41209         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41210         Likewise.
41211         (__ASSUME_UTIMES): Likewise.
41212         (__ASSUME_EVENTFD2): Likewise.
41213         (__ASSUME_SIGNALFD4): Likewise.
41214         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41215         (__ASSUME_O_CLOEXEC): Likewise.
41216         (__ASSUME_SOCK_CLOEXEC): Likewise.
41217         (__ASSUME_IN_NONBLOCK): Likewise.
41218         (__ASSUME_PIPE2): Likewise.
41219         (__ASSUME_EVENTFD2): Likewise.
41220         (__ASSUME_SIGNALFD4): Likewise.
41221         (__ASSUME_DUP3): Likewise.
41222         (__ASSUME_UTIMES): Undefine.
41224         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41225         feclearexcept.  Remove symbol versioning code.
41226         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
41227         symbol versioning code.
41228         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
41229         symbol versioning code.
41230         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41231         feupdateenv.  Remove symbol versioning code.
41232         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41233         fegetexceptflag.  Remove symbol versioning code.
41234         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41235         fesetexceptflag.  Remove symbol versioning code.
41236         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41237         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
41238         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41239         (__posix_fadvise64_l32): Remove prototype.
41240         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41241         code.
41243 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41245         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41246         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41247         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41248         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41250 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
41252         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41253         current working directory
41255 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41257         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41258         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41259         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41260         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41261         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41262         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41263         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41264         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41265         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41266         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41267         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41268         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41269         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41270         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41271         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41272         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41273         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41274         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41275         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41276         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41277         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41278         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41279         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41280         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41281         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41282         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41283         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41284         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41285         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41286         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41287         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41288         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41289         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41290         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41291         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41292         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41293         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41294         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41295         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41296         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41297         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41298         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41300         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41301         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41303         * sysdeps/unix/sysv/linux/arm/Makefile
41304         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41305         Add rt-aeabi_unwind_cpp_pr1.
41306         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41307         Add nptl-aeabi_unwind_cpp_pr1.
41308         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41309         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41310         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41311         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41312         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41313         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41315         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41316         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41317         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41318         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41320         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41321         Deconditionalize the code that was previously under [RESET_PID].
41322         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41324         * sysdeps/generic/exit-thread.h: New file.
41325         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41326         * include/unistd.h (__exit_thread): Remove declaration.
41327         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41328         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41329         * csu/libc-start.c: Include <exit-thread.h>.
41330         (LIBC_START_MAIN): Pass no argument to __exit_thread.
41331         * nptl/pthread_create.c: Include <exit-thread.h>.
41332         (start_thread): Call __exit_thread in place of __exit_thread_inline.
41333         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41334         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41335         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41336         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41337         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41338         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41339         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41340         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41341         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41342         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41343         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41344         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41345         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41346         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41347         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41348         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41350 2014-05-13  Andreas Schwab  <schwab@suse.de>
41352         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41354 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
41356         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41357         (__ASSUME_UTIMES): Do not condition on kernel version.
41358         (__ASSUME_PSELECT): Define unconditionally.
41359         (__ASSUME_PPOLL): Likewise.
41360         (__ASSUME_ATFCTS): Likewise.
41361         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41362         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41363         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41364         (__ASSUME_UTIMENSAT): Define unconditionally.
41365         (__ASSUME_PRIVATE_FUTEX): Likewise.
41366         (__ASSUME_FALLOCATE): Likewise.
41367         (__ASSUME_O_CLOEXEC): Likewise.
41368         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41369         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41370         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41371         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41372         (__ASSUME_IN_NONBLOCK): Likewise.
41373         (__ASSUME_PIPE2): Likewise.
41374         (__ASSUME_EVENTFD2): Likewise.
41375         (__ASSUME_SIGNALFD4): Likewise.
41376         (__ASSUME_DUP3): Likewise.
41377         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41378         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41379         (__ASSUME_AT_RANDOM): Likewise.
41380         (__ASSUME_PREADV): Likewise.
41381         (__ASSUME_PWRITEV): Likewise.
41382         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41383         (__ASSUME_F_GETOWN_EX): Define unconditionally.
41384         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41385         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41386         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41387         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41388         (__ASSUME_O_CLOEXEC): Define unconditionally.
41389         (__ASSUME_PSELECT): Do not undefine conditionally.
41390         (__ASSUME_PPOLL): Likewise.
41391         (__ASSUME_ATFCTS): Likewise.
41392         (__ASSUME_SET_ROBUST_LIST): Likewise.
41393         (__ASSUME_UTIMENSAT): Likewise.
41394         (__ASSUME_FDATASYNC): Define unconditionally.
41395         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41396         (__ASSUME_SIGFRAME_V2): Likewise.
41397         )__ASSUME_EVENTFD2): Likewise.
41398         (__ASSUME_SIGNALFD4): Likewise.
41399         (__ASSUME_PSELECT): Do not undefine conditionally.
41400         (__ASSUME_PPOLL): Likewise.
41401         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41402         (__ASSUME_PSELECT): Define unconditionally.
41403         (__ASSUME_PPOLL): Likewise.
41404         (__ASSUME_O_CLOEXEC): Likewise.
41405         (__ASSUME_SOCK_CLOEXEC): Likewise.
41406         (__ASSUME_IN_NONBLOCK): Likewise.
41407         (__ASSUME_PIPE2): Likewise.
41408         (__ASSUME_EVENTFD2): Likewise.
41409         (__ASSUME_SIGNALFD4): Likewise.
41410         (__ASSUME_DUP3): Likewise.
41411         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41412         (__ASSUME_O_CLOEXEC): Likewise.
41413         (__ASSUME_SOCK_CLOEXEC): Likewise.
41414         (__ASSUME_IN_NONBLOCK): Likewise.
41415         (__ASSUME_PIPE2): Likewise.
41416         (__ASSUME_EVENTFD2): Likewise.
41417         (__ASSUME_SIGNALFD4): Likewise.
41418         (__ASSUME_DUP3): Likewise.
41419         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41420         (__ASSUME_EVENTFD2): Likewise.
41421         (__ASSUME_SIGNALFD4): Likewise.
41422         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41424 2014-05-12  Andreas Schwab  <schwab@suse.de>
41426         [BZ #16932]
41427         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41428         (_nss_nis_gethostbyname4_r): Return error if item length is larger
41429         than maximum RPC packet size.
41430         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41431         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41432         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41433         (_nss_nis_getservbyport_r): Likewise.
41435 2014-05-12  Will Newton  <will.newton@linaro.org>
41437         * malloc/Makefile (tests): Add tst-mallopt.
41438         * malloc/tst-mallopt.c: New file.
41440 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41442         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41443         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41445 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41447         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41448         (tst-tlsmod6.so): Likewise.
41450 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41452         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41454 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
41456         [BZ #16064]
41457         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41458         and <dl-procinfo.h>.
41459         (__fegetenv): Save SSE state in envp->__eip if supported.
41460         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41461         envp->__eip if supported.
41462         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41463         and <dl-procinfo.h>.
41464         (__fesetenv): Always set __eip, __cs_selector, __opcode,
41465         __data_offset and __data_selector in environment to 0.  Set SSE
41466         state if supported.
41467         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41468         test-fenv-sse.
41469         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41470         -mfpmath=sse.
41471         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41473 2014-05-09  Will Newton  <will.newton@linaro.org>
41475         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41476         and libc_relro_required for ARM.
41477         * sysdeps/arm/preconfigure: Regenerate.
41479 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
41480             Stefan Liebler  <stli@linux.vnet.ibm.com>
41482         * config.make.in (enable-lock-elision): New Makefile variable.
41483         * configure.ac: Likewise.
41484         * configure: Regenerate.
41485         * sysdeps/s390/configure.ac:
41486         Add check for gcc transactions support.
41487         * sysdeps/s390/configure: Regenerate.
41488         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41489         Build elision files if enabled.
41490         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41491         Add lock elision support for s390.
41492         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41493         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41494         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41495         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41496         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41497         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41498         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41499         Likewise.
41500         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41501         Likewise.
41502         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41503         Likewise.
41504         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41505         Likewise.
41506         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41507         (__lll_timedlock_elision, __lll_lock_elision)
41508         (__lll_unlock_elision, __lll_trylock_elision)
41509         (lll_timedlock_elision, lll_lock_elision)
41510         (lll_unlock_elision, lll_trylock_elision): Add.
41511         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41512         (pthread_mutex_t): Add lock elision support for s390.
41514 2014-05-14  Wilco  <wdijkstr@arm.com>
41516         * sysdeps/arm/fclrexcpt.c: Cleanup.
41517         * sysdeps/arm/fedisblxcpt.c: Cleanup.
41518         * sysdeps/arm/feenablxcpt.c: Cleanup.
41519         * sysdeps/arm/fegetenv.c: Cleanup.
41520         * sysdeps/arm/fegetexcept.c: Cleanup.
41521         * sysdeps/arm/fegetround.c: Cleanup.
41522         * sysdeps/arm/feholdexcpt.c: Cleanup.
41523         * sysdeps/arm/fesetenv.c: Cleanup.
41524         * sysdeps/arm/fesetround.c: Cleanup.
41525         * sysdeps/arm/feupdateenv.c: Cleanup.
41526         * sysdeps/arm/fgetexcptflg.c: Cleanup.
41527         * sysdeps/arm/fraiseexcpt.c: Cleanup.
41528         * sysdeps/arm/fsetexcptflg.c: Cleanup.
41529         * sysdeps/arm/ftestexcept.c: Cleanup.
41530         * sysdeps/arm/get-rounding-mode.h: Cleanup.
41531         * sysdeps/arm/setfpucw.c: Cleanup.
41533 2014-05-09  Will Newton  <will.newton@linaro.org>
41535         * sysdeps/arm/armv7/strcmp.S: New file.
41536         * NEWS: Mention addition of ARMv7 optimized strcmp.
41538 2014-05-08  Roland McGrath  <roland@hack.frob.com>
41540         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41541         look for %.ac rather than %.in.
41543         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41544         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41545         * sysdeps/mach/hurd/configure: Regenerated.
41546         * sysdeps/unix/sysv/linux/configure: Regenerated.
41548         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41550 2014-05-07  Steve Ellcey  <sellcey@mips.com>
41552         [BZ# 16922]
41553         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41554         (LONG_SUB): Ditto.
41555         (PTR_SUB): Ditto.
41557 2014-05-07  Andreas Schwab  <schwab@suse.de>
41559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41560         when skipping over non-matching result from nscd.
41562 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
41564         [BZ #16876]
41565         * nptl/sockperf.c (client): Check socket return value.
41567         [BZ #16877]
41568         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41569         nscd security class.
41571 2014-05-06  Roland McGrath  <roland@hack.frob.com>
41573         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41574         * sysdeps/arm/unwind.h: ... here.
41576 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
41578         [BZ# 16916]
41579         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41580         Define.
41582 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41584         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41585         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41586         multiarch strncpy for PPC64.
41587         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41588         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41590         multiarch optimizations.
41591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41592         (__libc_ifunc_impl_list): Likewise.
41593         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41594         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41595         multiarch stpncpy for PPC64.
41596         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41597         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41599 2014-05-06  Andreas Schwab  <schwab@suse.de>
41601         [BZ #16912]
41602         * gmon/mcount.c (_MCOUNT_DECL): Use
41603         atomic_compare_and_exchange_bool_acq instead of
41604         catomic_compare_and_exchange_bool_acq.
41606 2014-05-05  Roland McGrath  <roland@hack.frob.com>
41608         * elf/Makefile (others, install-bin): Remove pldd.
41609         (pldd-modules): Variable removed.
41610         ($(objpfx)pldd): Target removed.
41611         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41612         (others, install-bin): Append pldd here.
41613         ($(objpfx)pldd): New target.
41615         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41616         to 0, so the first #if test emitted later doesn't see it undefined.
41617         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41618         * sysdeps/gnu/errlist.c: Regenerated.
41620 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41622         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41623         [libc_hidden_builtin_def]: Define to empty value.
41624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41625         [libc_hidden_builtin_def]: Likewise.
41626         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41627         [libc_hidden_builtin_def]: Likewise.
41628         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41629         [libc_hidden_builtin_def]: Likewise.
41630         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41631         __redirect_memcpy and define ifunc as default hidden symbol.
41632         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41633         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41635 2014-05-04  Adam Conrad  <adconrad@0c3.net>
41637         * locale/iso-4217.def: Reintroduce XDR currency.
41639 2014-05-04  Allan McRae  <allan@archlinux.org>
41641         * po/eo.po: Update Esperanto translation from translation project.
41643 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
41645         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41646         and FEATURE_INDEX_MAX to 1.
41647         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41649 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41651         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41652         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41653         * iconvdata/big5.c (ONE_DIRECTION): Define.
41654         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41655         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41656         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41657         * iconvdata/cp932.c (ONE_DIRECTION): Define.
41658         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41659         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41660         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41661         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41662         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41663         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41664         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41665         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41666         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41667         * iconvdata/gbk.c (ONE_DIRECTION): Define.
41668         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41669         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41670         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41671         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41672         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41673         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41674         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41675         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41676         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41677         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41678         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41679         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41680         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41681         * iconvdata/iso646.c (ONE_DIRECTION): Define.
41682         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41683         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41684         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41685         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41686         * iconvdata/johab.c (ONE_DIRECTION): Define.
41687         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41688         * iconvdata/sjis.c (ONE_DIRECTION): Define.
41689         * iconvdata/t.61.c (ONE_DIRECTION): Define.
41690         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41691         * iconvdata/tscii.c (ONE_DIRECTION): Define.
41692         * iconvdata/uhc.c (ONE_DIRECTION): Define.
41693         * iconvdata/unicode.c (ONE_DIRECTION): Define.
41694         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41695         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41696         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41698 2014-05-01  Roland McGrath  <roland@hack.frob.com>
41700         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41701         (_IO_JUMPS_OFFSET): Define to 0.
41703         * nptl/sysdeps/pthread/bits/libc-lock.h
41704         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41705         (__libc_lock_define_initialized_recursive): Always define using
41706         initializer.  Modern compilers treat uninitialized (implicit zero) and
41707         explicit zero initializers the same (i.e. put the datum in bss).
41709 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41711         * nscd/nscd-client.h: Include <string.h>.
41713 2014-05-01  David S. Miller  <davem@davemloft.net>
41715         [BZ #16885]
41716         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41717         multiple zero bytes exist at the end of a string.
41718         Reported by Aurelien Jarno <aurelien@aurel32.net>
41720         * string/test-strcmp.c (check): Add explicit test for situations where
41721         there are multiple zero bytes after the first.
41723 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41725         [BZ #16890]
41726         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41727         when compiling wprintf.
41728         * stdio-common/tstdiomisc.c (t3): New function.
41729         (main): Call it.
41731 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41733         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41734         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41735         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41736         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41738 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41740         * stdlib/longlong.h: Updated from GCC.
41742 2014-05-01  Will Newton  <will.newton@linaro.org>
41743             Bernard Ogden  <bernie.ogden@linaro.org>
41745         * NEWS: Update fixed bug list.
41747         [BZ #15119]
41748         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41750 2014-04-30  David S. Miller  <davem@davemloft.net>
41752         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41753         (libc_feholdexcept_setround_sparc_ctx): New function.
41754         (libc_fesetenv_sparc_ctx): Likewise.
41755         (libc_feupdateenv_sparc_ctx): Likewise.
41756         (libc_feholdsetround_sparc_ctx): Likewise.
41757         (libc_feholdexcept_setround_ctx): Define.
41758         (libc_feholdexcept_setroundf_ctx): Likewise.
41759         (libc_feholdexcept_setroundl_ctx): Likewise.
41760         (libc_fesetenv_ctx): Likewise.
41761         (libc_fesetenvf_ctx): Likewise.
41762         (libc_fesetenvl_ctx): Likewise.
41763         (libc_feupdateenv_ctx): Likewise.
41764         (libc_feupdateenvf_ctx): Likewise.
41765         (libc_feupdateenvl_ctx): Likewise.
41766         (libc_feresetround_ctx): Likewise.
41767         (libc_feresetroundf_ctx): Likewise.
41768         (libc_feresetroundl_ctx): Likewise.
41769         (libc_feholdsetround_ctx): Likewise.
41770         (libc_feholdsetroundf_ctx): Likewise.
41771         (libc_feholdsetroundl_ctx): Likewise.
41773         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41774         with __USE_GNU instead of XOPEN cpp guards.
41776         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41777         0.
41779         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41780         with XOPEN cpp guards.
41782 2014-04-30  Julian Brown  <julian@codesourcery.com>
41784         [BZ #16888]
41785         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41786         handling.
41788 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
41790         [BZ #9894]
41791         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41792         Change to 2.6.32.
41793         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41794         * sysdeps/unix/sysv/linux/configure: Regenerated.
41795         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41796         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41797         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41798         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41799         * README: Update reference to required Linux kernel version.
41800         * manual/install.texi (Linux): Update reference to required Linux
41801         kernel headers version.
41802         * INSTALL: Regenerated.
41804         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41805         header inclusion.
41806         [POSIX] (limits.h): Likewise.
41807         [POSIX] (math.h): Likewise.
41808         [POSIX] (sys/wait.h): Likewise.
41809         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41810         function.
41811         [POSIX] (stddef.h): Do not allow header inclusion.
41813 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41815         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41817 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
41819         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41820         Return immediately after lll_futex_wake.
41822 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41824         [BZ #16791]
41825         * nscd/nscd-client.h (datahead_init_common): Initialize entire
41826         structure.
41827         (datahead_init_pos): Call datahead_init_common early.
41828         (datahead_init_neg): Likewise.
41830         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41831         datahead_init_neg): New functions.
41832         * nscd/aicache.c (addhstaiX): Use them.
41833         * nscd/grpcache.c (cache_addgr): Likewise.
41834         * nscd/hstcache.c (cache_addhst): Likewise.
41835         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41836         * nscd/netgroupcache.c (do_notfound): Likewise.
41837         (addgetnetgrentX): Likewise.
41838         (addinnetgrX): Likewise.
41839         * nscd/pwdcache.c (cache_addpw): Likewise.
41840         * nscd/servicescache.c (cache_addserv): Likewise.
41842 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41843             Atsushi Onoe  <atsushi@onoe.org>
41845         [BZ #14308]
41846         [BZ #12994]
41847         [BZ #13651]
41848         * resolv/res_query.c (__libc_res_nsearch): Return if at least
41849         one response is valid.
41850         * resolv/res_send.c (send_dg): Check for validity of other
41851         response if the current response is a referral.
41853 2014-04-29  Steve Ellcey  <sellcey@mips.com>
41855         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41857 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
41859         [BZ #16823]
41860         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41861         Always divide by positive zero when computing -Inf result.
41862         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41863         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41865 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41867         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41868         FPSCR if value do not change.
41869         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41870         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
41871         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41872         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41873         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
41874         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
41875         function.
41877 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
41879         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
41880         * sysdeps/unix/sysv/linux/hppa: Move directory from
41881         ports/systeps/unix/sysv/linux/hppa.
41882         * README: Update listing for hppa-*-linux-gnu.
41884 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
41886         [BZ #16754]
41887         * manual/stdio.texi (Hook functions): Fix types of stream hook
41888         functions.
41889         [BZ #16854]
41890         * socket/sys/socket.h: Fix typo in comment.
41892 2014-04-28  Wilco  <wdijkstr@arm.com>
41894         * sysdeps/arm/fenv_private.h: New file.
41895         * sysdeps/arm/math_private.h: New file.
41896         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
41898 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
41900         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
41901         with __int128_t.
41902         (La_x86_64_retval): Likewise.
41904 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
41906         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
41907         fpsr if value didn't change.
41908         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
41909         to fpcr if value didn't change.
41910         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
41911         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
41912         fpsr or fpcr if value didn't change.
41913         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41914         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
41915         fpcr if value didn't change.
41916         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
41917         to fpsr if value didn't change.
41919 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41921         * nptl/tst-sem3.c: Use test-skeleton.c
41922         (main): Rename to do_test.  Use return instead of
41923         exit.
41924         * nptl/tst-sem4.c: Use test-skeleton.c
41925         (main): Rename to do_test.
41927 2014-04-22  David S. Miller  <davem@davemloft.net>
41929         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
41930         (struct sigaction): New struct member __glibc_reserved0, change
41931         type of sa_flags to int.
41933 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
41935         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
41936         (COUNT_LEADING_ZEROS_0): Define for AArch64.
41938 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41940         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
41941         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
41943 2014-04-22  Will Newton  <will.newton@linaro.org>
41944             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
41946         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
41947         (__longjmp): Add longjmp and longjmp_target SystemTap
41948         probes.
41949         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
41950         (__sigsetjmp): Add setjmp SystemTap probe.
41952 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
41954         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
41955         match manual order.
41957 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41959         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
41961         * sysdeps/powerpc/fpu/fenv_private.h
41962         (libc_feholdexcept_setroundl_ctx): Define to
41963         libc_feholdexcept_setround_ppc_ctx.
41964         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
41965         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
41966         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
41967         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
41969 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
41971         * sysdeps/aarch64/math-tests.h: New file.
41973 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
41975         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
41976         New.
41977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41978         Check and set bit_AVX2_Usable.
41979         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
41980         macro.
41981         (bit_AVX2): Likewise.
41982         (index_AVX2_Usable): Likewise.
41983         (CPUID_AVX2): Likewise.
41984         (HAS_AVX2): Likewise.
41986 2014-04-17  Will Newton  <will.newton@linaro.org>
41988         * manual/setjmp.texi (System V contexts): Add note that
41989         calling setcontext on a context created by a call to a
41990         signal handler is undefined.  Update text to note that
41991         setcontext from a signal handler is possible but not
41992         recommended.
41994         [BZ #16629]
41995         * stdlib/tst-setcontext.c: Include signal.h.
41996         (main): Check that the signal stack before and
41997         after swapcontext is the same.
41999         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42000         Re-implement to restore registers in user code and avoid
42001         rt_sigreturn system call.
42003 2014-04-17  Wilco  <wdijkstr@arm.com>
42005         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42006         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42007         * math/test-fenv.c: Skip exception trap tests on targets which only
42008         support non-stop mode.
42010 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42011             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42013         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42014         (libc_feholdsetround_aarch64_ctx)
42015         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42016         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42017         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42018         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42019         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42020         (libc_feresetround_noexl_ctx): Define.
42022 2014-04-16  Richard Henderson  <rth@redhat.com>
42024         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42026         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42027         unwind tables.
42029         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42030         const from the non-libc, non-ldso copy.
42032         * sysdeps/alpha/libm-test-ulps: Regenerate.
42034 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42035             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42037         * sysdeps/aarch64/fpu/math_private.h: New file.
42039 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42041         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42043 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42045         [BZ #16275]
42046         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42047         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42048         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42049         Intel MPX bound registers before _dl_profile_fixup.
42050         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42051         registers after _dl_profile_fixup.  Save and restore bound
42052         registers bnd0/bnd1 when calling _dl_call_pltexit.
42053         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42054         (LR_BND_OFFSET): Likewise.
42055         (LRV_BND0_OFFSET): Likewise.
42056         (LRV_BND1_OFFSET): Likewise.
42058 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42060         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42061         to...
42062         * sysdeps/mach/hurd/i386/tls.h: ... here.
42063         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42064         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42065         fields.
42067 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42069         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42071 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42073         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42075 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42077         [BZ #14770]
42078         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42079         * sysdeps/s390/configure: Regenerate.
42081         [BZ #16824]
42082         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42083         Set round-to-nearest internally to reduce error accumulation.
42085 2014-04-16  Alan Modra  <amodra@gmail.com>
42087         [BZ #16740]
42088         [BZ #16619]
42089         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42090         * math/libm-test.inc (frexp_test_data): Add tests.
42091         * NEWS: Update fixed bug list.
42093 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42095         * benchtests/Makefile: Depend on libraries in build directory.
42096         (bench-math): Separate out math tests.
42097         (bench-pthread): Separate out pthread tests.
42098         (bench): Include math and pthread tests.
42100 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
42102         [BZ #16831]
42103         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42104         _dl_debug_initialize.
42106         * configure.ac: Remove SELinux header check.
42107         * configure: Regenerate.
42108         * nscd/selinux.c (perms): Array of const char* to permission names.
42109         (nscd_request_avc_has_perm): Call security_deny_unknown to find
42110         default policy. Call string_to_security_class and string_to_av_perm to
42111         translate strings. Enforce default policy and call avs_has_perm with
42112         results of translated strings.
42114 2014-04-13  David S. Miller  <davem@davemloft.net>
42116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42118 2014-04-12  Allan McRae  <allan@archlinux.org>
42120         [BZ #16838]
42121         * manual/string.texi (Collation Functions): Fix qsort argument
42122         order in example.
42123         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42125 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
42127         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42128         Make the test a no-op if there are no exceptions defined.
42130 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
42132         * elf/Makefile (tests): make tst-dlopen-aout conditional on
42133         enable-hardcoded-path-in-tests
42135 2014-04-11  Will Newton  <will.newton@linaro.org>
42137         * benchtests/Makefile (extra-objs): Add json-lib.o.
42138         (bench-func): Tidy up JSON output.
42139         * benchtests/bench-skeleton.c: Include json-lib.h.
42140         (main): Use JSON library functions to do output of
42141         benchmark results.
42142         * benchtests/bench-timing-type.c (main): Output the
42143         timing type simply, leaving formatting to the user.
42144         * benchtests/json-lib.c: New file.
42145         * benchtests/json-lib.h: Likewise.
42147 2014-04-11  Torvald Riegel  <triegel@redhat.com>
42149         [BZ #15215]
42150         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42151         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
42152         memory barriers.  Add comments.
42153         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42154         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42155         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42156         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42157         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42158         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42160 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42162         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42163         * sysdeps/s390/s390-64/configure.ac: ... this ...
42164         * sysdeps/s390/configure.ac: ... to here.
42165         * sysdeps/s390/s390-32/configure: Delete file.
42166         * sysdeps/s390/s390-64/configure: Delete file.
42167         * sysdeps/s390/configure: Regenerate.
42169 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
42171         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42173 2014-04-11  Will Newton  <will.newton@linaro.org>
42175         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42176         to zero if it is not defined elsewhere.  (mtrim): Test
42177         the value of MALLOC_DEBUG with #if rather than #ifdef.
42179 2014-04-10 Torvald Riegel  <triegel@redhat.com>
42181         * benchtests/pthread_once-inputs: New file.
42182         * benchtests/pthread_once-source.c: New file.
42183         * benchtests/README: Update documentation.
42185 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
42186             H.J. Lu  <hongjiu.lu@intel.com>
42188         [BZ #16275]
42189         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42190         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42191         * sysdeps/x86_64/configure: Regenerated.
42192         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42193         macro.
42194         (REGISTER_SAVE_RAX): Likewise.
42195         (REGISTER_SAVE_RCX): Likewise.
42196         (REGISTER_SAVE_RDX): Likewise.
42197         (REGISTER_SAVE_RSI): Likewise.
42198         (REGISTER_SAVE_RDI): Likewise.
42199         (REGISTER_SAVE_R8): Likewise.
42200         (REGISTER_SAVE_R9): Likewise.
42201         (REGISTER_SAVE_BND0): Likewise.
42202         (REGISTER_SAVE_BND1): Likewise.
42203         (REGISTER_SAVE_BND2): Likewise.
42204         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
42205         bound registers when calling _dl_fixup.
42207 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42209         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42210         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42211         of its definition.
42212         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42213         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42214         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42215         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42216         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42217         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42218         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42220 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
42222         [BZ #15514]
42223         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42224         pathconf(_PC_NAME_MAX).
42226 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42228         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42229         Remove macro usage.
42230         (__PTHREAD_SPINS): Move definition to ...
42231         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42232         (__PTHREAD_SPINS): ... here.
42233         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42234         (__PTHREAD_SPIN): Likewise.
42235         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42236         (__PTHREAD_SPIN): Likewise.
42237         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42238         (__PTHREAD_SPIN): Likewise.
42239         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42240         (__PTHREAD_SPIN): Likewise.
42241         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42242         (__PTHREAD_SPIN): Likewise.
42243         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42244         (__PTHREAD_SPIN): Likewise.
42245         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42246         (__PTHREAD_SPIN): Likewise.
42247         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42248         (__PTHREAD_SPIN): Likewise.
42249         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42250         (__PTHREAD_SPIN): Likewise.
42251         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42252         (__PTHREAD_SPIN): Likewise.
42253         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42254         (__PTHREAD_SPIN): Likewise.
42255         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42256         (__PTHREAD_SPIN): Likewise.
42258         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42259         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42260         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42261         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42262         imply folder.
42263         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42264         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42265         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42266         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42267         correct imply path.
42268         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42269         strlen symbol for non multi-arch builds.
42270         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42271         missing hidden_def and weak_alias.
42273 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
42275         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42277 2014-04-07  Will Newton  <will.newton@linaro.org>
42279         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42280         and contents.  [!_LIBC] Remove #ifndef and contents.
42281         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
42282         * string/memccpy.c (__memccpy): Use ANSI prototype.
42283         * string/memfrob.c (memfrob): Likewise.
42284         * string/strcoll.c (STRCOLL): Likewise.
42285         * string/strlen.c (strlen): Likewise.
42286         * string/strtok.c (STRTOK): Likewise.
42287         * string/strcat.c: Remove unused #include of memcopy.h.
42288         (strcat): Use ANSI prototype.
42289         * string/strchr.c: Remove unused #include of memcopy.h.
42290         (strchr): Use ANSI prototype.
42291         * string/strcmp.c: Remove unused #include of memcopy.h.
42292         (strcmp): Use ANSI prototype.
42293         * string/strcpy.c: Remove unused #include of memcopy.h.
42294         (strcpy): Use ANSI prototype.
42296 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42298         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42299         * config.make.in (config-extra-cppflags): Set it from
42300         libc_extra_cppflags.
42301         * configure.ac (libc_extra_cflags): Make it accumulate over
42302         configure fragments.
42303         (libc_extra_cppflags): New flag.
42304         * configure. Regenerate.
42305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42306         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42307         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42310         [BZ #16815]
42311         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42312         result for FE_DOWNWARD rounding mode.
42313         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42314         Likewise.
42315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42317 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
42319         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42320         in function argument name.
42322 2014-04-03  David Svoboda  <svoboda@cert.org>
42324         [BZ #5666]
42325         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42326         explicitly.
42328 2014-04-03  Roland McGrath  <roland@hack.frob.com>
42330         * elf/dl-unmap-segments.h: New file.
42331         * sysdeps/generic/ldsodefs.h
42332         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42333         * elf/dl-close.c: Include <dl-unmap-segments.h>.
42334         * elf/dl-fptr.c: Likewise.
42335         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42336         * sysdeps/aarch64/tlsdesc.c: Likewise.
42337         * sysdeps/arm/tlsdesc.c: Likewise.
42338         * sysdeps/i386/tlsdesc.c: Likewise.
42339         * sysdeps/tile/dl-runtime.c: Likewise.
42340         * sysdeps/x86_64/tlsdesc.c: Likewise.
42341         * elf/dl-load.h: New file.
42342         * elf/dl-load.c: Include it.
42343         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42344         Macros moved to dl-load.h.
42345         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42346         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42347         Use _dl_unmap_segments in place of __munmap.
42348         Break out segment-mapping loop into ...
42349         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42351 2014-04-03  Will Newton  <will.newton@linaro.org>
42353         * elf/dl-lookup.c (do_lookup_x): Remove comment
42354         referring to nested function and move variable
42355         declarations down to before first use.
42357 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
42359         [BZ #16799]
42360         [BZ #16800]
42361         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42362         with 0 numerator.
42363         * math/s_catanf.c (__catanf): Likewise.
42364         * math/s_catanh.c (__catanh): Likewise.
42365         * math/s_catanhf.c (__catanhf): Likewise.
42366         * math/s_catanhl.c (__catanhl): Likewise.
42367         * math/s_catanl.c (__catanl): Likewise.
42368         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42369         by positive zero when computing -Inf result.
42370         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42371         (catanh_test): Likewise.
42372         * sysdeps/i386/fpu/libm-test-ulps: Update.
42373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42375         [BZ #16789]
42376         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42377         instead of using underflowing value in computing result.
42378         * math/s_clog10.c (__clog10): Likewise.
42379         * math/s_clog10f.c (__clog10f): Likewise.
42380         * math/s_clog10l.c (__clog10l): Likewise.
42381         * math/s_clogf.c (__clogf): Likewise.
42382         * math/s_clogl.c (__clogl): Likewise.
42383         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42384         (clog10_test): Likewise.
42385         * sysdeps/i386/fpu/libm-test-ulps: Update.
42386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42388 2014-04-02  Alan Modra  <amodra@gmail.com>
42390         [BZ #16739]
42391         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42392         output when value is near a power of two.  Use int64_t for lx and
42393         remove casts.  Use decimal rather than hex exponent constants.
42394         Don't use long double multiplication when double will suffice.
42395         * math/libm-test.inc (nextafter_test_data): Add tests.
42396         * NEWS: Add 16739 and 16786 to bug list.
42398         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42400         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42402 2014-04-01  Will Newton  <will.newton@linaro.org>
42404         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42405         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
42407 2014-04-01  Florian Weimer  <fweimer@redhat.com>
42409         [BZ #13347]
42410         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42411         * nptl/tst-setuid2.c: New file.
42412         * nptl/Makefile (xtests): Add tst-setuid2.
42414 2014-04-01  Alan Modra  <amodra@gmail.com>
42416         [BZ #16786]
42417         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42419 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42421         [BZ #6803]
42422         [BZ #6804]
42423         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42424         set errno as appropriate.
42425         * math/w_scalbf.c (__scalbf): Likewise.
42426         * math/w_scalbl.c (__scalbl): Likewise.
42427         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42428         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42429         * math/libm-test.inc (scalb_test_data): Add errno expectations.
42430         Add more NaN tests.
42432         [BZ #16349]
42433         * math/w_atan2.c: Include <errno.h>.
42434         (__atan2): Set errno for result underflowing to zero.
42435         * math/w_atan2f.c: Include <errno.h>.
42436         (__atan2f): Set errno for result underflowing to zero.
42437         * math/w_atan2l.c: Include <errno.h>.
42438         (__atan2l): Set errno for result underflowing to zero.
42439         * math/auto-libm-test-in: Don't allow missing errno for some atan2
42440         tests.
42441         * math/auto-libm-test-out: Regenerated.
42443 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42445         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42446         Encode instruction correctly in little endian.
42447         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42448         Likewise.
42449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42450         Likewise.
42451         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42452         Likewise.
42453         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42454         Likewise.
42456 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42458         [BZ #9894]
42459         * sysdeps/unix/sysv/linux/kernel-features.h
42460         [__sparc__ && !__arch64__ && !__sparc_v9__]
42461         (__ASSUME_SET_ROBUST_LIST): Do not define.
42462         [__sparc__ && !__arch64__ && !__sparc_v9__]
42463         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42464         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42465         Likewise.
42466         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42467         (__ASSUME_FUTEX_LOCK_PI): Undefine.
42468         (__ASSUME_REQUEUE_PI): Likewise.
42469         (__ASSUME_SET_ROBUST_LIST): Likewise.
42470         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42471         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42472         Undefine.
42473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42474         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42475         Likewise.
42476         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42477         Likewise.
42478         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42479         Likewise.
42480         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42481         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42482         Undefine.
42483         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42484         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42485         Likewise.
42487         [BZ #16648]
42488         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42489         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42490         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42492 2014-03-31  Will Newton  <will.newton@linaro.org>
42494         * benchtests/Makefile (bench): Add ffs and ffsll to list
42495         of tests.
42496         * benchtests/ffs-inputs: New file.
42497         * benchtests/ffsll-inputs: Likewise.
42499 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
42501         [BZ #16770]
42502         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42503         too large before casting to int.
42504         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42505         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42506         * math/libm-test.inc (scalb_test_data): Add more tests.
42508 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42510         * benchtests/Makefile (DETAILED_OPT): New make option.
42511         (bench-func): Run benchmark program with -d if DETAILED_OPT is
42512         set.
42513         * benchtests/bench-skeleton.c: Include stdbool.h.
42514         (main): Store and print timings per input.
42515         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42516         member to each argument value.
42517         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42518         (_print_arg_data): Initialize per-input timing to 0.
42520         * benchtests/Makefile (timing-type): New binary.
42521         (bench-clean): Also remove bench-timing-type.
42522         (bench): New target for timing-type.
42523         (bench-func): Print output in JSON format.
42524         * benchtests/bench-skeleton.c (main): Print output in JSON
42525         format.
42526         * benchtests/bench-timing-type.c: New file.
42527         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42528         (TIMING_PRINT_STATS): Remove.
42529         * benchtests/scripts/bench.py (_print_arg_data): Store variant
42530         name separately.
42532         * benchtests/bench-modf.c: Remove.
42533         * benchtests/modf-inputs: New inputs file.
42535 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
42537         [BZ #16362]
42538         * math/s_clog10.c (M_PI_LOG10E): New macro.
42539         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42540         imaginary parts are 0.
42541         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42542         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42543         imaginary parts are 0.
42544         * math/s_clog10l.c (M_PI_LOG10El): New macro.
42545         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42546         imaginary parts are 0.
42547         * math/libm-test.inc (clog10_test_data): Update expected results
42548         for when real and imaginary parts are 0.
42550 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
42552         * elf/dl-load.c: Finish conversion of __builtin_expect into
42553         __glibc_{un}likely.
42555 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
42557         [BZ #16348]
42558         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42559         1+x for argument with exponent below -67.
42560         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42561         Likewise.
42562         * math/auto-libm-test-in: Add more tests of exp.
42563         * math/auto-libm-test-out: Regenerated.
42565 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42567         [BZ #16759]
42568         * inet/getnetgrent_r.c (get_nonempty_val): New function.
42569         (nscd_getnetgrent): Use it.
42571         [BZ #16760]
42572         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42573         of stpcpy.
42575 2014-03-27  Andi Kleen  <ak@linux.intel.com>
42577         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42578         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42579         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42580         (lll_robust_unlock): Remove out of line section. Use cfi
42581         intrinsics.
42582         (LLL_STUB_UNWIND_INFO*): Remove.
42583         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42584         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42585         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42586         (lll_robust_unlock): Remove out of line section. Use cfi
42587         intrinsics.
42588         (LLL_STUB_UNWIND_INFO*): Remove.
42590 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42592         [BZ #16758]
42593         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42594         blank values.
42596 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
42598         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42600 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
42602         [BZ #16198]
42603         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42604         fnstenv.
42605         * math/test-fenv-preserve.c: New file.
42606         * math/Makefile (tests): Add test-fenv-preserve.
42608 2014-03-26  Will Newton <will.newton@linaro.org>
42610         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42612 2014-03-25  Roland McGrath  <roland@hack.frob.com>
42614         * scripts/versionlist.awk: Partition the version sets and emit all
42615         GLIBC_* (sorted) before all others (sorted).
42617 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42619         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42620         GLIBC_2.2.5 version.
42622 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42624         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42625         calls.
42627         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42628         previous change.
42630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42632 2014-03-25  Andreas Schwab  <schwab@suse.de>
42634         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42635         label to be used after in6ailist is initialized.
42637 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42639         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42640         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42642 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42644         [BZ #16357]
42645         [BZ #16599]
42646         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42647         min_plus_half.
42648         (fp_formats): Update initializers.
42649         (init_fp_formats): Initialize new field.
42650         (output_for_one_input_case): Allow underflow for results up to
42651         min_plus_half.
42652         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42653         * math/auto-libm-test-in: Don't mark some underflows from asin and
42654         atanh as spurious.
42655         * math/auto-libm-test-out: Regenerated.
42656         * sysdeps/i386/fpu/libm-test-ulps: Update.
42657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42659 2014-03-25  Andreas Schwab  <schwab@suse.de>
42661         * libio/Makefile (tst-ftell-partial-wide-ENV)
42662         (tst-ftell-active-handler-ENV): Define.
42664 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
42666         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42668 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42670         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42672 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42674         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42675         * sysdeps/x86_64/fpu/multiarch/e_exp.c
42676         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42678 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42680         [BZ #16634]
42681         * elf/dl-load.c (open_verify): Add mode parameter.
42682         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42683         (open_path): Change from boolean 'secure' to complete flag 'mode'
42684         (_dl_map_object): Adjust.
42685         * elf/Makefile (tests): Add tst-dlopen-aout.
42686         * elf/tst-dlopen-aout.c: New test.
42688 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
42690         [BZ #16714]
42691         * sysdeps/unix/sysv/linux/s390/bits/stat.h
42692         (struct stat): Rename member pad0 to __glibc_reserved0.
42694         [BZ #16712]
42695         * sysdeps/s390/s390-32/bits/wordsize.h
42696         (__WORDSIZE32_SIZE_ULONG): New define.
42697         * sysdeps/s390/s390-64/bits/wordsize.h
42698         (__WORDSIZE32_SIZE_ULONG): Likewise.
42699         * sysdeps/generic/stdint.h (SIZE_MAX):
42700         Define as UL if __WORDSIZE32_SIZE_ULONG.
42702         [BZ #16713]
42703         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42704         (__glibc_reserved0): New variable.
42705         (sa_flags): Change type to int.
42707         * posix/Makefile (before-compile): Use += before-compile instead
42708         of a :=.
42710         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42711         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42713 2014-03-20  Andreas Schwab  <schwab@suse.de>
42715         [BZ #16743]
42716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42717         non-matching result from nscd.
42719 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42721         * scripts/bench.py: Moved to ...
42722         * benchtests/scripts/bench.py: ... here.
42723         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42725 2014-03-24  Andreas Schwab  <schwab@suse.de>
42727         [BZ #16002]
42728         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42729         alloca_account and account alloca use for struct in6ailist.
42731 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42733         [BZ #16284]
42734         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42735         rounding mode to recompute results that overflow to infinity or
42736         underflow to zero.
42737         * math/auto-libm-test-in: Don't mark tests as expected to fail for
42738         bug 16284.
42739         * math/auto-libm-test-out: Regenerated.
42740         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42741         (ccosh_test): Likewise.
42742         (csin_test_data): Use plus_oflow.
42743         (csin_test): Use ALL_RM_TEST.
42744         (csinh_test_data): Use plus_oflow.
42745         (csinh_test): Use ALL_RM_TEST.
42746         * sysdeps/i386/fpu/libm-test-ulps: Update.
42747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42749 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
42751         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42752         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42753         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42755         [BZ #16731]
42756         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42757         when x - 1 is zero.
42758         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42759         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42760         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42761         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42762         argument is 1.
42763         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42764         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42765         zero.
42766         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42767         * sysdeps/i386/fpu/libm-test-ulps: Update.
42768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42770 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42772         * scripts/bench.pl: Remove file.
42773         * scripts/bench.py: New benchmark script.
42774         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42775         * benchtests/README: Mention python dependency.
42776         * scripts/pylintrc: New file.
42777         * scripts/pylint: New file.
42779         * bits/mathdef.h: Use #ifdef instead of #if.
42780         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42781         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42782         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42783         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42784         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42785         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42787 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42788             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42790         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42792         and strpbrk-ppc64 objects.
42793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42794         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42795         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42796         multiarch strpbrk for POWER7.
42797         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42798         multiarch strpbrk for PPC64.
42799         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42800         ifunc selector.
42801         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42802         strpbrk for POWER7.
42804 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42806         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42807         (atan_test): Likewise.
42808         (atanh_test_data): Use NO_TEST_INLINE for two tests.
42809         (atanh_test): Use ALL_RM_TEST.
42810         (atan2_test_data): Likewise.
42811         (cabs_test): Likewise.
42812         (cacosh_test): Likewise.
42813         (carg_test): Likewise.
42814         (casin_test): Likewise.
42815         (casinh_test): Likewise.
42816         (cbrt_test): Likewise.
42817         (csqrt_test): Likewise.
42818         (erf_test): Likewise.
42819         (erfc_test): Likewise.
42820         (pow10_test): Likewise.
42821         (exp2_test): Likewise.
42822         (hypot_test): Likewise.
42823         (j0_test): Likewise.
42824         (j1_test): Likewise.
42825         (lgamma_test): Likewise.
42826         (gamma_test): Likewise.
42827         (sincos_test): Likewise.
42828         (tanh_test): Likewise.
42829         (y0_test): Likewise.
42830         (y1_test): Likewise.
42831         * sysdeps/i386/fpu/libm-test-ulps: Update.
42832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42834 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42836         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42838         and strcspn-ppc64 objects.
42839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42840         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42841         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42842         multiarch strcspn for POWER7.
42843         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42844         multiarch strcspn for PPC64.
42845         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42846         ifunc selector.
42847         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42848         strcspn for POWER7.
42850 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42852         * math/gen-libm-test.pl (generate_testfile): Expect only function
42853         name as argument to AUTO_TESTS_* and pass results for all rounding
42854         modes to parse_args.
42855         (parse_auto_input): Separate inputs of automatic tests from
42856         outputs before storing in %auto_tests.
42857         * math/libm-test.inc (acos_test_data): Update call to
42858         AUTO_TESTS_f_f.
42859         (acos_test): Use ALL_RM_TEST.
42860         (acos_tonearest_test_data): Remove.
42861         (acos_test_tonearest): Likewise.
42862         (acos_towardzero_test_data): Likewise.
42863         (acos_test_towardzero): Likewise.
42864         (acos_downward_test_data): Likewise.
42865         (acos_test_downward): Likewise.
42866         (acos_upward_test_data): Likewise.
42867         (acos_test_upward): Likewise.
42868         (acosh_test_data): Update call to AUTO_TESTS_f_f.
42869         (asin_test_data): Likewise.
42870         (asin_test): Use ALL_RM_TEST.
42871         (asin_tonearest_test_data): Remove.
42872         (asin_test_tonearest): Likewise.
42873         (asin_towardzero_test_data): Likewise.
42874         (asin_test_towardzero): Likewise.
42875         (asin_downward_test_data): Likewise.
42876         (asin_test_downward): Likewise.
42877         (asin_upward_test_data): Likewise.
42878         (asin_test_upward): Likewise.
42879         (asinh_test_data): Update call to AUTO_TESTS_f_f.
42880         (atan_test_data): Likewise.
42881         (atanh_test_data): Likewise.
42882         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
42883         (cabs_test_data): Update call to AUTO_TESTS_c_f.
42884         (carg_test_data): Likewise.
42885         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
42886         (ccos_test_data): Update call to AUTO_TESTS_c_c.
42887         (ccosh_test_data): Likewise.
42888         (cexp_test_data): Likewise.
42889         (clog_test_data): Likewise.
42890         (clog10_test_data): Likewise.
42891         (cos_test_data): Update call to AUTO_TESTS_f_f.
42892         (cos_test): Use ALL_RM_TEST.
42893         (cos_tonearest_test_data): Remove.
42894         (cos_test_tonearest): Likewise.
42895         (cos_towardzero_test_data): Likewise.
42896         (cos_test_towardzero): Likewise.
42897         (cos_downward_test_data): Likewise.
42898         (cos_test_downward): Likewise.
42899         (cos_upward_test_data): Likewise.
42900         (cos_test_upward): Likewise.
42901         (cosh_test_data): Update call to AUTO_TESTS_f_f.
42902         (cosh_test): Use ALL_RM_TEST.
42903         (cosh_tonearest_test_data): Remove.
42904         (cosh_test_tonearest): Likewise.
42905         (cosh_towardzero_test_data): Likewise.
42906         (cosh_test_towardzero): Likewise.
42907         (cosh_downward_test_data): Likewise.
42908         (cosh_test_downward): Likewise.
42909         (cosh_upward_test_data): Likewise.
42910         (cosh_test_upward): Likewise.
42911         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
42912         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
42913         (ctan_test_data): Likewise.
42914         (ctan_test): Use ALL_RM_TEST.
42915         (ctan_tonearest_test_data): Remove.
42916         (ctan_test_tonearest): Likewise.
42917         (ctan_towardzero_test_data): Likewise.
42918         (ctan_test_towardzero): Likewise.
42919         (ctan_downward_test_data): Likewise.
42920         (ctan_test_downward): Likewise.
42921         (ctan_upward_test_data): Likewise.
42922         (ctan_test_upward): Likewise.
42923         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
42924         (ctanh_test): Use ALL_RM_TEST.
42925         (ctanh_tonearest_test_data): Remove.
42926         (ctanh_test_tonearest): Likewise.
42927         (ctanh_towardzero_test_data): Likewise.
42928         (ctanh_test_towardzero): Likewise.
42929         (ctanh_downward_test_data): Likewise.
42930         (ctanh_test_downward): Likewise.
42931         (ctanh_upward_test_data): Likewise.
42932         (ctanh_test_upward): Likewise.
42933         (erf_test_data): Update call to AUTO_TESTS_f_f.
42934         (erfc_test_data): Likewise.
42935         (exp_test_data): Likewise.
42936         (exp_test): Use ALL_RM_TEST.
42937         (exp_tonearest_test_data): Remove.
42938         (exp_test_tonearest): Likewise.
42939         (exp_towardzero_test_data): Likewise.
42940         (exp_test_towardzero): Likewise.
42941         (exp_downward_test_data): Likewise.
42942         (exp_test_downward): Likewise.
42943         (exp_upward_test_data): Likewise.
42944         (exp_test_upward): Likewise.
42945         (exp10_test_data): Update call to AUTO_TESTS_f_f.
42946         (exp10_test): Use ALL_RM_TEST.
42947         (exp10_tonearest_test_data): Remove.
42948         (exp10_test_tonearest): Likewise.
42949         (exp10_towardzero_test_data): Likewise.
42950         (exp10_test_towardzero): Likewise.
42951         (exp10_downward_test_data): Likewise.
42952         (exp10_test_downward): Likewise.
42953         (exp10_upward_test_data): Likewise.
42954         (exp10_test_upward): Likewise.
42955         (exp2_test_data): Update call to AUTO_TESTS_f_f.
42956         (expm1_test_data): Likewise.
42957         (expm1_test): Use ALL_RM_TEST.
42958         (expm1_tonearest_test_data): Remove.
42959         (expm1_test_tonearest): Likewise.
42960         (expm1_towardzero_test_data): Likewise.
42961         (expm1_test_towardzero): Likewise.
42962         (expm1_downward_test_data): Likewise.
42963         (expm1_test_downward): Likewise.
42964         (expm1_upward_test_data): Likewise.
42965         (expm1_test_upward): Likewise.
42966         (fma_test_data): Update call to AUTO_TESTS_fff_f.
42967         (fma_test): Use ALL_RM_TEST.
42968         (fma_towardzero_test_data): Remove.
42969         (fma_test_towardzero): Likewise.
42970         (fma_downward_test_data): Likewise.
42971         (fma_test_downward): Likewise.
42972         (fma_upward_test_data): Likewise.
42973         (fma_test_upward): Likewise.
42974         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
42975         (j0_test_data): Update call to AUTO_TESTS_f_f.
42976         (j1_test_data): Likewise.
42977         (jn_test_data): Update call to AUTO_TESTS_if_f.
42978         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
42979         (log_test_data): Update call to AUTO_TESTS_f_f.
42980         (log10_test_data): Likewise.
42981         (log1p_test_data): Likewise.
42982         (log2_test_data): Likewise.
42983         (pow_test_data): Update call to AUTO_TESTS_ff_f.
42984         (pow_tonearest_test_data): Likewise.
42985         (sin_test_data): Update call to AUTO_TESTS_f_f.
42986         (sin_test): Use ALL_RM_TEST.
42987         (sin_tonearest_test_data): Remove.
42988         (sin_test_tonearest): Likewise.
42989         (sin_towardzero_test_data): Likewise.
42990         (sin_test_towardzero): Likewise.
42991         (sin_downward_test_data): Likewise.
42992         (sin_test_downward): Likewise.
42993         (sin_upward_test_data): Likewise.
42994         (sin_test_upward): Likewise.
42995         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
42996         (sinh_test_data): Update call to AUTO_TESTS_f_f.
42997         (sinh_test): Use ALL_RM_TEST.
42998         (sinh_tonearest_test_data): Remove.
42999         (sinh_test_tonearest): Likewise.
43000         (sinh_towardzero_test_data): Likewise.
43001         (sinh_test_towardzero): Likewise.
43002         (sinh_downward_test_data): Likewise.
43003         (sinh_test_downward): Likewise.
43004         (sinh_upward_test_data): Likewise.
43005         (sinh_test_upward): Likewise.
43006         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43007         (sqrt_test): Use ALL_RM_TEST.
43008         (sqrt_tonearest_test_data): Remove.
43009         (sqrt_test_tonearest): Likewise.
43010         (sqrt_towardzero_test_data): Likewise.
43011         (sqrt_test_towardzero): Likewise.
43012         (sqrt_downward_test_data): Likewise.
43013         (sqrt_test_downward): Likewise.
43014         (sqrt_upward_test_data): Likewise.
43015         (sqrt_test_upward): Likewise.
43016         (tan_test_data): Update call to AUTO_TESTS_f_f.
43017         (tan_test): Use ALL_RM_TEST.
43018         (tan_tonearest_test_data): Remove.
43019         (tan_test_tonearest): Likewise.
43020         (tan_towardzero_test_data): Likewise.
43021         (tan_test_towardzero): Likewise.
43022         (tan_downward_test_data): Likewise.
43023         (tan_test_downward): Likewise.
43024         (tan_upward_test_data): Likewise.
43025         (tan_test_upward): Likewise.
43026         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43027         (tgamma_test_data): Likewise.
43028         (y0_test_data): Likewise.
43029         (y1_test_data): Likewise.
43030         (yn_test_data): Update call to AUTO_TESTS_if_f.
43031         (main): Do not call removed functions.
43033 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43035         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43036         (ldexp_test_data): Remove.
43037         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43038         scalbn_test_data.
43039         (scalb_test): Use ALL_RM_TEST.
43041 2014-03-19  Andreas Schwab  <schwab@suse.de>
43043         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43045 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43047         [BZ #16649]
43048         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43049         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43050         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43051         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43052         (__ASSUME_PREADV): Undefine.
43053         (__ASSUME_PWRITEV): Likewise.
43055 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43057         * bits/mman-linux.h: Add comment about non-Linux use.
43058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43059         bits/mman-linux.h resting place.
43061         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43062         * bits/mman-linux.h: ... here.
43064 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43066         * conform/conformtest.pl: Add standard definition when calling C
43067         preprocessor on data files.
43068         (checknamespace): Remove unused variable.
43070 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43072         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43073         minus_oflow, plus_uflow and minus_uflow in expected results.
43074         * math/libm-test.inc (scalbn_test_data): Add more tests of
43075         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43076         minus_uflow.
43077         (scalbn_test): Use ALL_RM_TEST.
43078         (scalbln_test_data): Add more tests of negative arguments.  Use
43079         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43080         (scalbln_test): Use ALL_RM_TEST.
43082 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43084         * scripts/abilist.awk: Ignore symbols marked with .hidden.
43086 2014-03-18  Will Newton  <will.newton@linaro.org>
43088         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43089         inaccurate comment.
43091 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43093         * Makerules [!subdir] (check-abi): Exit with error status if a
43094         test failed.
43096 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43098         * math/libm-test.inc (nearbyint_test_data): Include all tests used
43099         for rint.  Include results for all rounding modes.
43100         (nearbyint_test): Use ALL_RM_TEST.
43101         (rint_test_data): Include all tests used for nearbyint.
43103 2014-03-17  Will Newton  <will.newton@linaro.org>
43105         * nptl/sysdeps/pthread/pthread.h: Revert previous
43106         change.
43108         * sysdeps/generic/ldsodefs.h: Revert previous
43109         change.
43111         * libio/genops.c: Revert previous change.
43112         * libio/libioP.h: Likewise.
43113         * stdio-common/vfprintf.c: Likewise.
43115         * sysdeps/generic/math_private.h: Revert previous
43116         change.
43118         * sysdeps/generic/math_private.h: Check whether
43119         HAVE_RM_CTX is defined with #ifdef rather
43120         than #if.
43122         * argp/argp-fmtstream.h: Check whether
43123         __STRICT_ANSI__ is defined with #ifdef rather
43124         than #if.
43125         * argp/argp.h: Likewise.
43127         * libio/genops.c: Check whether
43128         _IO_JUMPS_OFFSET is defined with #ifdef rather
43129         than #if.
43130         * libio/libioP.h: Likewise.
43131         * stdio-common/vfprintf.c: Likewise.
43133         * sysdeps/generic/ldsodefs.h: Check whether
43134         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43135         than #if.
43137         * nptl/sysdeps/pthread/pthread.h: Check
43138         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43139         its value.
43141 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43143         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43144         setting O_APPEND.
43145         * libio/tst-ftell-active-handler.c (do_append_test): Add a
43146         test case.
43148         [BZ #16680]
43149         * libio/fileops.c (_IO_file_open): Seek to end of file but
43150         don't cache the offset.
43151         (get_file_offset): Remove function.
43152         (do_ftell): Use cached offset when available.
43153         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43154         don't cache the offset.
43155         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43156         case.
43157         (do_one_test): Call it.
43158         (do_ftell_test): Fix up expected old offset for a+ mode.
43159         * libio/wfileops.c (do_ftell_wide): Used cached offset when
43160         available.
43162         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43163         up test status with function return status.
43164         (do_write_test): Likewise.
43165         (do_append_test): Likewise.
43167         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43168         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43169         Remove.
43171 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43173         * math/gen-libm-test.pl (parse_args): Handle results specified for
43174         each rounding mode separately.
43175         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43176         tests and results from lrint_tonearest_test_data,
43177         lrint_towardzero_test_data, lrint_downward_test_data and
43178         lrint_upward_test_data.
43179         (lrint_test): Use ALL_RM_TEST.
43180         (lrint_tonearest_test_data): Remove.
43181         (lrint_test_tonearest): Likewise.
43182         (lrint_towardzero_test_data): Likewise.
43183         (lrint_test_towardzero): Likewise.
43184         (lrint_downward_test_data): Likewise.
43185         (lrint_test_downward): Likewise.
43186         (lrint_upward_test_data): Likewise.
43187         (lrint_test_upward): Likewise.
43188         (llrint_test_data): Merge in per-rounding-mode tests and results
43189         from llrint_tonearest_test_data, llrint_towardzero_test_data,
43190         llrint_downward_test_data and llrint_upward_test_data.
43191         (llrint_test): Use ALL_RM_TEST.
43192         (llrint_tonearest_test_data): Remove.
43193         (llrint_test_tonearest): Likewise.
43194         (llrint_towardzero_test_data): Likewise.
43195         (llrint_test_towardzero): Likewise.
43196         (llrint_downward_test_data): Likewise.
43197         (llrint_test_downward): Likewise.
43198         (llrint_upward_test_data): Likewise.
43199         (llrint_test_upward): Likewise.
43200         (rint_test_data): Merge in per-rounding-mode tests and results
43201         from rint_tonearest_test_data, rint_towardzero_test_data,
43202         rint_downward_test_data and rint_upward_test_data.  Add
43203         per-rounding-mode results for tests not in those arrays.
43204         (rint_test): Use ALL_RM_TEST.
43205         (rint_tonearest_test_data): Remove.
43206         (rint_test_tonearest): Likewise.
43207         (rint_towardzero_test_data): Likewise.
43208         (rint_test_towardzero): Likewise.
43209         (rint_downward_test_data): Likewise.
43210         (rint_test_downward): Likewise.
43211         (rint_upward_test_data): Likewise.
43212         (rint_test_upward): Likewise.
43213         (main): Don't call removed functions.
43215 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43217         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43218         "Compiled on ..." crapola.  It is anti-useful.
43220 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
43222         * scripts/evaluate-test.sh: Handle fourth argument to determine
43223         whether test run should stop on failure.
43224         * Makeconfig (stop-on-test-failure): New variable.
43225         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43226         $(stop-on-test-failure).
43227         * Makefile (tests): Give a summary of results from testing and
43228         exit with failure status if they include an ERROR or FAIL.
43229         (xtests): Likewise.
43230         * manual/install.texi (Configuring and compiling): Mention
43231         stop-on-test-failure=y.
43232         * INSTALL: Regenerated.
43234 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43236         * scripts/versionlist.awk: New file.
43237         * Makerules [$(build-shared) = yes]
43238         (postclean-generated): Add Versions.def, not Versions.def.v and
43239         Versions.def.v.i.
43240         ($(common-objpfx)Versions.def.v.i): Target removed.
43241         ($(common-objpfx)Versions.def): New target.
43242         ($(common-objpfx)Versions.all): Depend on that rather that
43243         $(common-objpfx)Versions.def.v.
43244         * Versions.def: File removed.
43246         * Makeconfig (+gccwarn): Add -Wundef.
43247         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43248         a dl-sysdep.h breaking its contract.
43249         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43250         * include/stackinfo.h: New file.
43251         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43252         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43253         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43254         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43255         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43256         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43257         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43258         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43259         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43260         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43261         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43262         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43263         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43264         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43265         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43267 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43269         [BZ #16707]
43270         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43271         implementation.
43272         * math/libm-test.inc (round_test_data): Add more tests.
43274         [BZ #16706]
43275         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43276         implementation.
43277         * math/libm-test.inc (nearbyint_test_data): Add more tests.
43279         [BZ #16701]
43280         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43281         implementation.
43282         * math/libm-test.inc (ceil_test_data): Add more tests.
43284         * math/libm-test.inc (trunc_test_data): Add more tests related to
43285         BZ#16414.
43287 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43289         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43290         with #if rather than #ifdef.
43291         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43293 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
43295         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43296         first.  Disable AVX-512 GCC support if assembler doesn't support
43297         it.
43298         * sysdeps/x86_64/configure: Regenerated.
43300 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
43302         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43303         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43304         (__old_pthread_attr_setstack): Likewise.
43305         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43306         [!_STACK_GROWS_DOWN]: Likewise.
43308 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
43310         * config.make.in (have-bash2): Delete.
43311         * configure.ac (libc_cv_have_bash2): Delete.
43312         * configure: Regenerate.
43313         * elf/Makefile (common-ldd-rewrite): Rename to ...
43314         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
43315         (sh-ldd-rewrite): Delete.
43316         (bash-ldd-rewrite): Delete.
43317         (have-bash2): Delete checks.
43318         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43319         ldd-rewrite.
43321         * config.make.in (have-ksh): Delete.
43322         (KSH): Delete.
43323         * configure.ac (libc_cv_have_ksh): Delete.
43324         * configure: Regenerate.
43326         * elf/Makefile: Delete $(have-ksh) check.
43327         ($(objpfx)sotruss): Change KSH to BASH.
43328         * elf/sotruss.ksh: Rename to ...
43329         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
43330         function style to match POSIX.  Drop ksh vim mode setting.
43332         * manual/time.texi (Specifying the Time Zone with TZ): Change
43333         Tuesday to Thursday.
43335         * debug/tst-longjmp_chk2.c: Update header comment.
43336         (stackoverflow_handler): Add comment.  Call assert on pass value.
43338 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
43340         [BZ #16194]
43341         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43342         (HAVE_AVX512_ASM_SUPPORT): Likewise.
43343         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43344         (La_x86_64_vector): Add zmm.
43345         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43346         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43347         ($(objpfx)tst-audit10): New target.
43348         ($(objpfx)tst-audit10.out): Likewise.
43349         (tst-audit10-ENV): New.
43350         (AVX512-CFLAGS): Likewise.
43351         (CFLAGS-tst-audit10.c): Likewise.
43352         (CFLAGS-tst-auditmod10a.c): Likewise.
43353         (CFLAGS-tst-auditmod10b.c): Likewise.
43354         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43355         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43356         * sysdeps/x86_64/configure: Regenerated.
43357         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43358         AVX-512 zmm register support.
43359         (_dl_x86_64_save_sse): Likewise.
43360         (_dl_x86_64_restore_sse): Likewise.
43361         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43362         size vector registers.
43363         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43364         (ZMM_SIZE): Likewise.
43365         * sysdeps/x86_64/tst-audit10.c: New file.
43366         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43367         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43369 2014-03-13  Roland McGrath  <roland@hack.frob.com>
43371         * configure.ac (HAVE_EHDR_START): New check.
43372         * configure: Regenerated.
43373         * config.h.in (HAVE_EHDR_START): New #undef.
43374         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43375         assuming the lowest-addressed segment maps the start of the file.
43377 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
43379         * INSTALL: Regenerated.
43381 2014-03-13  Will Newton  <will.newton@linaro.org>
43383         * manual/setjmp.texi (System V contexts): Improve
43384         clarity and grammar of documentation.
43386 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
43388         [BZ #16381]
43389         * elf/Makefile (tests): Add tst-pie2.
43390         (tests-pie): Add tst-pie2.
43391         * elf/tst-pie2.c: New file.
43392         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43393         for ET_EXEC.
43394         * elf/rtld.c (map_doit): Load executable as lt_executable.
43395         (dl_main): Likewise.
43397 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
43399         [BZ #16642]
43400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43401         (__ASSUME_PSELECT): Undefine.
43403 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43405         [BZ #16689]
43406         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43407         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43408         static build.
43409         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43410         selector for static builds.
43412 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43414         [BZ #16695]
43415         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43416         key in the buffer.
43418 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43420         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43421         IFUNC selector for static builds.
43423 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
43425         * sysdeps/mips/math_private.h [__mips_hard_float]
43426         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43427         libc_feresetround_mips_ctx.
43428         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43429         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43430         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43432         [BZ #16677]
43433         * math/s_nextafter.c (__nextafter): Do not return value from
43434         overflowing computation.
43435         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43436         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43437         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43438         Likewise.
43439         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43440         Likewise.
43441         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43442         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43444 2014-03-11  Roland McGrath  <roland@hack.frob.com>
43446         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43447         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43448         Move sfi_sp use from the load-multiple (that no longer sets sp) to
43449         the new mov targetting sp.
43451 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43453         [BZ #16683]
43454         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43455         Define it for static builds as well.
43456         (NO_BZERO_IMPL): Likewise.
43458 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43460         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43461         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43462         multiarch strspn for PPC64.
43463         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43464         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43466         (__libc_ifunc_impl_list): Likewise.
43467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43468         multiarch optimizations
43469         * string/strspn.c (strspn): Using macro to redefine symbol name.
43471 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43472             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43474         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43475         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43476         multiarch strncat for PPC64.
43477         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43478         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43480         (__libc_ifunc_impl_list): Likewise.
43481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43482         multiarch optimizations
43484 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43486         [BZ #16639]
43487         * nscd/nscd.service: Make service type forking.
43489 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43491         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43492         sign in non default rounding modes.
43493         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43495 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
43497         * math/libm-test.inc (ALL_RM_TEST): New macro.
43498         (ceil_test): Use ALL_RM_TEST.
43499         (cimag_test): Likewise.
43500         (conj_test): Likewise.
43501         (copysign_test): Likewise.
43502         (cproj_test): Likewise.
43503         (creal_test): Likewise.
43504         (fabs_test): Likewise.
43505         (floor_test): Likewise.
43506         (fmax_test): Likewise.
43507         (fmin_test): Likewise.
43508         (fmod_test): Likewise.
43509         (fpclassify_test): Likewise.
43510         (frexp_test): Likewise.
43511         (ilogb_test): Likewise.
43512         (isfinite_test): Likewise.
43513         (finite_test): Likewise.
43514         (isgreater_test): Likewise.
43515         (isgreaterequal_test): Likewise.
43516         (isinf_test): Likewise.
43517         (isless_test): Likewise.
43518         (islessequal_test): Likewise.
43519         (islessgreater_test): Likewise.
43520         (isnan_test): Likewise.
43521         (isnormal_test): Likewise.
43522         (issignaling_test): Likewise.
43523         (isunordered_test): Likewise.
43524         (logb_test): Likewise.
43525         (logb_downward_test_data): Remove.
43526         (logb_test_downward): Likewise.
43527         (lround_test): Use ALL_RM_TEST.
43528         (llround_test): Likewise.
43529         (modf_test): Likewise.
43530         (nexttoward_test): Likewise.
43531         (remainder_test): Likewise.
43532         (drem_test): Likewise.
43533         (remainder_tonearest_test_data): Likewise.
43534         (remainder_test_tonearest): Likewise.
43535         (drem_test_tonearest): Likewise.
43536         (remainder_towardzero_test_data): Likewise.
43537         (remainder_test_towardzero): Likewise.
43538         (drem_test_towardzero): Likewise.
43539         (remainder_downward_test_data): Likewise.
43540         (remainder_test_downward): Likewise.
43541         (drem_test_downward): Likewise.
43542         (remainder_upward_test_data): Likewise.
43543         (remainder_test_upward): Likewise.
43544         (drem_test_upward): Likewise.
43545         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
43546         (round_test): Use ALL_RM_TEST.
43547         (signbit_test): Likewise.
43548         (trunc_test): Likewise.
43549         (significand_test): Likewise.
43550         (main): Don't call removed functions.
43552 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
43554         [BZ #16674]
43555         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43556         || __USE_XOPEN2K8].
43557         (ILL_ILLOPN): Likewise.
43558         (ILL_ILLADR): Likewise.
43559         (ILL_ILLTRP): Likewise.
43560         (ILL_PRVOPC): Likewise.
43561         (ILL_PRVREG): Likewise.
43562         (ILL_COPROC): Likewise.
43563         (ILL_BADSTK): Likewise.
43564         (FPE_INTDIV): Likewise.
43565         (FPE_INTOVF): Likewise.
43566         (FPE_FLTDIV): Likewise.
43567         (FPE_FLTOVF): Likewise.
43568         (FPE_FLTUND): Likewise.
43569         (FPE_FLTRES): Likewise.
43570         (FPE_FLTINV): Likewise.
43571         (FPE_FLTSUB): Likewise.
43572         (SEGV_MAPERR): Likewise.
43573         (SEGV_ACCERR): Likewise.
43574         (BUS_ADRALN): Likewise.
43575         (BUS_ADRERR): Likewise.
43576         (BUS_OBJERR): Likewise.
43577         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43578         (TRAP_TRACE): Likewise.
43579         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43580         __USE_XOPEN2K8].
43581         (CLD_KILLED): Likewise.
43582         (CLD_DUMPED): Likewise.
43583         (CLD_TRAPPED): Likewise.
43584         (CLD_STOPPED): Likewise.
43585         (CLD_CONTINUED): Likewise.
43586         (POLL_IN): Likewise.
43587         (POLL_OUT): Likewise.
43588         (POLL_MSG): Likewise.
43589         (POLL_ERR): Likewise.
43590         (POLL_PRI): Likewise.
43591         (POLL_HUP): Likewise.
43592         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43593         Likewise.
43594         (ILL_ILLOPN): Likewise.
43595         (ILL_ILLADR): Likewise.
43596         (ILL_ILLTRP): Likewise.
43597         (ILL_PRVOPC): Likewise.
43598         (ILL_PRVREG): Likewise.
43599         (ILL_COPROC): Likewise.
43600         (ILL_BADSTK): Likewise.
43601         (FPE_INTDIV): Likewise.
43602         (FPE_INTOVF): Likewise.
43603         (FPE_FLTDIV): Likewise.
43604         (FPE_FLTOVF): Likewise.
43605         (FPE_FLTUND): Likewise.
43606         (FPE_FLTRES): Likewise.
43607         (FPE_FLTINV): Likewise.
43608         (FPE_FLTSUB): Likewise.
43609         (SEGV_MAPERR): Likewise.
43610         (SEGV_ACCERR): Likewise.
43611         (BUS_ADRALN): Likewise.
43612         (BUS_ADRERR): Likewise.
43613         (BUS_OBJERR): Likewise.
43614         (BUS_MCEERR_AR): Likewise.
43615         (BUS_MCEERR_AO): Likewise.
43616         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43617         (TRAP_TRACE): Likewise.
43618         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43619         __USE_XOPEN2K8].
43620         (CLD_KILLED): Likewise.
43621         (CLD_DUMPED): Likewise.
43622         (CLD_TRAPPED): Likewise.
43623         (CLD_STOPPED): Likewise.
43624         (CLD_CONTINUED): Likewise.
43625         (POLL_IN): Likewise.
43626         (POLL_OUT): Likewise.
43627         (POLL_MSG): Likewise.
43628         (POLL_ERR): Likewise.
43629         (POLL_PRI): Likewise.
43630         (POLL_HUP): Likewise.
43631         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43632         (ILL_ILLOPN): Likewise.
43633         (ILL_ILLADR): Likewise.
43634         (ILL_ILLTRP): Likewise.
43635         (ILL_PRVOPC): Likewise.
43636         (ILL_PRVREG): Likewise.
43637         (ILL_COPROC): Likewise.
43638         (ILL_BADSTK): Likewise.
43639         (FPE_INTDIV): Likewise.
43640         (FPE_INTOVF): Likewise.
43641         (FPE_FLTDIV): Likewise.
43642         (FPE_FLTOVF): Likewise.
43643         (FPE_FLTUND): Likewise.
43644         (FPE_FLTRES): Likewise.
43645         (FPE_FLTINV): Likewise.
43646         (FPE_FLTSUB): Likewise.
43647         (SEGV_MAPERR): Likewise.
43648         (SEGV_ACCERR): Likewise.
43649         (BUS_ADRALN): Likewise.
43650         (BUS_ADRERR): Likewise.
43651         (BUS_OBJERR): Likewise.
43652         (BUS_MCEERR_AR): Likewise.
43653         (BUS_MCEERR_AO): Likewise.
43654         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43655         (TRAP_TRACE): Likewise.
43656         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43657         __USE_XOPEN2K8].
43658         (CLD_KILLED): Likewise.
43659         (CLD_DUMPED): Likewise.
43660         (CLD_TRAPPED): Likewise.
43661         (CLD_STOPPED): Likewise.
43662         (CLD_CONTINUED): Likewise.
43663         (POLL_IN): Likewise.
43664         (POLL_OUT): Likewise.
43665         (POLL_MSG): Likewise.
43666         (POLL_ERR): Likewise.
43667         (POLL_PRI): Likewise.
43668         (POLL_HUP): Likewise.
43669         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43670         Likewise.
43671         (ILL_ILLOPN): Likewise.
43672         (ILL_ILLADR): Likewise.
43673         (ILL_ILLTRP): Likewise.
43674         (ILL_PRVOPC): Likewise.
43675         (ILL_PRVREG): Likewise.
43676         (ILL_COPROC): Likewise.
43677         (ILL_BADSTK): Likewise.
43678         (ILL_BADIADDR): Likewise.
43679         (ILL_BREAK): Likewise.
43680         (FPE_INTDIV): Likewise.
43681         (FPE_INTOVF): Likewise.
43682         (FPE_FLTDIV): Likewise.
43683         (FPE_FLTOVF): Likewise.
43684         (FPE_FLTUND): Likewise.
43685         (FPE_FLTRES): Likewise.
43686         (FPE_FLTINV): Likewise.
43687         (FPE_FLTSUB): Likewise.
43688         (FPE_DECOVF): Likewise.
43689         (FPE_DECDIV): Likewise.
43690         (FPE_DECERR): Likewise.
43691         (FPE_INVASC): Likewise.
43692         (FPE_INVDEC): Likewise.
43693         (SEGV_MAPERR): Likewise.
43694         (SEGV_ACCERR): Likewise.
43695         (SEGV_PSTKOVF): Likewise.
43696         (BUS_ADRALN): Likewise.
43697         (BUS_ADRERR): Likewise.
43698         (BUS_OBJERR): Likewise.
43699         (BUS_MCEERR_AR): Likewise.
43700         (BUS_MCEERR_AO): Likewise.
43701         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43702         (TRAP_TRACE): Likewise.
43703         (TRAP_BRANCH): Likewise.
43704         (TRAP_HWBKPT): Likewise.
43705         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43706         __USE_XOPEN2K8].
43707         (CLD_KILLED): Likewise.
43708         (CLD_DUMPED): Likewise.
43709         (CLD_TRAPPED): Likewise.
43710         (CLD_STOPPED): Likewise.
43711         (CLD_CONTINUED): Likewise.
43712         (POLL_IN): Likewise.
43713         (POLL_OUT): Likewise.
43714         (POLL_MSG): Likewise.
43715         (POLL_ERR): Likewise.
43716         (POLL_PRI): Likewise.
43717         (POLL_HUP): Likewise.
43718         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43719         (ILL_ILLOPN): Likewise.
43720         (ILL_ILLADR): Likewise.
43721         (ILL_ILLTRP): Likewise.
43722         (ILL_PRVOPC): Likewise.
43723         (ILL_PRVREG): Likewise.
43724         (ILL_COPROC): Likewise.
43725         (ILL_BADSTK): Likewise.
43726         (FPE_INTDIV): Likewise.
43727         (FPE_INTOVF): Likewise.
43728         (FPE_FLTDIV): Likewise.
43729         (FPE_FLTOVF): Likewise.
43730         (FPE_FLTUND): Likewise.
43731         (FPE_FLTRES): Likewise.
43732         (FPE_FLTINV): Likewise.
43733         (FPE_FLTSUB): Likewise.
43734         (SEGV_MAPERR): Likewise.
43735         (SEGV_ACCERR): Likewise.
43736         (BUS_ADRALN): Likewise.
43737         (BUS_ADRERR): Likewise.
43738         (BUS_OBJERR): Likewise.
43739         (BUS_MCEERR_AR): Likewise.
43740         (BUS_MCEERR_AO): Likewise.
43741         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43742         (TRAP_TRACE): Likewise.
43743         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43744         __USE_XOPEN2K8].
43745         (CLD_KILLED): Likewise.
43746         (CLD_DUMPED): Likewise.
43747         (CLD_TRAPPED): Likewise.
43748         (CLD_STOPPED): Likewise.
43749         (CLD_CONTINUED): Likewise.
43750         (POLL_IN): Likewise.
43751         (POLL_OUT): Likewise.
43752         (POLL_MSG): Likewise.
43753         (POLL_ERR): Likewise.
43754         (POLL_PRI): Likewise.
43755         (POLL_HUP): Likewise.
43756         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43757         (ILL_ILLOPN): Likewise.
43758         (ILL_ILLADR): Likewise.
43759         (ILL_ILLTRP): Likewise.
43760         (ILL_PRVOPC): Likewise.
43761         (ILL_PRVREG): Likewise.
43762         (ILL_COPROC): Likewise.
43763         (ILL_BADSTK): Likewise.
43764         (FPE_INTDIV): Likewise.
43765         (FPE_INTOVF): Likewise.
43766         (FPE_FLTDIV): Likewise.
43767         (FPE_FLTOVF): Likewise.
43768         (FPE_FLTUND): Likewise.
43769         (FPE_FLTRES): Likewise.
43770         (FPE_FLTINV): Likewise.
43771         (FPE_FLTSUB): Likewise.
43772         (SEGV_MAPERR): Likewise.
43773         (SEGV_ACCERR): Likewise.
43774         (BUS_ADRALN): Likewise.
43775         (BUS_ADRERR): Likewise.
43776         (BUS_OBJERR): Likewise.
43777         (BUS_MCEERR_AR): Likewise.
43778         (BUS_MCEERR_AO): Likewise.
43779         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43780         (TRAP_TRACE): Likewise.
43781         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43782         __USE_XOPEN2K8].
43783         (CLD_KILLED): Likewise.
43784         (CLD_DUMPED): Likewise.
43785         (CLD_TRAPPED): Likewise.
43786         (CLD_STOPPED): Likewise.
43787         (CLD_CONTINUED): Likewise.
43788         (POLL_IN): Likewise.
43789         (POLL_OUT): Likewise.
43790         (POLL_MSG): Likewise.
43791         (POLL_ERR): Likewise.
43792         (POLL_PRI): Likewise.
43793         (POLL_HUP): Likewise.
43794         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43795         (ILL_ILLOPN): Likewise.
43796         (ILL_ILLADR): Likewise.
43797         (ILL_ILLTRP): Likewise.
43798         (ILL_PRVOPC): Likewise.
43799         (ILL_PRVREG): Likewise.
43800         (ILL_COPROC): Likewise.
43801         (ILL_BADSTK): Likewise.
43802         (FPE_INTDIV): Likewise.
43803         (FPE_INTOVF): Likewise.
43804         (FPE_FLTDIV): Likewise.
43805         (FPE_FLTOVF): Likewise.
43806         (FPE_FLTUND): Likewise.
43807         (FPE_FLTRES): Likewise.
43808         (FPE_FLTINV): Likewise.
43809         (FPE_FLTSUB): Likewise.
43810         (SEGV_MAPERR): Likewise.
43811         (SEGV_ACCERR): Likewise.
43812         (BUS_ADRALN): Likewise.
43813         (BUS_ADRERR): Likewise.
43814         (BUS_OBJERR): Likewise.
43815         (BUS_MCEERR_AR): Likewise.
43816         (BUS_MCEERR_AO): Likewise.
43817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43818         (TRAP_TRACE): Likewise.
43819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43820         __USE_XOPEN2K8].
43821         (CLD_KILLED): Likewise.
43822         (CLD_DUMPED): Likewise.
43823         (CLD_TRAPPED): Likewise.
43824         (CLD_STOPPED): Likewise.
43825         (CLD_CONTINUED): Likewise.
43826         (POLL_IN): Likewise.
43827         (POLL_OUT): Likewise.
43828         (POLL_MSG): Likewise.
43829         (POLL_ERR): Likewise.
43830         (POLL_PRI): Likewise.
43831         (POLL_HUP): Likewise.
43832         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43833         (ILL_ILLOPN): Likewise.
43834         (ILL_ILLADR): Likewise.
43835         (ILL_ILLTRP): Likewise.
43836         (ILL_PRVOPC): Likewise.
43837         (ILL_PRVREG): Likewise.
43838         (ILL_COPROC): Likewise.
43839         (ILL_BADSTK): Likewise.
43840         (ILL_DBLFLT): Likewise.
43841         (ILL_HARDWALL): Likewise.
43842         (FPE_INTDIV): Likewise.
43843         (FPE_INTOVF): Likewise.
43844         (FPE_FLTDIV): Likewise.
43845         (FPE_FLTOVF): Likewise.
43846         (FPE_FLTUND): Likewise.
43847         (FPE_FLTRES): Likewise.
43848         (FPE_FLTINV): Likewise.
43849         (FPE_FLTSUB): Likewise.
43850         (SEGV_MAPERR): Likewise.
43851         (SEGV_ACCERR): Likewise.
43852         (BUS_ADRALN): Likewise.
43853         (BUS_ADRERR): Likewise.
43854         (BUS_OBJERR): Likewise.
43855         (BUS_MCEERR_AR): Likewise.
43856         (BUS_MCEERR_AO): Likewise.
43857         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43858         (TRAP_TRACE): Likewise.
43859         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43860         __USE_XOPEN2K8].
43861         (CLD_KILLED): Likewise.
43862         (CLD_DUMPED): Likewise.
43863         (CLD_TRAPPED): Likewise.
43864         (CLD_STOPPED): Likewise.
43865         (CLD_CONTINUED): Likewise.
43866         (POLL_IN): Likewise.
43867         (POLL_OUT): Likewise.
43868         (POLL_MSG): Likewise.
43869         (POLL_ERR): Likewise.
43870         (POLL_PRI): Likewise.
43871         (POLL_HUP): Likewise.
43872         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
43873         (ILL_ILLOPN): Likewise.
43874         (ILL_ILLADR): Likewise.
43875         (ILL_ILLTRP): Likewise.
43876         (ILL_PRVOPC): Likewise.
43877         (ILL_PRVREG): Likewise.
43878         (ILL_COPROC): Likewise.
43879         (ILL_BADSTK): Likewise.
43880         (FPE_INTDIV): Likewise.
43881         (FPE_INTOVF): Likewise.
43882         (FPE_FLTDIV): Likewise.
43883         (FPE_FLTOVF): Likewise.
43884         (FPE_FLTUND): Likewise.
43885         (FPE_FLTRES): Likewise.
43886         (FPE_FLTINV): Likewise.
43887         (FPE_FLTSUB): Likewise.
43888         (SEGV_MAPERR): Likewise.
43889         (SEGV_ACCERR): Likewise.
43890         (BUS_ADRALN): Likewise.
43891         (BUS_ADRERR): Likewise.
43892         (BUS_OBJERR): Likewise.
43893         (BUS_MCEERR_AR): Likewise.
43894         (BUS_MCEERR_AO): Likewise.
43895         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43896         (TRAP_TRACE): Likewise.
43897         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43898         __USE_XOPEN2K8].
43899         (CLD_KILLED): Likewise.
43900         (CLD_DUMPED): Likewise.
43901         (CLD_TRAPPED): Likewise.
43902         (CLD_STOPPED): Likewise.
43903         (CLD_CONTINUED): Likewise.
43904         (POLL_IN): Likewise.
43905         (POLL_OUT): Likewise.
43906         (POLL_MSG): Likewise.
43907         (POLL_ERR): Likewise.
43908         (POLL_PRI): Likewise.
43909         (POLL_HUP): Likewise.
43910         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
43911         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43913         [BZ #16670]
43914         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
43915         before #include of <time.h>.
43916         [!__USE_XOPEN2K] (__need_timespec): Likewise.
43917         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
43918         (test-xfail-UNIX98/sched.h/conform): Likewise.
43920 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43922         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
43923         error absence of trapping exception support.
43924         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43926 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
43928         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
43929         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
43930         * timezone/Makefile (testdata): Move definition above include of
43931         Rules.
43932         (test-zones): New variable.
43933         (tests-special): Add zone files.
43934         (build-testdata): Use $(evaluate-test).
43936         * elf/Makefile (tests-special): Rename tests to end with .out.
43937         ($(objpfx)noload-mem): Likewise.
43938         ($(objpfx)tst-leaks1-mem): Likewise.
43939         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
43940         * iconv/Makefile (xtests-special): Change test-iconvconfig to
43941         $(objpfx)test-iconvconfig.out.
43942         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
43943         set -e inside subshell and redirect output to file.
43944         * iconvdata/Makefile (generated): Rename tests to end with .out.
43945         Correct type.
43946         (tests-special): Rename tests to end with .out.
43947         ($(objpfx)mtrace-tst-loading): Likewise.
43948         * intl/Makefile (generated): Likewise.
43949         (tests-special): Likewise.
43950         ($(objpfx)mtrace-tst-gettext): Likewise.
43951         * misc/Makefile (generated): Likewise.
43952         (tests-special): Likewise.
43953         ($(objpfx)tst-error1-mem): Likewise.
43954         * nptl/Makefile (tests-special): Likewise.
43955         ($(objpfx)tst-stack3-mem): Likewise.
43956         (generated): Likewise.
43957         * posix/Makefile (generated): Likewise.
43958         (tests-special): Likewise.
43959         (xtests-special): Likewise.
43960         ($(objpfx)tst-fnmatch-mem): Likewise.
43961         ($(objpfx)bug-regex2-mem): Likewise.
43962         ($(objpfx)bug-regex14-mem): Likewise.
43963         ($(objpfx)bug-regex21-mem): Likewise.
43964         ($(objpfx)bug-regex31-mem): Likewise.
43965         ($(objpfx)tst-vfork3-mem): Likewise.
43966         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43967         ($(objpfx)tst-pcre-mem): Likewise.
43968         ($(objpfx)tst-boost-mem): Likewise.
43969         ($(objpfx)bug-ga2-mem): Likewise.
43970         ($(objpfx)bug-glob2-mem): Likewise.
43971         * resolv/Makefile (generate): Likewise.
43972         (tests-special): Likewise.
43973         (xtests-special): Likewise.
43974         (generated): Likewise.
43975         ($(objpfx)mtrace-tst-leaks): Likewise.
43976         ($(objpfx)mtrace-tst-leaks2): Likewise.
43978         * scripts/merge-test-results.sh: New file.
43979         * Makefile (tests-special-notdir): New variable.
43980         (tests): Run merge-test-results.sh.
43981         (xtests): Likewise.
43982         * Rules (tests-special-notdir): New variable.
43983         (xtests-special-notdir): Likewise.
43984         (tests): Run merge-test-results.sh
43985         (xtests): Likewise.
43987         * Makeconfig (test-xfail-name): New variable.
43988         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
43989         compute variable name for expected failures.
43990         * conform/Makefile (conformtest-headers-data): New variable.
43991         (conformtest-standards): Likewise.
43992         (conformtest-headers-ISO): Likewise.
43993         (conformtest-headers-ISO99): Likewise.
43994         (conformtest-headers-ISO11): Likewise.
43995         (conformtest-headers-POSIX): Likewise.
43996         (conformtest-headers-XPG3): Likewise.
43997         (conformtest-headers-XPG4): Likewise.
43998         (conformtest-headers-UNIX98): Likewise.
43999         (conformtest-headers-XOPEN2K): Likewise.
44000         (conformtest-headers-POSIX2008): Likewise.
44001         (conformtest-headers-XOPEN2K8): Likewise.
44002         (conformtest-header-list-base): Likewise.
44003         (conformtest-header-list-tests): Likewise.
44004         (conformtest-header-base): Likewise.
44005         (conformtest-header-tests): Likewise.
44006         (tests-special): Add $(conformtest-header-list-tests).  If
44007         [$(fast-check) && !$(cross-compiling)], add
44008         $(conformtest-header-tests) instead of
44009         $(objpfx)run-conformtest.out.
44010         (generated): Add $(conformtest-header-list-base).  If
44011         [$(fast-check) && !$(cross-compiling)], add
44012         $(conformtest-header-base).  Remove previous setting.
44013         ($(conformtest-header-list-tests)): New target.
44014         (test-xfail-run-conformtest): Remove variable.
44015         ($(objpfx)run-conformtest.out): Remove target.
44016         (test-xfail-ISO11/complex.h/conform): New variable.
44017         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44018         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44019         (test-xfail-XPG3/varargs.h/conform): Likewise.
44020         (test-xfail-XPG4/varargs.h/conform): Likewise.
44021         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44022         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44023         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44024         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44025         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44026         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44027         (test-xfail-XPG3/ftw.h/conform): Likewise.
44028         (test-xfail-XPG3/grp.h/conform): Likewise.
44029         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44030         (test-xfail-XPG3/limits.h/conform): Likewise.
44031         (test-xfail-XPG3/pwd.h/conform): Likewise.
44032         (test-xfail-XPG3/search.h/conform): Likewise.
44033         (test-xfail-XPG3/signal.h/conform): Likewise.
44034         (test-xfail-XPG3/stdio.h/conform): Likewise.
44035         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44036         (test-xfail-XPG3/string.h/conform): Likewise.
44037         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44038         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44039         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44040         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44041         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44042         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44043         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44044         (test-xfail-XPG3/termios.h/conform): Likewise.
44045         (test-xfail-XPG3/time.h/conform): Likewise.
44046         (test-xfail-XPG3/unistd.h/conform): Likewise.
44047         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44048         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44049         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44050         (test-xfail-XPG4/netdb.h/conform): Likewise.
44051         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44052         (test-xfail-XPG4/signal.h/conform): Likewise.
44053         (test-xfail-XPG4/stdio.h/conform): Likewise.
44054         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44055         (test-xfail-XPG4/stropts.h/conform): Likewise.
44056         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44057         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44058         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44059         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44060         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44061         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44062         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44063         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44064         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44065         (test-xfail-XPG4/termios.h/conform): Likewise.
44066         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44067         (test-xfail-XPG4/unistd.h/conform): Likewise.
44068         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44069         (test-xfail-POSIX/sched.h/conform): Likewise.
44070         (test-xfail-POSIX/signal.h/conform): Likewise.
44071         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44072         (test-xfail-POSIX/tar.h/conform): Likewise.
44073         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44074         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44075         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44076         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44077         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44078         (test-xfail-UNIX98/sched.h/conform): Likewise.
44079         (test-xfail-UNIX98/signal.h/conform): Likewise.
44080         (test-xfail-UNIX98/stdio.h/conform): Likewise.
44081         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44082         (test-xfail-UNIX98/stropts.h/conform): Likewise.
44083         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44084         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44085         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44086         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44087         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44088         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44089         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44090         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44091         (test-xfail-UNIX98/unistd.h/conform): Likewise.
44092         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44093         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44094         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44095         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44096         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44097         (test-xfail-XOPEN2K/math.h/conform): Likewise.
44098         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44099         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44100         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44101         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44102         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44103         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44104         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44105         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44106         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44107         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44108         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44109         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44110         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44111         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44112         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44113         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44114         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44115         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44116         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44117         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44118         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44119         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44120         (test-xfail-POSIX2008/signal.h/conform): Likewise.
44121         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44122         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44123         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44124         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44125         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44126         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44127         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44128         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44129         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44130         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44131         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44132         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44133         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44134         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44135         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44136         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44137         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44138         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44139         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44140         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44141         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44142         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44143         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44144         (conformtest-cc-flags): Likewise.
44145         ($(conformtest-header-tests): New target.
44146         * conform/check-header-lists.sh: New file.
44147         * conform/run-conformtest.sh: Remove.
44149         * conform/conformtest.pl: Allow ' and \ in values given for
44150         constants.
44151         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44152         inclusion.
44153         [POSIX] (sys/types.h): Likewise.
44154         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44155         inclusion.
44156         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44157         inclusion.
44158         * conform/data/signal.h-data (SIGIO): Remove expectation.
44159         [XPG3] (SIGBUS): Do not expect.
44160         [POSIX || XPG3] (SIGPOLL): Likewise.
44161         [POSIX || XPG3] (SIGPROF): Likewise.
44162         [POSIX || XPG3] (SIGSYS): Likewise.
44163         [XPG3] (SIGTRAP): Likewise.
44164         [POSIX || XPG3] (SIGURG): Likewise.
44165         [POSIX || XPG3] (SIGVTALRM): Likewise.
44166         [POSIX || XPG3] (SIGXCPU): Likewise.
44167         [POSIX || XPG3] (SIGXFSZ): Likewise.
44168         [POSIX] (SA_SIGINFO): Expect.
44169         [XPG3] (siginfo_t): Do not expect type or contents.
44170         [POSIX] (si_pid): Do not expect element.
44171         [POSIX] (si_uid): Likewise.
44172         [POSIX] (si_addr): Likewise.
44173         [POSIX] (si_status): Likewise.
44174         [POSIX] (si_band): Likewise.
44175         [XPG4] (si_value): Likewise.
44176         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44177         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44178         [POSIX || XPG3] (ILL_ILLADR): Likewise.
44179         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44180         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44181         [POSIX || XPG3] (ILL_PRVREG): Likewise.
44182         [POSIX || XPG3] (ILL_COPROC): Likewise.
44183         [POSIX || XPG3] (ILL_BADSTK): Likewise.
44184         [POSIX || XPG3] (FPE_INTDIV): Likewise.
44185         [POSIX || XPG3] (FPE_INTOVF): Likewise.
44186         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44187         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44188         [POSIX || XPG3] (FPE_FLTUND): Likewise.
44189         [POSIX || XPG3] (FPE_FLTRES): Likewise.
44190         [POSIX || XPG3] (FPE_FLTINV): Likewise.
44191         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44192         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44193         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44194         [POSIX || XPG3] (BUS_ADRALN): Likewise.
44195         [POSIX || XPG3] (BUS_ADRERR): Likewise.
44196         [POSIX || XPG3] (BUS_OBJERR): Likewise.
44197         [POSIX || XPG3] (CLD_EXITED): Likewise.
44198         [POSIX || XPG3] (CLD_KILLED): Likewise.
44199         [POSIX || XPG3] (CLD_DUMPED): Likewise.
44200         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44201         [POSIX || XPG3] (CLD_STOPPED): Likewise.
44202         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44203         [POSIX || XPG3] (POLL_IN): Likewise.
44204         [POSIX || XPG3] (POLL_OUT): Likewise.
44205         [POSIX || XPG3] (POLL_MSG): Likewise.
44206         [POSIX || XPG3] (POLL_ERR): Likewise.
44207         [POSIX || XPG3] (POLL_PRI): Likewise.
44208         [POSIX || XPG3] (POLL_HUP): Likewise.
44209         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44210         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44211         (SIG*): Do not allow.
44212         [XPG3] (si_*): Likewise.
44213         [XPG3] (SI_*): Likewise.
44214         [XPG3 || XPG4] (sigev_*): Likewise.
44215         [XPG3 || XPG4] (SIGEV_*): Likewise.
44216         [XPG3 || XPG4] (sival_*): Likewise.
44217         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44218         [POSIX || XPG3] (BUS_*): Likewise.
44219         [POSIX || XPG3] (CLD_*): Likewise.
44220         [POSIX || XPG3] (FPE_*): Likewise.
44221         [POSIX || XPG3] (ILL_*): Likewise.
44222         [POSIX || XPG3] (POLL_*): Likewise.
44223         [POSIX || XPG3] (SEGV_*): Likewise.
44224         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44225         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44226         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44227         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44228         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44229         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44230         Specify type and value.
44231         (TVERSLEN): Likewise.
44232         (REGTYPE): Likewise.
44233         (AREGTYPE): Likewise.
44234         (LNKTYPE): Likewise.
44235         (SYMTYPE): Likewise.
44236         (CHRTYPE): Likewise.
44237         (BLKTYPE): Likewise.
44238         (DIRTYPE): Likewise.
44239         (FIFOTYPE): Likewise.
44240         (CONTTYPE): Likewise.
44241         (TSUID): Likewise.
44242         (TSGID): Likewise.
44243         (TSVTX): Likewise.
44244         (TUREAD): Likewise.
44245         (TUWRITE): Likewise.
44246         (TUEXEC): Likewise.
44247         (TGREAD): Likewise.
44248         (TGWRITE): Likewise.
44249         (TGEXEC): Likewise.
44250         (TOREAD): Likewise.
44251         (TOWRITE): Likewise.
44252         (TOEXEC): Likewise.
44253         [POSIX] (TSVTX): Expect constant.
44255 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
44257         * Makefile (tests): Change dependencies to ....
44258         (tests-special): ... additions to this variable.
44259         (tests): Depend on $(tests-special).
44260         * Makerules (check-abi-list): New variable.
44261         (check-abi): Depend on $(check-abi-list).
44262         [$(subdir) = elf] (tests-special): Add
44263         $(objpfx)check-abi-libc.out.
44264         [$(build-shared) = yes && subdir] (tests-special): Add
44265         $(check-abi-list).
44266         [$(build-shared) = yes && subdir] (tests): Do not depend on
44267         check-abi.
44268         * Rules (tests): Depend on $(tests-special).
44269         (xtests): Depend on $(xtests-special).
44270         * catgets/Makefile (tests): Change dependencies to ....
44271         (tests-special): ... additions to this variable.
44272         * conform/Makefile (tests): Change dependencies to ....
44273         (tests-special): ... additions to this variable.
44274         * elf/Makefile (tests): Change dependencies to ....
44275         (tests-special): ... additions to this variable.
44276         * grp/Makefile (tests): Change dependencies to ....
44277         (tests-special): ... additions to this variable.
44278         * iconv/Makefile (xtests): Change dependencies to ....
44279         (xtests-special): ... additions to this variable.
44280         * iconvdata/Makefile (tests): Change dependencies to ....
44281         (tests-special): ... additions to this variable.
44282         * intl/Makefile (tests): Change dependencies to ....
44283         (tests-special): ... additions to this variable.  Also add
44284         $(objpfx)tst-gettext.out.
44285         * io/Makefile (tests): Change dependencies to ....
44286         (tests-special): ... additions to this variable.
44287         * libio/Makefile (tests): Change dependencies to ....
44288         (tests-special): ... additions to this variable.
44289         * malloc/Makefile (tests): Change dependencies to ....
44290         (tests-special): ... additions to this variable.
44291         * misc/Makefile (tests): Change dependencies to ....
44292         (tests-special): ... additions to this variable.
44293         * nptl/Makefile (tests): Change dependencies to ....
44294         (tests-special): ... additions to this variable.
44295         * nptl_db/Makefile (tests): Change dependencies to ....
44296         (tests-special): ... additions to this variable.
44297         * posix/Makefile (tests): Change dependencies to ....
44298         (tests-special): ... additions to this variable.
44299         (xtests): Change dependencies to ....
44300         (xtests-special): ... additions to this variable.
44301         * resolv/Makefile (tests): Change dependencies to ....
44302         (tests-special): ... additions to this variable.
44303         (xtests): Change dependencies to ....
44304         (xtests-special): ... additions to this variable.
44305         * stdio-common/Makefile (tests): Change dependencies to ....
44306         (tests-special): ... additions to this variable.
44307         (do-tst-unbputc): Remove target.
44308         (do-tst-printf): Likewise.
44309         * stdlib/Makefile (tests): Change dependencies to ....
44310         (tests-special): ... additions to this variable.
44311         * string/Makefile (tests): Change dependencies to ....
44312         (tests-special): ... additions to this variable.
44313         * sysdeps/x86/Makefile (tests): Change dependencies to ....
44314         (tests-special): ... additions to this variable.
44316         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44317         whole file.
44318         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44319         whole file.
44320         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44321         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44323         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44324         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44325         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44326         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44327         * conform/data/libgen.h-data [XPG3]: Likewise.
44328         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44329         * conform/data/ndbm.h-data [XPG3]: Likewise.
44330         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44331         * conform/data/netdb.h-data [XPG3]: Likewise.
44332         * conform/data/netinet/in.h-data [XPG3]: Likewise.
44333         * conform/data/poll.h-data [XPG3]: Likewise.
44334         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44335         * conform/data/strings.h-data [XPG3]: Likewise.
44336         * conform/data/stropts.h-data [XPG3]: Likewise.
44337         * conform/data/sys/mman.h-data [XPG3]: Likewise.
44338         * conform/data/sys/resource.h-data [XPG3]: Likewise.
44339         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44340         Likewise.
44341         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44342         * conform/data/sys/time.h-data [XPG3]: Likewise.
44343         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44344         * conform/data/sys/uio.h-data [XPG3]: Likewise.
44345         * conform/data/sys/un.h-data [XPG3]: Likewise.
44346         * conform/data/syslog.h-data [XPG3]: Likewise.
44347         * conform/data/ucontext.h-data [XPG3]: Likewise.
44348         * conform/data/utmpx.h-data [XPG3]: Likewise.
44349         * conform/data/varargs.h-data [UNIX98]: Enable file.
44351         * manual/Makefile (INSTALL_INFO): Remove variable setting.
44353         * math/libm-test.inc (struct test_f_f_data): Move expected results
44354         into structure for each rounding mode.
44355         (struct test_ff_f_data): Likewise.
44356         (struct test_ff_f_data_nexttoward): Likewise.
44357         (struct test_fi_f_data): Likewise.
44358         (struct test_fl_f_data): Likewise.
44359         (struct test_if_f_data): Likewise.
44360         (struct test_fff_f_data): Likewise.
44361         (struct test_c_f_data): Likewise.
44362         (struct test_f_f1_data): Likewise.
44363         (struct test_fF_f1_data): Likewise.
44364         (struct test_ffI_f1_data): Likewise.
44365         (struct test_c_c_data): Likewise.
44366         (struct test_cc_c_data): Likewise.
44367         (struct test_f_i_data): Likewise.
44368         (struct test_ff_i_data): Likewise.
44369         (struct test_f_l_data): Likewise.
44370         (struct test_f_L_data): Likewise.
44371         (struct test_fFF_11_data): Likewise.
44372         (RM_): New macro.
44373         (RM_FE_DOWNWARD): Likewise.
44374         (RM_FE_TONEAREST): Likewise.
44375         (RM_FE_TOWARDZERO): Likewise.
44376         (RM_FE_UPWARD): Likewise.
44377         (RUN_TEST_LOOP_f_f): Update references to expected results.
44378         (RUN_TEST_LOOP_2_f): Likewise.
44379         (RUN_TEST_LOOP_fff_f): Likewise.
44380         (RUN_TEST_LOOP_c_f): Likewise.
44381         (RUN_TEST_LOOP_f_f1): Likewise.
44382         (RUN_TEST_LOOP_fF_f1): Likewise.
44383         (RUN_TEST_LOOP_fI_f1): Likewise.
44384         (RUN_TEST_LOOP_ffI_f1): Likewise.
44385         (RUN_TEST_LOOP_c_c): Likewise.
44386         (RUN_TEST_LOOP_cc_c): Likewise.
44387         (RUN_TEST_LOOP_f_i): Likewise.
44388         (RUN_TEST_LOOP_f_i_tg): Likewise.
44389         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44390         (RUN_TEST_LOOP_f_b): Likewise.
44391         (RUN_TEST_LOOP_f_b_tg): Likewise.
44392         (RUN_TEST_LOOP_f_l): Likewise.
44393         (RUN_TEST_LOOP_f_L): Likewise.
44394         (RUN_TEST_LOOP_fFF_11): Likewise.
44395         * math/gen-libm-test.pl (parse_args): Output four copies of
44396         expected results for each test.
44398         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44399         (__ASSUME_UTIMES): Remove.
44400         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44401         (__ASSUME_UTIMES): Likewise.
44403         * math/gen-auto-libm-tests.c: Update comment on output format.
44404         (output_for_one_input_case): Generate before-rounding and
44405         after-rounding information as conditions on output flags not
44406         floating-point format.
44407         * math/auto-libm-test-out: Regenerated.
44408         * math/gen-libm-test.pl (cond_value): New function.
44409         (or_cond_value): Use cond_value.
44410         (generate_testfile): Handle conditional exceptions.
44412 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
44414         * math/libm-test.inc (max_valid_error): New variable.
44415         (init_max_error): Take new argument specifying whether function
44416         results are exactly determined.  Set max_valid_error and bound
44417         other variables for errors based on this argument.
44418         (set_max_error): Do not record results above max_valid_error.
44419         (check_float_internal): Only accept errors of up to 0.5ulps if
44420         also at most max_valid_error.
44421         (START): Take new argument EXACT and pass it to init_max_error.
44422         (acos_test): Update call to START.
44423         (acos_test_tonearest): Likewise.
44424         (acos_test_towardzero): Likewise.
44425         (acos_test_downward): Likewise.
44426         (acos_test_upward): Likewise.
44427         (acosh_test): Likewise.
44428         (asin_test): Likewise.
44429         (asin_test_tonearest): Likewise.
44430         (asin_test_towardzero): Likewise.
44431         (asin_test_downward): Likewise.
44432         (asin_test_upward): Likewise.
44433         (asinh_test): Likewise.
44434         (atan_test): Likewise.
44435         (atanh_test): Likewise.
44436         (atan2_test): Likewise.
44437         (cabs_test): Likewise.
44438         (cacos_test): Likewise.
44439         (cacosh_test): Likewise.
44440         (carg_test): Likewise.
44441         (casin_test): Likewise.
44442         (casinh_test): Likewise.
44443         (catan_test): Likewise.
44444         (catanh_test): Likewise.
44445         (cbrt_test): Likewise.
44446         (ccos_test): Likewise.
44447         (ccosh_test): Likewise.
44448         (ceil_test): Likewise.
44449         (cexp_test): Likewise.
44450         (cimag_test): Likewise.
44451         (clog_test): Likewise.
44452         (clog10_test): Likewise.
44453         (conj_test): Likewise.
44454         (copysign_test): Likewise.
44455         (cos_test): Likewise.
44456         (cos_test_tonearest): Likewise.
44457         (cos_test_towardzero): Likewise.
44458         (cos_test_downward): Likewise.
44459         (cos_test_upward): Likewise.
44460         (cosh_test): Likewise.
44461         (cosh_test_tonearest): Likewise.
44462         (cosh_test_towardzero): Likewise.
44463         (cosh_test_downward): Likewise.
44464         (cosh_test_upward): Likewise.
44465         (cpow_test): Likewise.
44466         (cproj_test): Likewise.
44467         (creal_test): Likewise.
44468         (csin_test): Likewise.
44469         (csinh_test): Likewise.
44470         (csqrt_test): Likewise.
44471         (ctan_test): Likewise.
44472         (ctan_test_tonearest): Likewise.
44473         (ctan_test_towardzero): Likewise.
44474         (ctan_test_downward): Likewise.
44475         (ctan_test_upward): Likewise.
44476         (ctanh_test): Likewise.
44477         (ctanh_test_tonearest): Likewise.
44478         (ctanh_test_towardzero): Likewise.
44479         (ctanh_test_downward): Likewise.
44480         (ctanh_test_upward): Likewise.
44481         (erf_test): Likewise.
44482         (erfc_test): Likewise.
44483         (exp_test): Likewise.
44484         (exp_test_tonearest): Likewise.
44485         (exp_test_towardzero): Likewise.
44486         (exp_test_downward): Likewise.
44487         (exp_test_upward): Likewise.
44488         (exp10_test): Likewise.
44489         (exp10_test_tonearest): Likewise.
44490         (exp10_test_towardzero): Likewise.
44491         (exp10_test_downward): Likewise.
44492         (exp10_test_upward): Likewise.
44493         (pow10_test): Likewise.
44494         (exp2_test): Likewise.
44495         (expm1_test): Likewise.
44496         (expm1_test_tonearest): Likewise.
44497         (expm1_test_towardzero): Likewise.
44498         (expm1_test_downward): Likewise.
44499         (expm1_test_upward): Likewise.
44500         (fabs_test): Likewise.
44501         (fdim_test): Likewise.
44502         (floor_test): Likewise.
44503         (fma_test): Likewise.
44504         (fma_test_towardzero): Likewise.
44505         (fma_test_downward): Likewise.
44506         (fma_test_upward): Likewise.
44507         (fmax_test): Likewise.
44508         (fmin_test): Likewise.
44509         (fmod_test): Likewise.
44510         (fpclassify_test): Likewise.
44511         (frexp_test): Likewise.
44512         (hypot_test): Likewise.
44513         (ilogb_test): Likewise.
44514         (isfinite_test): Likewise.
44515         (finite_test): Likewise.
44516         (isgreater_test): Likewise.
44517         (isgreaterequal_test): Likewise.
44518         (isinf_test): Likewise.
44519         (isless_test): Likewise.
44520         (islessequal_test): Likewise.
44521         (islessgreater_test): Likewise.
44522         (isnan_test): Likewise.
44523         (isnormal_test): Likewise.
44524         (issignaling_test): Likewise.
44525         (isunordered_test): Likewise.
44526         (j0_test): Likewise.
44527         (j1_test): Likewise.
44528         (jn_test): Likewise.
44529         (ldexp_test): Likewise.
44530         (lgamma_test): Likewise.
44531         (gamma_test): Likewise.
44532         (lrint_test): Likewise.
44533         (lrint_test_tonearest): Likewise.
44534         (lrint_test_towardzero): Likewise.
44535         (lrint_test_downward): Likewise.
44536         (lrint_test_upward): Likewise.
44537         (llrint_test): Likewise.
44538         (llrint_test_tonearest): Likewise.
44539         (llrint_test_towardzero): Likewise.
44540         (llrint_test_downward): Likewise.
44541         (llrint_test_upward): Likewise.
44542         (log_test): Likewise.
44543         (log10_test): Likewise.
44544         (log1p_test): Likewise.
44545         (log2_test): Likewise.
44546         (logb_test): Likewise.
44547         (logb_test_downward): Likewise.
44548         (lround_test): Likewise.
44549         (llround_test): Likewise.
44550         (modf_test): Likewise.
44551         (nearbyint_test): Likewise.
44552         (nextafter_test): Likewise.
44553         (nexttoward_test): Likewise.
44554         (pow_test): Likewise.
44555         (pow_test_tonearest): Likewise.
44556         (pow_test_towardzero): Likewise.
44557         (pow_test_downward): Likewise.
44558         (pow_test_upward): Likewise.
44559         (remainder_test): Likewise.
44560         (drem_test): Likewise.
44561         (remainder_test_tonearest): Likewise.
44562         (drem_test_tonearest): Likewise.
44563         (remainder_test_towardzero): Likewise.
44564         (drem_test_towardzero): Likewise.
44565         (remainder_test_downward): Likewise.
44566         (drem_test_downward): Likewise.
44567         (remainder_test_upward): Likewise.
44568         (drem_test_upward): Likewise.
44569         (remquo_test): Likewise.
44570         (rint_test): Likewise.
44571         (rint_test_tonearest): Likewise.
44572         (rint_test_towardzero): Likewise.
44573         (rint_test_downward): Likewise.
44574         (rint_test_upward): Likewise.
44575         (round_test): Likewise.
44576         (scalb_test): Likewise.
44577         (scalbn_test): Likewise.
44578         (scalbln_test): Likewise.
44579         (signbit_test): Likewise.
44580         (sin_test): Likewise.
44581         (sin_test_tonearest): Likewise.
44582         (sin_test_towardzero): Likewise.
44583         (sin_test_downward): Likewise.
44584         (sin_test_upward): Likewise.
44585         (sincos_test): Likewise.
44586         (sinh_test): Likewise.
44587         (sinh_test_tonearest): Likewise.
44588         (sinh_test_towardzero): Likewise.
44589         (sinh_test_downward): Likewise.
44590         (sinh_test_upward): Likewise.
44591         (sqrt_test): Likewise.
44592         (sqrt_test_tonearest): Likewise.
44593         (sqrt_test_towardzero): Likewise.
44594         (sqrt_test_downward): Likewise.
44595         (sqrt_test_upward): Likewise.
44596         (tan_test): Likewise.
44597         (tan_test_tonearest): Likewise.
44598         (tan_test_towardzero): Likewise.
44599         (tan_test_downward): Likewise.
44600         (tan_test_upward): Likewise.
44601         (tanh_test): Likewise.
44602         (tgamma_test): Likewise.
44603         (trunc_test): Likewise.
44604         (y0_test): Likewise.
44605         (y1_test): Likewise.
44606         (yn_test): Likewise.
44607         (significand_test): Likewise.
44609         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44610         individual tests in comment.
44611         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44612         (prev_max_error): New variable.
44613         (prev_real_max_error): Likewise.
44614         (prev_imag_max_error): Likewise.
44615         (compare_ulp_data): Don't refer to test names in comment.
44616         (find_test_ulps): Remove function.
44617         (find_function_ulps): Likewise.
44618         (find_complex_function_ulps): Likewise.
44619         (init_max_error): Take function name as argument.  Look up ulps
44620         for that function.
44621         (print_ulps): Remove function.
44622         (print_max_error): Use prev_max_error instead of calling
44623         find_function_ulps.
44624         (print_complex_max_error): Use prev_real_max_error and
44625         prev_imag_max_error instead of calling find_complex_function_ulps.
44626         (check_float_internal): Take max_ulp parameter instead of calling
44627         find_test_ulps.  Don't call print_ulps.
44628         (check_float): Update call to check_float_internal.
44629         (check_complex): Update calls to check_float_internal.
44630         (START): Pass argument to init_max_error.
44631         * math/gen-libm-test.pl (%results): Don't include "kind"
44632         information.
44633         (parse_ulps): Don't handle ulps of individual tests.
44634         (print_ulps_file): Likewise.
44635         (output_ulps): Likewise.
44636         * math/README.libm-test: Update.
44637         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44638         individual tests.
44639         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44640         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44641         * sysdeps/arm/libm-test-ulps: Likewise.
44642         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44643         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44644         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44645         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44646         * sysdeps/microblaze/libm-test-ulps: Likewise.
44647         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44648         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44649         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44650         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44651         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44652         * sysdeps/sh/libm-test-ulps: Likewise.
44653         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44654         * sysdeps/tile/libm-test-ulps: Likewise.
44655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44657 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
44659         * math/libm-test.inc (print_complex_max_error): Check separately
44660         whether real and imaginary errors are within allowed range and
44661         pass 0 to print_complex_function_ulps instead of value within
44662         allowed range.
44664 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44666         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44667         formatting.
44668         (get_handles_fopen): Likewise.
44669         (do_write_test): Likewise.
44671         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44673         * libio/fileops.c (do_ftell): Use cached offset when
44674         available.
44675         * libio/iofwide.c (do_ftell_wide): Likewise.
44676         * libio/iofdopen.c (_IO_new_fdopen): Don't use
44677         _IO_file_attach.
44678         * libio/wfileops.c (_IO_fwide): Don't cache offset.
44680         [BZ #16532]
44681         * libio/libioP.h (get_file_offset): New function.
44682         * libio/fileops.c (get_file_offset): Likewise.
44683         (do_ftell): Likewise.
44684         (_IO_new_file_seekoff): Split out ftell logic.
44685         * libio/wfileops.c (do_ftell_wide): Likewise.
44686         (_IO_wfile_seekoff): Split out ftell logic.
44687         * libio/tst-ftell-active-handler.c: New test case.
44688         * libio/Makefile (tests): Add it.
44690 2014-03-03  Roland McGrath  <roland@hack.frob.com>
44692         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44693         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44695 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44697         [BZ #16639]
44698         * nscd/connections.c (nscd_init): Call do_exit.
44699         (start_threads): Call do_exit and notify_parent.
44700         (begin_drop_privileges): Call do_exit.
44701         (finish_drop_privileges): Likewise.
44702         * nscd/selinux.c (preserve_capabilities): Likewise.
44703         (install_real_capabilities): Likewise.
44704         (nscd_selinux_enabled): Likewise.
44705         (avc_create_thread): Likewise.
44706         (avc_alloc_lock): Likewise.
44707         (nscd_avc_init): Likewise.
44708         * nscd/nscd.c (parent_fd): New static variable.
44709         (main): Create a pipe between parent and child processes.
44710         Skip closing parent_fd.
44711         (monitor_child): New function.
44712         (do_exit): Likewise.
44713         (notify_parent): Likewise.
44714         * nscd/nscd.h (notify_parent): Likewise.
44715         (do_exit): Likewise.
44717 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
44719         * malloc/malloc.c (__libc_calloc): Revert last change.
44721 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44725 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44727         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44729         implementation.
44730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44731         (__libc_ifunc_impl_list): Likewise.
44732         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44733         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44734         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44735         * string/strrchr.c: Define STRRCHR.
44737 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
44739         * benchtest/bench-strtok.c (simple_strtok): Delete.
44740         (strtok_string): Use as benchmark.
44741         * string/strtok (STRTOK): New macro.
44743 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
44745         * manual/threads.texi: Add header and standard comments to all
44746         functions.
44748         * elf/dl-lookup.c (check_match): New function.
44749         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44750         (do_lookup_x): Remove nested function check_match. Use non-nested
44751         function check_match.
44753 2014-02-28  Roland McGrath  <roland@hack.frob.com>
44755         * csu/Makefile (generated, before-compile): Use += rather than =.
44756         * catgets/Makefile (generated, generated-dirs): Likewise.
44757         * debug/Makefile (generated): Likewise.
44758         * dlfcn/Makefile (generated): Likewise.
44759         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44760         * iconvdata/Makefile (before-compile, generated): Likewise.
44761         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44762         * libio/Makefile (generated): Likewise.
44763         * malloc/Makefile (generated): Likewise.
44764         * manual/Makefile (generated, generated-dirs): Likewise.
44765         * misc/Makefile (generated): Likewise.
44766         * posix/Makefile (generated): Likewise.
44767         * resolv/Makefile (generated): Likewise.
44768         * sunrpc/Makefile (generated, generated-dirs): Likewise.
44769         * timezone/Makefile (generated, generated-dirs): Likewise.
44771         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44773 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44776         power8 implementation.
44777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44778         file: POWER8 llround ifunc implementation.
44779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44780         (__lllround): Add POWER8 implementation.
44781         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44782         POWER8 llround implementation.
44784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44785         power8 implementation.
44786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44787         file: POWER8 llrint ifunc implementation.
44788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44789         Add POWER8 implementation.
44790         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44791         POWER8 llrint implementation.
44793         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44794         power8 implementation.
44795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44796         file: POWER8 finite ifunc implementation.
44797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44798         Add POWER8 implementation.
44799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44800         Likewise.
44801         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44802         POWER8 finite implementation.
44803         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44806         power8 implementation.
44807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44808         file: POWER8 isinf ifunc implementation.
44809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44810         POWER8 implementation.
44811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44812         Likewise.
44813         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44814         isinf implementation.
44815         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44817         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44818         (INIT_ARCH): Add hwcap2 initialization.
44819         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44820         power8 implementation.
44821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44822         file: POWER8 isnan ifunc implementation.
44823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44824         POWER8 implementation.
44825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44826         Likewise.
44827         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44828         isnan implementation.
44829         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44831 2014-02-27  Joey Ye  <joey.ye@arm.com>
44833         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44834         (_FP_NANFRAC_Q): Set to zero.
44836 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44838         [BZ #16623]
44839         * math/auto-libm-test-in: New test inputs.
44840         * math/auto-libm-test-out: Regenerate.
44841         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44842         and DA.
44843         (__cos): Likewise.
44844         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44846 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
44848         * scripts/evaluate-test.sh: Take new argument indicating whether
44849         failure is expected.
44850         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44851         indicating whether failure is expected.
44852         * conform/Makefile (test-xfail-run-conformtest): New variable.
44853         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44854         level.
44855         * posix/Makefile (test-xfail-annexc): New variable.
44856         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44858 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
44860         * argp/Makefile: Include Makeconfig immediately after defining
44861         subdir.
44862         * assert/Makefile: Likewise.
44863         * benchtests/Makefile: Likewise.
44864         * catgets/Makefile: Likewise.
44865         * conform/Makefile: Likewise.
44866         * crypt/Makefile: Likewise.
44867         * csu/Makefile: Likewise.
44868         (all): Remove target.
44869         * ctype/Makefile: Include Makeconfig immediately after defining
44870         subdir.
44871         * debug/Makefile: Likewise.
44872         * dirent/Makefile: Likewise.
44873         * dlfcn/Makefile: Likewise.
44874         * gmon/Makefile: Likewise.
44875         * gnulib/Makefile: Likewise.
44876         * grp/Makefile: Likewise.
44877         * gshadow/Makefile: Likewise.
44878         * hesiod/Makefile: Likewise.
44879         * hurd/Makefile: Likewise.
44880         (all): Remove target.
44881         * iconvdata/Makefile: Include Makeconfig immediately after
44882         defining subdir.
44883         * inet/Makefile: Likewise.
44884         * intl/Makefile: Likewise.
44885         * io/Makefile: Likewise.
44886         * libio/Makefile: Likewise.
44887         (all): Remove target.
44888         * locale/Makefile: Include Makeconfig immediately after defining
44889         subdir.
44890         * login/Makefile: Likewise.
44891         * mach/Makefile: Likewise.
44892         (all): Remove target.
44893         * malloc/Makefile: Include Makeconfig immediately after defining
44894         subdir.
44895         (all): Remove target.
44896         * manual/Makefile: Include Makeconfig immediately after defining
44897         subdir.
44898         * math/Makefile: Likewise.
44899         * misc/Makefile: Likewise.
44900         * nis/Makefile: Likewise.
44901         * nss/Makefile: Likewise.
44902         * po/Makefile: Likewise.
44903         (all): Remove target.
44904         * posix/Makefile: Include Makeconfig immediately after defining
44905         subdir.
44906         * pwd/Makefile: Likewise.
44907         * resolv/Makefile: Likewise.
44908         * resource/Makefile: Likewise.
44909         * rt/Makefile: Likewise.
44910         * setjmp/Makefile: Likewise.
44911         * shadow/Makefile: Likewise.
44912         * signal/Makefile: Likewise.
44913         * socket/Makefile: Likewise.
44914         * soft-fp/Makefile: Likewise.
44915         * stdio-common/Makefile: Likewise.
44916         * stdlib/Makefile: Likewise.
44917         * streams/Makefile: Likewise.
44918         * string/Makefile: Likewise.
44919         * sunrpc/Makefile: Likewise.
44920         (all): Remove target.
44921         * sysvipc/Makefile: Include Makeconfig immediately after defining
44922         subdir.
44923         * termios/Makefile: Likewise.
44924         * time/Makefile: Likewise.
44925         * timezone/Makefile: Likewise.
44926         (all): Remove target.
44927         * wcsmbs/Makefile: Include Makeconfig immediately after defining
44928         subdir.
44929         * wctype/Makefile: Likewise.
44931 2014-02-26  Steve Ellcey  <sellcey@mips.com>
44933         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
44934         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
44935         (libc_feholdexcept_setround_mips): Ditto.
44936         (libc_feholdsetround): New.
44937         (libc_feholdsetroundf): New.
44938         (libc_feholdsetroundl): New.
44939         (libc_feupdateenv_test_mips): New.
44940         (libc_feupdateenv_test): New.
44941         (libc_feupdateenv_testf): New.
44942         (libc_feupdateenv_testl): New.
44943         (libc_feresetround): New.
44944         (libc_feresetroundf): New.
44945         (libc_feresetroundl): New.
44946         (libc_fetestexcept_mips): New.
44947         (libc_fetestexcept): New.
44948         (libc_fetestexceptf): New.
44949         (libc_fetestexceptl): New.
44950         (HAVE_RM_CTX): New.
44951         (libc_feholdexcept_setround_mips_ctx): New.
44952         (libc_feholdexcept_setround_ctx): New.
44953         (libc_feholdexcept_setroundf_ctx): New.
44954         (libc_feholdexcept_setroundl_ctx): New.
44955         (libc_fesetenv_mips_ctx): New.
44956         (libc_fesetenv_ctx): New.
44957         (libc_fesetenv_ctxf): New.
44958         (libc_fesetenv_ctxl): New.
44959         (libc_feupdateenv_mips_ctx): New.
44960         (libc_feupdateenv_ctx): New.
44961         (libc_feupdateenvf_ctx): New.
44962         (libc_feupdateenvl_ctx): New.
44963         (libc_feholdsetround_mips_ctx): New.
44964         (libc_feholdsetround_ctx): New.
44965         (libc_feholdsetroundf_ctx): New.
44966         (libc_feholdsetroundl_ctx): New.
44967         (libc_feresetround_mips_ctx): New.
44968         (libc_feresetround_ctx): New.
44969         (libc_feresetroundf_ctx): New.
44970         (libc_feresetroundl_ctx): New.
44972 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
44974         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
44976         * manual/ipc.texi: New file.
44977         * manual/Makefile (chapters): Add ipc.
44978         * manual/job.texi: Add "Inter-Process Communication" to next.
44979         * manual/process.texi: Add "Inter-Process Communication" to prev.
44981 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44985 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
44987         * malloc/malloc.c (__libc_calloc): Simplify implementation.
44989         * manual/arith.texi: Fix spaces after sentences.
44990         * manual/charset.texi: Likewise.
44991         * manual/errno.texi: Likewise.
44992         * manual/install.texi: Likewise.
44993         * manual/llio.texi: Likewise.
44994         * manual/locale.texi: Likewise.
44995         * manual/maint.texi: Likewise.
44996         * manual/math.texi: Likewise.
44997         * manual/memory.texi: Likewise.
44998         * manual/message.texi: Likewise.
44999         * manual/probes.texi: Likewise.
45000         * manual/resource.texi: Likewise.
45001         * manual/signal.texi: Likewise.
45002         * manual/socket.texi: Likewise.
45003         * manual/stdio.texi: Likewise.
45004         * manual/string.texi: Likewise.
45005         * manual/time.texi: Likewise.
45006         * manual/users.texi: Likewise.
45008 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45010         [BZ #16632]
45011         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45012         _DEFAULT_SOURCE is defined.
45014 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45015             Carlos O'Donell  <carlos@redhat.com>
45017         [BZ #16613]
45018         * elf/dl-tls.c (_dl_count_modids): New function.
45019         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45020         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45021         audit library and increment generation counter.
45022         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45023         * elf/tst-audit9.c: New file.
45024         * elf/tst-auditmod9a.c: New file.
45025         * elf/tst-auditmod9b.c: New file.
45026         * elf/Makefile: Add rules to build and run tst-audit9.
45028 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45030         [BZ #15347]
45031         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45033 2014-02-25  Will Newton  <will.newton@linaro.org>
45035         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45036         (__longjmp): Restore sp and lr before restoring callee
45037         saved registers.  Add longjmp and longjmp_target
45038         SystemTap probe point.
45039         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45040         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45041         Define to zero to match jmpbuf layout.
45042         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45043         (__sigsetjmp): Save sp and lr before saving callee
45044         saved registers.  Add setjmp SystemTap probe point.
45046 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45048         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45050 2014-02-24  Andreas Schwab  <schwab@suse.de>
45052         [BZ #15804]
45053         * elf/pldd.c (wait_for_ptrace_stop): New function.
45054         (main): Call it after attaching.
45056 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45058         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45059         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45060         Versions files is now verboten.
45061         * hurd/Versions (libc: GLIBC_2.0):
45062         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45063         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45064         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45065         * mach/Versions: Likewise.
45067         * csu/Versions: Remove unused %include.
45068         * resolv/Versions: Likewise.
45070 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45072         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45073         ($(objpfx)check-local-headers.out): Likewise.
45074         ($(objpfx)begin-end-check.out): Likewise.
45075         * Makerules (check-abi-%.out): Likewise.
45076         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45077         ($(objpfx)test2.cat): Likewise.
45078         ($(objpfx)de/libc.cat): Likewise.
45079         ($(objpfx)test-gencat.out): Likewise.
45080         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45081         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45082         ($(objpfx)noload-mem): Likewise.
45083         ($(objpfx)tst-pathopt.out): Likewise.
45084         ($(objpfx)tst-rtld-load-self.out): Likewise.
45085         ($(objpfx)tst-array1-cmp.out): Likewise.
45086         ($(objpfx)tst-array1-static-cmp.out): Likewise.
45087         ($(objpfx)tst-array2-cmp.out): Likewise.
45088         ($(objpfx)tst-array3-cmp.out): Likewise.
45089         ($(objpfx)tst-array4-cmp.out): Likewise.
45090         ($(objpfx)tst-array5-cmp.out): Likewise.
45091         ($(objpfx)tst-array5-static-cmp.out): Likewise.
45092         ($(objpfx)check-textrel.out): Likewise.
45093         ($(objpfx)check-execstack.out): Likewise.
45094         ($(objpfx)check-localplt.out): Likewise.
45095         ($(objpfx)order2-cmp.out): Likewise.
45096         ($(objpfx)tst-leaks1-mem): Likewise.
45097         ($(objpfx)tst-leaks1-static-mem): Likewise.
45098         ($(objpfx)tst-initorder-cmp.out): Likewise.
45099         ($(objpfx)tst-initorder2-cmp.out): Likewise.
45100         ($(objpfx)tst-unused-dep.out): Likewise.
45101         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45102         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45103         * iconv/Makefile (test-iconvconfig): Likewise.
45104         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45105         ($(objpfx)iconv-test.out): Likewise.
45106         ($(objpfx)tst-tables.out): Likewise.
45107         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45108         ($(objpfx)tst-gettext.out): Likewise.
45109         ($(objpfx)tst-translit.out): Likewise.
45110         ($(objpfx)tst-gettext2.out): Likewise.
45111         ($(objpfx)tst-gettext4.out): Likewise.
45112         ($(objpfx)tst-gettext6.out): Likewise.
45113         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45114         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45115         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45116         ($(objpfx)tst-fopenloc-mem.out): Likewise.
45117         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45118         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45119         * posix/Makefile ($(objpfx)globtest.out): Likewise.
45120         ($(objpfx)wordexp-tst.out): Likewise.
45121         ($(objpfx)annexc.out): Likewise.
45122         ($(objpfx)tst-fnmatch-mem): Likewise.
45123         ($(objpfx)bug-regex2-mem): Likewise.
45124         ($(objpfx)bug-regex14-mem): Likewise.
45125         ($(objpfx)bug-regex21-mem): Likewise.
45126         ($(objpfx)bug-regex31-mem): Likewise.
45127         ($(objpfx)tst-vfork3-mem): Likewise.
45128         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45129         ($(objpfx)tst-pcre-mem): Likewise.
45130         ($(objpfx)tst-boost-mem): Likewise.
45131         ($(objpfx)tst-getconf.out): Likewise.
45132         ($(objpfx)bug-ga2-mem): Likewise.
45133         ($(objpfx)bug-glob2-mem): Likewise.
45134         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45135         ($(objpfx)mtrace-tst-leaks2): Likewise.
45136         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45137         ($(objpfx)tst-printf.out): Likewise.
45138         ($(objpfx)tst-setvbuf1.out): Likewise.
45139         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45140         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45141         ($(objpfx)tst-fmtmsg.out): Likewise.
45142         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45143         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45145         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45146         * bits/sigaction.h [__USE_MISC]: Likewise.
45147         * bits/waitstatus.h: Update #endif comments.
45148         * ctype/ctype.h: Likewise.
45149         * dirent/dirent.h: Likewise.
45150         [__USE_MISC]: Remove redundant conditionals.
45151         * grp/grp.h: Update #endif comments.
45152         [__USE_GNU]: Remove redundant conditionals.
45153         [__USE_MISC]: Likewise.
45154         * inet/netinet/in.h [__USE_GNU]: Likewise.
45155         * io/sys/stat.h [__USE_MISC]: Likewise.
45156         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45157         * libio/bits/stdio.h: Update #endif comments.
45158         [__USE_MISC]: Remove redundant conditionals.
45159         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45160         * libio/stdio.h: Update #endif comments.
45161         [__USE_MISC]: Remove redundant conditionals.
45162         * math/bits/math-finite.h [__USE_MISC]: Likewise.
45163         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45164         * math/math.h: Update #else and #endif comments.
45165         [__USE_MISC]: Remove redundant conditionals.
45166         * misc/sys/uio.h: Update #endif comments.
45167         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45168         * posix/glob.h [__USE_MISC]: Likewise.
45169         * posix/sys/types.h: Update #endif comments.
45170         [__USE_MISC]: Remove redundant conditionals.
45171         * posix/sys/wait.h: Update #endif comments.
45172         [__USE_MISC]: Remove redundant conditionals.
45173         * posix/unistd.h: Update #endif comments.
45174         [__USE_MISC]: Remove redundant conditionals.
45175         * pwd/pwd.h [__USE_GNU]: Likewise.
45176         [__USE_MISC]: Likewise.
45177         * resolv/netdb.h [__USE_GNU]: Likewise.
45178         * signal/signal.h: Update #endif comments.
45179         [__USE_MISC]: Remove redundant conditionals.
45180         * stdlib/stdlib.h: Update #else and #endif comments.
45181         [__USE_MISC]: Remove redundant conditionals.
45182         [__USE_GNU]: Likewise.
45183         * string/bits/string2.h [__USE_MISC]: Likewise.
45184         * string/string.h: Update #endif comments.
45185         [__USE_MISC]: Remove redundant conditionals.
45186         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45187         Likewise.
45188         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45189         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45190         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45191         Likewise.
45192         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45193         Likewise.
45194         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45195         comments.
45196         [__USE_MISC]: Remove redundant conditionals.
45197         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45198         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45199         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45200         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45201         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45202         Likewise.
45203         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45204         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45205         Likewise.
45206         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45207         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45208         Likewise.
45209         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45210         Likewise.
45211         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45212         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45213         Likewise.
45214         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45215         Likewise.
45216         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45217         * sysdeps/x86/bits/string.h: Update #endif comments.
45218         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45219         conditionals.
45220         * time/sys/time.h: Update #endif comments.
45221         * time/time.h: Likewise.
45222         [__USE_MISC]: Remove redundant conditionals.
45224 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
45226         [BZ #16600]
45227         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45229 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
45231         * Versions.def (librt): Add GLIBC_2.17.
45233 2014-02-21  Adam Conrad  <adconrad@0c3.net>
45235         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45236         synonym for _SYS_AUXV_H to allow direct inclusion.
45237         * sysdeps/sparc/bits/hwcap.h: Likewise.
45238         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45239         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45240         * sysdeps/sparc/sysdep.h: Likewise.
45242 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45244         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45246 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45248         * benchtests/bench-strrchr.c: Print length instead of position.
45250 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
45252         [BZ #16611]
45253         * sysdeps/unix/sysv/linux/kernel-features.h
45254         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45255         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45256         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45257         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45258         Likewise.
45259         [__i386__ || __powerpc__ || __sh__ || __sparc__]
45260         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45261         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45262         (__ASSUME_SENDMMSG): Define instead of using previous
45263         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45264         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45265         (__ASSUME_SENDMMSG_SYSCALL): Define.
45266         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45267         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45268         Likewise.
45269         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45270         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45271         Likewise.
45272         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45273         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45274         Likewise.
45275         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45276         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45277         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45278         [__ASSUME_SENDMMSG]: Change conditionals to
45279         [__ASSUME_SENDMMSG_SOCKETCALL].
45280         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45281         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45282         Define.
45283         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45284         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45285         Likewise.
45286         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45287         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45288         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45289         [!__ASSUME_SENDMMSG]: Change conditional to
45290         [!__ASSUME_SENDMMSG_SOCKETCALL].
45291         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45292         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45293         Define.
45295         [BZ #16610]
45296         * sysdeps/unix/sysv/linux/kernel-features.h
45297         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45298         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45299         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45300         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45301         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45302         [__i386__ || __sparc__]
45303         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45304         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45305         (__ASSUME_RECVMMSG): Define instead of using previous
45306         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45307         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45308         (__ASSUME_RECVMMSG_SYSCALL): Define.
45309         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45310         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45311         Likewise.
45312         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45313         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45314         Likewise.
45315         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45316         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45317         Likewise.
45318         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45319         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45320         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45321         [__ASSUME_RECVMMSG]: Change condition to
45322         [__ASSUME_RECVMMSG_SOCKETCALL].
45323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45324         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45325         Define.
45326         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45327         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45328         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45329         Likewise.
45330         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45331         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45332         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45333         [!__ASSUME_RECVMMSG]: Change condition to
45334         [!__ASSUME_RECVMMSG_SOCKETCALL].
45335         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45336         (__ASSUME_RECVMMSG_SYSCALL): Define.
45338         [BZ #16609]
45339         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45340         __powerpc__ || __s390__ || __sh__ || __sparc__]
45341         (__ASSUME_SOCKETCALL): Define.
45342         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45343         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45344         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45345         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45346         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45347         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45348         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45349         (__ASSUME_ACCEPT4): Define instead of using previous
45350         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45351         __powerpc__ || __sparc__ || __s390__)] condition.
45352         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45353         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45354         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45355         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45356         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45357         [!__ASSUME_ACCEPT4]: Change condition to
45358         [!__ASSUME_ACCEPT4_SOCKETCALL].
45359         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45360         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
45361         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45363         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45364         __ASSUME_ACCEPT4_SYSCALL.
45365         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45366         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45367         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45368         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45369         __ASSUME_ACCEPT4_SYSCALL.
45370         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45371         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45372         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45373         [__ASSUME_ACCEPT4]: Change condition to
45374         [__ASSUME_ACCEPT4_SOCKETCALL].
45375         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45376         (__ASSUME_SOCKETCALL): Define.
45377         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45379         (__ASSUME_SOCKETCALL): Define.
45380         (__ASSUME_ACCEPT4): Remove.
45381         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45382         Define.
45383         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45384         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45385         Likewise.
45386         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45387         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45389         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45390         macro.
45391         (HWCAP_ARM_LPAE): Likewise.
45392         (HWCAP_ARM_EVTSTRM): Likewise.
45393         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45394         Add vpfd32, lpae and evtstrm.
45395         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45396         Increase to 22.
45398 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
45400         * math/auto-libm-test-in: Add tests of clog10.
45401         * math/auto-libm-test-out: Regenerated.
45402         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45403         * sysdeps/i386/fpu/libm-test-ulps: Update.
45404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45406 2014-02-18  Andreas Schwab  <schwab@suse.de>
45408         [BZ #16574]
45409         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45410         Store non-zero if the second buffer was newly allocated.
45411         (send_dg): Likewise.
45412         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45413         to send_vc and send_dg.
45414         (res_nsend): Pass NULL for ansp2_malloced.
45415         * resolv/res_query.c (__libc_res_nquery): Add parameter
45416         answerp2_malloced and pass it down to __libc_res_nsend.
45417         (res_nquery): Pass additional NULL to __libc_res_nquery.
45418         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45419         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
45420         second answer buffer if answerp2_malloced was set.
45421         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45422         (__libc_res_nquerydomain): Add parameter
45423         answerp2_malloced and pass it down to __libc_res_nquery.
45424         (res_nquerydomain): Pass additional NULL to
45425         __libc_res_nquerydomain.
45426         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45427         additional NULL to __libc_res_nsend and __libc_res_nquery.
45428         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45429         additional NULL to __libc_res_nsearch.
45430         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
45431         parameter of __libc_res_nsearch to check for separately allocated
45432         second buffer.
45433         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45434         __libc_res_nquery.
45435         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45436         additional NULL to __libc_res_nquery.
45437         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45438         __libc_res_nsearch.
45439         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45440         * include/resolv.h: Update prototypes of __libc_res_nquery,
45441         __libc_res_nsearch, __libc_res_nsend.
45443 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
45445         * math/auto-libm-test-in: Add tests of fma.
45446         * math/auto-libm-test-out: Regenerated.
45447         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45448         (fma_towardzero_test_data): Likewise.
45449         (fma_downward_test_data): Likewise.
45450         (fma_upward_test_data): Likewise.
45451         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45452         mpc_mode.
45453         (rounding_modes): Add values for new field.
45454         (func_calc_method): Add value mpfr_fff_f.
45455         (func_calc_desc): Add mpfr_fff_f union field.
45456         (test_function): Add field exact_args.
45457         (FUNC): Add macro argument EXACT_ARGS.
45458         (FUNC_mpfr_f_f): Update call to FUNC.
45459         (FUNC_mpfr_f_f): Likewise.
45460         (FUNC_mpfr_ff_f): Likewise.
45461         (FUNC_mpfr_if_f): Likewise.
45462         (FUNC_mpc_c_f): Likewise.
45463         (FUNC_mpc_c_c): Likewise.
45464         (test_functions): Add fma.  Update calls to FUNC.
45465         (handle_input_arg): Add argument exact_args.
45466         (add_test): Update call to handle_input_arg.
45467         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
45468         (output_for_one_input_case): Update call to calc_generic_results.
45469         Recalculate exact zero results in each rounding mode.
45471         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45472         non-negative before setting low bit.
45473         * math/auto-libm-test-in: Mark one asin test possibly having
45474         spurious underflow.
45475         * math/auto-libm-test-out: Regenerated.
45476         * sysdeps/i386/fpu/libm-test-ulps: Update.
45477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45479 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
45481         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45482         * sysdeps/unix/sysv/linux/microblaze: Move directory from
45483         ports/sysdeps/unix/sysv/linux/microblaze.
45484         * README: Add missing listing for microblaze*-*-linux-gnu.
45486 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
45488         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45489         duplicate code
45491 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
45493         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45494         * sysdeps/unix/sysv/linux/ia64: Move directory from
45495         ports/sysdeps/unix/sysv/linux/ia64.
45496         * README: Update listing for ia64-*-linux-gnu.
45498 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
45499             Joseph Myers  <joseph@codesourcery.com>
45501         * Makeconfig (test-name): New variable.
45502         (evaluate-test): Likewise.
45503         * Makerules (do-test-clean): Remove .test-result files.
45504         (common-mostlyclean): Likewise.
45505         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45506         * scripts/evaluate-test.sh: New file.
45508 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
45510         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45511         separate $(objpfx)tst-fopenloc-cmp.out and
45512         $(objpfx)tst-fopenloc-mem.out targets.
45513         (tests): Update dependencies.
45514         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45515         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45516         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45517         (tst-rxspencer-no-utf8-ARGS): New variable.
45518         (tst-rxspencer-no-utf8-ENV): Likewise.
45519         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45520         instead of $(objpfx)tst-rxspencer-mem.
45521         ($(objpfx)tst-rxspencer-mem): Change target to
45522         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
45523         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45524         * posix/tst-rxspencer-no-utf8.c: New file.
45526         * elf/Makefile ($(objpfx)order.out): Remove rule.
45527         [$(run-built-tests) = yes] (tests): Depend on
45528         $(objpfx)order-cmp.out.
45529         ($(objpfx)order-cmp.out): New rule.
45530         [$(run-built-tests) = yes] (tests): Depend on
45531         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45532         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45533         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45534         $(objpfx)tst-array5-static-cmp.out.
45535         ($(objpfx)tst-array1.out): Remove rule.
45536         ($(objpfx)tst-array1-cmp.out): New rule.
45537         ($(objpfx)tst-array1-static.out): Remove rule.
45538         ($(objpfx)tst-array1-static-cmp.out): New rule.
45539         ($(objpfx)tst-array2.out): Remove rule.
45540         ($(objpfx)tst-array2-cmp.out): New rule.
45541         ($(objpfx)tst-array3.out): Remove rule.
45542         ($(objpfx)tst-array3-cmp.out): New rule.
45543         ($(objpfx)tst-array4.out): Remove rule.
45544         ($(objpfx)tst-array4-cmp.out): New rule.
45545         ($(objpfx)tst-array5.out): Remove rule.
45546         ($(objpfx)tst-array5-cmp.out): New rule.
45547         ($(objpfx)tst-array5-static.out): Remove rule.
45548         ($(objpfx)tst-array5-static-cmp.out): New rule.
45549         [$(run-built-tests) = yes] (tests): Depend on
45550         $(objpfx)order2-cmp.out.
45551         ($(objpfx)order2.out): Remove rule.
45552         ($(objpfx)order2-cmp.out): New rule.
45553         ($(objpfx)tst-initorder.out): Remove rule.
45554         [$(run-built-tests) = yes] (tests): Depend on
45555         $(objpfx)tst-initorder-cmp.out.
45556         ($(objpfx)tst-initorder-cmp.out): New rule.
45557         ($(objpfx)tst-initorder2.out): Remove rule.
45558         [$(run-built-tests) = yes] (tests): Depend on
45559         $(objpfx)tst-initorder2-cmp.out.
45560         ($(objpfx)tst-initorder2-cmp.out): New rule.
45561         [$(run-built-tests) = yes] (tests): Depend on
45562         $(objpfx)tst-unused-dep-cmp.out.
45563         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45564         ($(objpfx)tst-unused-dep-cmp.out): New rule.
45565         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45566         on $(objpfx)tst-setvbuf1-cmp.out.
45567         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45568         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45569         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45570         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45571         ($(objpfx)tst-svc.out): Remove rule.
45572         ($(objpfx)tst-svc-cmp.out): New rule.
45574 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
45576         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45577         * ctype/ctype.h [__USE_MISC]: Likewise.
45578         * dirent/dirent.h [__USE_MISC]: Likewise.
45579         * grp/grp.h [__USE_MISC]: Likewise.
45580         * io/fcntl.h [__USE_MISC]: Likewise.
45581         * io/sys/stat.h [__USE_MISC]: Likewise.
45582         * libio/stdio.h [__USE_MISC]: Likewise.
45583         * posix/unistd.h [__USE_MISC]: Likewise.
45584         * pwd/pwd.h [__USE_MISC]: Likewise.
45585         * stdlib.h [__USE_MISC]: Likewise.
45586         * string/bits/string2.h [__USE_MISC]: Likewise.
45587         * string/string.h [__USE_MISC]: Likewise.
45588         * time/time.h [__USE_MISC]: Likewise.
45590 2014-02-13  Andreas Schwab  <schwab@suse.de>
45592         [BZ #16574]
45593         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45594         second answer buffer if it was separately allocated.
45596 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
45598         * sysdeps/mips/math-tests.h: Include <features.h>.
45599         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45600         (ROUNDING_TESTS_long_double): Do not define.
45601         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45602         (EXCEPTION_TESTS_long_double): Likewise.
45603         * sysdeps/mips/mips64/libm-test-ulps: Update.
45605         * include/features.h (__USE_BSD): Remove macro definitions.
45606         (__USE_SVID): Likewise.
45607         (_BSD_SOURCE): Likewise.
45608         (_SVID_SOURCE): Likewise.
45609         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45610         from definition of _DEFAULT_SOURCE.
45611         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45612         [_DEFAULT_SOURCE].
45613         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45614         * bits/mman.h [__USE_BSD]: Likewise.
45615         * bits/termios.h [__USE_BSD]: Likewise.
45616         * bits/waitstatus.h [__USE_BSD]: Likewise.
45617         * ctype/ctype.h [__USE_SVID]: Likewise.
45618         * dirent/dirent.h [__USE_BSD]: Likewise.
45619         * grp/grp.h [__USE_SVID]: Likewise.
45620         [__USE_BSD]: Likewise.
45621         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45622         * io/fcntl.h [__USE_BSD]: Likewise.
45623         * io/ftw.h [__USE_BSD]: Likewise.
45624         * io/sys/stat.h [__USE_BSD]: Likewise.
45625         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45626         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45627         * libio/stdio.h [__USE_SVID]: Likewise.
45628         [__USE_BSD]: Likewise.
45629         * math/math.h [__USE_SVID]: Likewise.
45630         [__USE_BSD]: Likewise.
45631         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45632         * misc/bits/syslog.h [__USE_BSD]: Likewise.
45633         * misc/search.h [__USE_SVID]: Likewise.
45634         * misc/sys/mman.h [__USE_BSD]: Likewise.
45635         * misc/sys/syslog.h [__USE_BSD]: Likewise.
45636         * misc/sys/uio.h [__USE_BSD]: Likewise.
45637         * posix/bits/unistd.h [__USE_BSD]: Likewise.
45638         * posix/glob.h [__USE_BSD]: Likewise.
45639         * posix/regex.h [__USE_BSD]: Likewise.
45640         * posix/sys/types.h [__USE_BSD]: Likewise.
45641         [__USE_SVID]: Likewise.
45642         * posix/sys/utsname.h [__USE_SVID]: Likewise.
45643         * posix/sys/wait.h [__USE_BSD]: Likewise.
45644         [__USE_SVID]: Likewise.
45645         * posix/unistd.h [__USE_BSD]: Likewise.
45646         [__USE_SVID]: Likewise.
45647         * pwd/pwd.h [__USE_SVID]: Likewise.
45648         * resolv/netdb.h [__USE_BSD]: Likewise.
45649         * setjmp/setjmp.h [__USE_BSD]: Likewise.
45650         * signal/signal.h [__USE_BSD]: Likewise.
45651         [__USE_SVID]: Likewise.
45652         * socket/sys/socket.h [__USE_BSD]: Likewise.
45653         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45654         * stdlib/stdlib.h [__USE_BSD]: Likewise.
45655         [__USE_SVID]: Likewise.
45656         * string/bits/string2.h [__USE_BSD]: Likewise.
45657         [__USE_SVID]: Likewise.
45658         * string/bits/string3.h [__USE_BSD]: Likewise.
45659         * string/endian.h [__USE_BSD]: Likewise.
45660         * string/string.h [__USE_SVID]: Likewise.
45661         [__USE_BSD]: Likewise.
45662         * string/strings.h [__USE_BSD]: Likewise.
45663         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45664         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45665         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45666         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45667         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45668         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45669         Likewise.
45670         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45671         Likewise.
45672         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45673         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45674         Likewise.
45675         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45676         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45677         Likewise.
45678         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45679         Likewise.
45680         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45681         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45682         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45683         Likewise.
45684         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45685         Likewise.
45686         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45687         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45688         * termios/termios.h [__USE_BSD]: Likewise.
45689         * time/sys/time.h [__USE_BSD]: Likewise.
45690         * time/time.h [__USE_BSD]: Likewise.
45691         [__USE_SVID]: Likewise.
45693         * Makefile (subdir_targets): Remove subdir_lint.out.
45695         * stdio-common/Makefile (do-tst-unbputc): Remove target.
45696         (do-tst-printf): Likewise.
45697         (tests): Depend directly on $(objpfx)tst-unbputc.out and
45698         $(objpfx)tst-printf.out.
45700         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45702         * Makerules (check-abi-%): Change target to
45703         $(objpfx)check-abi-%.out.
45704         (check-abi target): Update dependencies.
45705         (check-abi-pattern variable): Redirect output of diff to $@.
45706         (check-abi variable): Likewise.
45707         * elf/Makefile (check-abi): Update dependencies.
45709         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45710         unused.
45711         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45712         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45713         subnormal range.
45714         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45715         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45716         value has largest subnormal exponent.
45717         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45718         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45719         * sysdeps/aarch64/soft-fp/sfp-machine.h
45720         (_FP_TININESS_AFTER_ROUNDING): New macro.
45721         * sysdeps/alpha/soft-fp/sfp-machine.h
45722         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45723         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45724         Likewise.
45725         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45726         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45727         * sysdeps/mips/soft-fp/sfp-machine.h
45728         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45729         * sysdeps/powerpc/soft-fp/sfp-machine.h
45730         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45731         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45732         Likewise.
45733         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45734         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45735         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45736         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45737         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45738         Likewise.
45740 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
45742         [BZ #16545]
45743         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45744         model 1.
45746 2014-02-12  Richard Henderson  <rth@redhat.com>
45748         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45749         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45750         * sysdeps/unix/sysv/linux/alpha: Move directory from
45751         ports/sysdeps/unix/sysv/linux/alpha.
45752         * README: Update listing for alpha-*-linux-gnu.
45754 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
45756         * include/features.h: Update comment documenting feature test
45757         macros.
45758         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
45759         _DEFAULT_SOURCE.
45760         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45761         (_SVID_SOURCE): Likewise.
45762         (_DEFAULT_SOURCE): Update description of default features.
45763         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45764         with _GNU_SOURCE.
45765         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45766         (S_ISVTX): Likewise.
45767         * manual/math.texi (Mathematical Constants): Likewise.
45768         * manual/signal.texi (Interrupted Primitives): Likewise.
45769         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45770         * math/test-matherr.c (_SVID_SOURCE): Do not define.
45771         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45772         Don't refer to _SVID_SOURCE in warning text.
45774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45776         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45777         already defined.
45778         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45779         * sysdeps/mips/dl-lookup.c: Remove.
45780         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45782 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45784         [BZ #16447]
45785         * math/auto-libm-test-in: Add testcase for expl.
45786         * math/auto-libm-test-out: Regenerate.
45787         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45788         calculation of unsafe.
45789         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45791 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45793         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45794         * sysdeps/unix/sysv/linux/aarch64: Move directory from
45795         ports/sysdeps/unix/sysv/linux/aarch64.
45796         * README: Update listing for aarch64*-*-linux-gnu.
45798 2014-02-11  Will Newton  <will.newton@linaro.org>
45800         * manual/probes.texi (Mathematical Function Probes): Use
45801         "triggered" instead of "hit".
45803         * manual/probes.texi (Internal Probes): Add documentation
45804         of setjmp, longjmp and longjmp_target probes.
45806         * include/stap-probe.h: Add comment about probe argument
45807         format.
45809         * malloc/mtrace.c (attribute_hidden): Remove unused macro
45810         definition.  (tr_where, tr_freehook, tr_mallochook,
45811         tr_reallochook, tr_memalignhook): Use ANSI protoype.
45813 2014-02-11  David S. Miller  <davem@davemloft.net>
45815         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45816         processing int_tests.
45818 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
45820         * sysdeps/mips: Move directory from ports/sysdeps/mips.
45821         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45822         * sysdeps/unix/sysv/linux/mips: Move directory from
45823         ports/sysdeps/unix/sysv/linux/mips.
45824         * README: Update listing for mips-*-linux-gnu and
45825         mips64-*-linux-gnu.
45827 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
45829         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45830         * sysdeps/unix/sysv/linux/m68k: Move directory from
45831         ports/sysdeps/unix/sysv/linux/m68k.
45832         * README: Update listing for m68k-*-linux-gnu.
45834 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
45836         * sysdeps/tile: Move directory from ports/sysdeps/tile.
45837         * sysdeps/unix/sysv/linux/generic: Move directory from
45838         ports/sysdeps/unix/sysv/linux/generic.
45839         * sysdeps/unix/sysv/linux/tile: Move directory from
45840         ports/sysdeps/unix/sysv/linux/tile.
45841         * README: Update listing for tile*-*-linux-gnu.
45843 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
45845         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45846         __builtin_expect.
45847         * benchtests/bench-memmem.c (simple_memmem): Likewise.
45848         * catgets/open_catalog.c (__open_catalog): Likewise.
45849         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45850         * debug/confstr_chk.c: Likewise.
45851         * debug/fread_chk.c (__fread_chk): Likewise.
45852         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45853         * debug/getgroups_chk.c: Likewise.
45854         * debug/mbsnrtowcs_chk.c: Likewise.
45855         * debug/mbsrtowcs_chk.c: Likewise.
45856         * debug/mbstowcs_chk.c: Likewise.
45857         * debug/memcpy_chk.c: Likewise.
45858         * debug/memmove_chk.c: Likewise.
45859         * debug/mempcpy_chk.c: Likewise.
45860         * debug/memset_chk.c: Likewise.
45861         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45862         * debug/strcat_chk.c (__strcat_chk): Likewise.
45863         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45864         * debug/strncat_chk.c (__strncat_chk): Likewise.
45865         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45866         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45867         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45868         * debug/wcpncpy_chk.c: Likewise.
45869         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45870         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
45871         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
45872         * debug/wcsncpy_chk.c: Likewise.
45873         * debug/wcsnrtombs_chk.c: Likewise.
45874         * debug/wcsrtombs_chk.c: Likewise.
45875         * debug/wcstombs_chk.c: Likewise.
45876         * debug/wmemcpy_chk.c: Likewise.
45877         * debug/wmemmove_chk.c: Likewise.
45878         * debug/wmempcpy_chk.c: Likewise.
45879         * debug/wmemset_chk.c: Likewise.
45880         * dirent/scandirat.c (SCANDIRAT): Likewise.
45881         * dlfcn/dladdr1.c (dladdr1): Likewise.
45882         * dlfcn/dladdr.c (dladdr): Likewise.
45883         * dlfcn/dlclose.c (dlclose_doit): Likewise.
45884         * dlfcn/dlerror.c (__dlerror): Likewise.
45885         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
45886         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
45887         * dlfcn/dlopen.c (dlopen_doit): Likewise.
45888         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
45889         * dlfcn/dlsym.c (dlsym_doit): Likewise.
45890         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
45891         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
45892         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
45893         Likewise.
45894         * elf/dl-conflict.c: Likewise.
45895         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
45896         * elf/dl-dst.h: Likewise.
45897         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
45898         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
45899         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
45900         * elf/dl-init.c (call_init, _dl_init): Likewise.
45901         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
45902         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
45903         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
45904         Likewise.
45905         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
45906         Likewise.
45907         * elf/dl-minimal.c (__libc_memalign): Likewise.
45908         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
45909         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45910         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
45911         * elf/dl-sym.c (do_sym): Likewise.
45912         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
45913         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
45914         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
45915         * elf/dl-writev.h (_dl_writev): Likewise.
45916         * elf/ldconfig.c (search_dir): Likewise.
45917         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
45918         (dl_main): Likewise.
45919         * elf/setup-vdso.h (setup_vdso): Likewise.
45920         * grp/compat-initgroups.c (compat_call): Likewise.
45921         * grp/fgetgrent.c (fgetgrent): Likewise.
45922         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
45923         * grp/putgrent.c (putgrent): Likewise.
45924         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45925         Likewise.
45926         * hurd/hurdinit.c: Likewise.
45927         * iconvdata/8bit-gap.c (struct): Likewise.
45928         * iconvdata/ansi_x3.110.c : Likewise.
45929         * iconvdata/big5.c : Likewise.
45930         * iconvdata/big5hkscs.c : Likewise.
45931         * iconvdata/cp1255.c: Likewise.
45932         * iconvdata/cp1258.c : Likewise.
45933         * iconvdata/cp932.c : Likewise.
45934         * iconvdata/euc-cn.c: Likewise.
45935         * iconvdata/euc-jisx0213.c : Likewise.
45936         * iconvdata/euc-jp.c: Likewise.
45937         * iconvdata/euc-jp-ms.c : Likewise.
45938         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
45939         * iconvdata/gb18030.c : Likewise.
45940         * iconvdata/gbbig5.c (const): Likewise.
45941         * iconvdata/gbgbk.c: Likewise.
45942         * iconvdata/gbk.c : Likewise.
45943         * iconvdata/ibm1364.c : Likewise.
45944         * iconvdata/ibm930.c : Likewise.
45945         * iconvdata/ibm932.c: Likewise.
45946         * iconvdata/ibm933.c : Likewise.
45947         * iconvdata/ibm935.c : Likewise.
45948         * iconvdata/ibm937.c : Likewise.
45949         * iconvdata/ibm939.c : Likewise.
45950         * iconvdata/ibm943.c: Likewise.
45951         * iconvdata/iso_11548-1.c: Likewise.
45952         * iconvdata/iso-2022-cn.c : Likewise.
45953         * iconvdata/iso-2022-cn-ext.c : Likewise.
45954         * iconvdata/iso-2022-jp-3.c: Likewise.
45955         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
45956         * iconvdata/iso-2022-kr.c : Likewise.
45957         * iconvdata/iso646.c (gconv_end): Likewise.
45958         * iconvdata/iso_6937-2.c : Likewise.
45959         * iconvdata/iso_6937.c : Likewise.
45960         * iconvdata/iso8859-1.c: Likewise.
45961         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
45962         * iconvdata/shift_jisx0213.c : Likewise.
45963         * iconvdata/sjis.c : Likewise.
45964         * iconvdata/t.61.c : Likewise.
45965         * iconvdata/tcvn5712-1.c : Likewise.
45966         * iconvdata/tscii.c: Likewise.
45967         * iconvdata/uhc.c : Likewise.
45968         * iconvdata/unicode.c (gconv_end): Likewise.
45969         * iconvdata/utf-16.c (gconv_end): Likewise.
45970         * iconvdata/utf-32.c (gconv_end): Likewise.
45971         * iconvdata/utf-7.c (base64): Likewise.
45972         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
45973         * iconv/gconv_close.c (__gconv_close): Likewise.
45974         * iconv/gconv_open.c (__gconv_open): Likewise.
45975         * iconv/gconv_simple.c (internal_ucs4_loop_single)
45976         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
45977         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
45978         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
45979         (ucs4le_internal_loop_single): Likewise.
45980         * iconv/iconv.c (iconv): Likewise.
45981         * iconv/iconv_close.c: Likewise.
45982         * iconv/loop.c (SINGLE): Likewise.
45983         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
45984         * include/atomic.h: Likewise.
45985         * inet/inet6_option.c (option_alloc): Likewise.
45986         * intl/bindtextdom.c (set_binding_values): Likewise.
45987         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
45988         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
45989         * intl/localealias.c (read_alias_file): Likewise.
45990         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
45991         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
45992         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
45993         * libio/fmemopen.c (fmemopen): Likewise.
45994         * libio/iofgets.c (_IO_fgets): Likewise.
45995         * libio/iofgets_u.c (fgets_unlocked): Likewise.
45996         * libio/iofgetws.c (fgetws): Likewise.
45997         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
45998         * libio/iogetdelim.c (_IO_getdelim): Likewise.
45999         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46000         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46001         * locale/findlocale.c (_nl_find_locale): Likewise.
46002         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46003         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46004         Likewise.
46005         * locale/setlocale.c (setlocale): Likewise.
46006         * login/programs/pt_chown.c (main): Likewise.
46007         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46008         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46009         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46010         (mmap, mmap64, mremap, munmap): Likewise.
46011         * math/e_exp2l.c: Likewise.
46012         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46013         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46014         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46015         * math/s_catan.c (__catan): Likewise.
46016         * math/s_catanf.c (__catanf): Likewise.
46017         * math/s_catanh.c (__catanh): Likewise.
46018         * math/s_catanhf.c (__catanhf): Likewise.
46019         * math/s_catanhl.c (__catanhl): Likewise.
46020         * math/s_catanl.c (__catanl): Likewise.
46021         * math/s_ccosh.c (__ccosh): Likewise.
46022         * math/s_ccoshf.c (__ccoshf): Likewise.
46023         * math/s_ccoshl.c (__ccoshl): Likewise.
46024         * math/s_cexp.c (__cexp): Likewise.
46025         * math/s_cexpf.c (__cexpf): Likewise.
46026         * math/s_cexpl.c (__cexpl): Likewise.
46027         * math/s_clog10.c (__clog10): Likewise.
46028         * math/s_clog10f.c (__clog10f): Likewise.
46029         * math/s_clog10l.c (__clog10l): Likewise.
46030         * math/s_clog.c (__clog): Likewise.
46031         * math/s_clogf.c (__clogf): Likewise.
46032         * math/s_clogl.c (__clogl): Likewise.
46033         * math/s_csin.c (__csin): Likewise.
46034         * math/s_csinf.c (__csinf): Likewise.
46035         * math/s_csinh.c (__csinh): Likewise.
46036         * math/s_csinhf.c (__csinhf): Likewise.
46037         * math/s_csinhl.c (__csinhl): Likewise.
46038         * math/s_csinl.c (__csinl): Likewise.
46039         * math/s_csqrt.c (__csqrt): Likewise.
46040         * math/s_csqrtf.c (__csqrtf): Likewise.
46041         * math/s_csqrtl.c (__csqrtl): Likewise.
46042         * math/s_ctan.c (__ctan): Likewise.
46043         * math/s_ctanf.c (__ctanf): Likewise.
46044         * math/s_ctanh.c (__ctanh): Likewise.
46045         * math/s_ctanhf.c (__ctanhf): Likewise.
46046         * math/s_ctanhl.c (__ctanhl): Likewise.
46047         * math/s_ctanl.c (__ctanl): Likewise.
46048         * math/w_pow.c: Likewise.
46049         * math/w_powf.c: Likewise.
46050         * math/w_powl.c: Likewise.
46051         * math/w_scalb.c (sysv_scalb): Likewise.
46052         * math/w_scalbf.c (sysv_scalbf): Likewise.
46053         * math/w_scalbl.c (sysv_scalbl): Likewise.
46054         * misc/error.c (error_tail): Likewise.
46055         * misc/pselect.c (__pselect): Likewise.
46056         * nis/nis_callback.c (__nis_create_callback): Likewise.
46057         * nis/nis_call.c (__nisfind_server): Likewise.
46058         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46059         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46060         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46061         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46062         * nis/nis_lookup.c (nis_lookup): Likewise.
46063         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46064         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46065         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46066         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46067         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46068         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46069         * nis/nss_compat/compat-initgroups.c (add_group)
46070         (internal_getgrent_r): Likewise.
46071         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46072         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46073         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46074         (internal_getspnam_r): Likewise.
46075         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46076         (_nss_nis_getaliasbyname_r): Likewise.
46077         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46078         (_nss_nis_getntohost_r): Likewise.
46079         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46080         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46081         (_nss_nis_getgrgid_r): Likewise.
46082         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46083         (internal_nis_gethostent_r, internal_gethostbyname2_r)
46084         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46085         (_nss_nis_gethostbyname4_r): Likewise.
46086         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46087         (initgroups_netid): Likewise.
46088         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46089         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46090         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46091         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46092         (_nss_nis_getprotobynumber_r): Likewise.
46093         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46094         (_nss_nis_getsecretkey): Likewise.
46095         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46096         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46097         (_nss_nis_getpwuid_r): Likewise.
46098         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46099         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46100         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46101         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46102         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46103         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46104         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46105         Likewise.
46106         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46107         (_nss_nisplus_getntohost_r): Likewise.
46108         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46109         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46110         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46111         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46112         Likewise.
46113         * nis/nss_nisplus/nisplus-initgroups.c
46114         (_nss_nisplus_initgroups_dyn): Likewise.
46115         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46116         (_nss_nisplus_getnetbyaddr_r): Likewise.
46117         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46118         (_nss_nisplus_getprotobynumber_r): Likewise.
46119         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46120         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46121         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46122         Likewise.
46123         * nis/nss_nisplus/nisplus-service.c
46124         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46125         (_nss_nisplus_getservbyport_r): Likewise.
46126         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46127         (_nss_nisplus_getspnam_r): Likewise.
46128         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46129         Likewise.
46130         * nscd/aicache.c (addhstaiX): Likewise.
46131         * nscd/cache.c (cache_search, prune_cache): Likewise.
46132         * nscd/connections.c (register_traced_file, send_ro_fd)
46133         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46134         (main_loop_epoll): Likewise.
46135         * nscd/grpcache.c (addgrbyX): Likewise.
46136         * nscd/hstcache.c (addhstbyX): Likewise.
46137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46138         * nscd/mem.c (gc, mempool_alloc): Likewise.
46139         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46140         (addinnetgrX): Likewise.
46141         * nscd/nscd-client.h (__nscd_acquire_maplock)
46142         (__nscd_drop_map_ref): Likewise.
46143         * nscd/nscd_getai.c (__nscd_getai): Likewise.
46144         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46145         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46146         Likewise.
46147         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46148         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46149         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46150         (__nscd_get_map_ref): Likewise.
46151         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46152         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46153         Likewise.
46154         * nscd/pwdcache.c (addpwbyX): Likewise.
46155         * nscd/selinux.c (preserve_capabilities): Likewise.
46156         * nscd/servicescache.c (addservbyX): Likewise.
46157         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46158         * posix/fnmatch.c (fnmatch): Likewise.
46159         * posix/getopt.c (_getopt_internal_r): Likewise.
46160         * posix/glob.c (glob, glob_in_dir): Likewise.
46161         * posix/wordexp.c (exec_comm_child): Likewise.
46162         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46163         (getanswer_r, gaih_getanswer_slice): Likewise.
46164         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46165         * resolv/res_init.c: Likewise.
46166         * resolv/res_mkquery.c (res_nmkquery): Likewise.
46167         * resolv/res_query.c (__libc_res_nquery): Likewise.
46168         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46169         Likewise.
46170         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46171         * stdio-common/perror.c (perror): Likewise.
46172         * stdio-common/printf_fp.c (___printf_fp): Likewise.
46173         * stdio-common/tmpnam.c (tmpnam): Likewise.
46174         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46175         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46176         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46177         Likewise.
46178         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46179         * stdlib/putenv.c (putenv): Likewise.
46180         * stdlib/setenv.c (__add_to_environ): Likewise.
46181         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46182         * stdlib/strtol_l.c (INTERNAL): Likewise.
46183         * string/memmem.c (memmem): Likewise.
46184         * string/strerror.c (strerror): Likewise.
46185         * string/strnlen.c (__strnlen): Likewise.
46186         * string/test-memmem.c (simple_memmem): Likewise.
46187         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46188         * sunrpc/pm_getport.c (__get_socket): Likewise.
46189         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46190         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46191         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46192         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46193         Likewise.
46194         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46195         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46196         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46197         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46198         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46199         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46200         Likewise.
46201         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46202         Likewise.
46203         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46204         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46205         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46206         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46207         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46208         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46209         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46210         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46211         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46212         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46213         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46214         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46215         Likewise.
46216         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46217         Likewise.
46218         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46219         Likewise.
46220         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46221         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46222         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46223         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46224         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46225         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46226         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46227         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46228         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46229         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46230         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46232         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46233         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46234         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46235         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46236         Likewise.
46237         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46238         Likewise.
46239         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46240         Likewise.
46241         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46242         Likewise.
46243         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46244         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46245         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46246         Likewise.
46247         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46248         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46249         * sysdeps/posix/opendir.c (__opendirat): Likewise.
46250         * sysdeps/posix/sleep.c: Likewise.
46251         * sysdeps/posix/tempname.c: Likewise.
46252         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46253         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46254         Likewise.
46255         * sysdeps/powerpc/powerpc32/dl-machine.h
46256         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46257         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46258         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46259         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46260         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46261         Likewise.
46262         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46263         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46264         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46265         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46266         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46267         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46268         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46269         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46270         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46271         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46272         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46273         (elf_machine_lazy_rel): Likewise.
46274         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46275         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46276         (elf_machine_lazy_rel): Likewise.
46277         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46278         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46279         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46280         * sysdeps/unix/grantpt.c (grantpt): Likewise.
46281         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46282         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46283         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46284         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46285         Likewise.
46286         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46287         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46288         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46289         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46290         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46291         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46292         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46293         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46294         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46295         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46296         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46297         Likewise.
46298         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46299         (__posix_fallocate64_l64): Likewise.
46300         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46301         (posix_fallocate): Likewise.
46302         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46303         Likewise.
46304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46305         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46306         (getifaddrs_internal): Likewise.
46307         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46308         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46309         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46310         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46311         * sysdeps/unix/sysv/linux/posix_fallocate64.c
46312         (__posix_fallocate64_l64): Likewise.
46313         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46314         Likewise.
46315         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46316         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46317         (__get_clockfreq): Likewise.
46318         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46319         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46320         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46323         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46324         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46325         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46326         Likewise.
46327         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46328         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46329         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46330         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46331         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46332         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46333         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46334         Likewise.
46335         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46336         (posix_fallocate): Likewise.
46337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46338         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46339         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46340         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46341         (elf_machine_rela, elf_machine_rela_relative)
46342         (elf_machine_lazy_rel): Likewise.
46343         * time/asctime.c (asctime_internal): Likewise.
46344         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46345         * time/tzset.c (__tzset_parse_tz): Likewise.
46346         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46347         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46348         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46349         * wcsmbs/wcsmbsload.h: Likewise.
46351         [BZ #15894]
46352         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46354         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46355         (arena_get2): Remove THREAD_STATS conditionals.
46356         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46357         (__malloc_stats, int): Likewise.
46359 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
46361         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46362         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
46364         * manual/setjmp.texi: Fix typos/grammar errors.
46366         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46367         Only return early when n is <= 0.  Delete unused return statement.
46369         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46370         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46371         * debug/tst-longjmp_chk3.c: New file.
46373         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46374         (test_main): Replace code with set_fortify_handler call.
46375         * debug/test-strcpy_chk.c: Likewise.
46376         * debug/tst-chk1.c: Likewise.
46377         * debug/tst-longjmp_chk.c: Likewise.
46378         * test-skeleton.c: Include fcntl.h & paths.h
46379         (set_fortify_handler): Define.
46381         * debug/tst-longjmp_chk.c: Add header comment and include
46382         ../test-skeleton.c.
46383         (do_test): Mark static.
46384         (TEST_FUNCTION): Define.
46386         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46387         (IP_PMTUDISC_INTERFACE): Likewise.
46388         (IP_MULTICAST_IF): Likewise.
46389         (IP_MULTICAST_TTL): Likewise.
46390         (IP_MULTICAST_LOOP): Likewise.
46391         (IP_ADD_MEMBERSHIP): Likewise.
46392         (IP_DROP_MEMBERSHIP): Likewise.
46393         (IP_UNBLOCK_SOURCE): Likewise.
46394         (IP_BLOCK_SOURCE): Likewise.
46395         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46396         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46397         (IP_MSFILTER): Likewise.
46398         (MCAST_JOIN_GROUP): Likewise.
46399         (MCAST_BLOCK_SOURCE): Likewise.
46400         (MCAST_UNBLOCK_SOURCE): Likewise.
46401         (MCAST_LEAVE_GROUP): Likewise.
46402         (MCAST_JOIN_SOURCE_GROUP): Likewise.
46403         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46404         (MCAST_MSFILTER): Likewise.
46405         (IP_MULTICAST_ALL): Likewise.
46406         (IP_UNICAST_IF): Likewise.
46408         * timezone/Makefile: Delete $(have-ksh) check.
46409         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46410         * timezone/tzselect.ksh: Add +x mode bits.
46412         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46413         (ANON_INODE_FS_MAGIC): Likewise.
46414         (BDEVFS_MAGIC): Likewise.
46415         (BINFMTFS_MAGIC): Likewise.
46416         (BTRFS_TEST_MAGIC): Likewise.
46417         (CRAMFS_MAGIC_WEND): Likewise.
46418         (DEBUGFS_MAGIC): Likewise.
46419         (ECRYPTFS_SUPER_MAGIC): Likewise.
46420         (EXT3_SUPER_MAGIC): Likewise.
46421         (EXT4_SUPER_MAGIC): Likewise.
46422         (FUTEXFS_SUPER_MAGIC): Likewise.
46423         (HOSTFS_SUPER_MAGIC): Likewise.
46424         (HUGETLBFS_MAGIC): Likewise.
46425         (MINIX3_SUPER_MAGIC): Likewise.
46426         (MTD_INODE_FS_MAGIC): Likewise.
46427         (NILFS_SUPER_MAGIC): Likewise.
46428         (OPENPROM_SUPER_MAGIC): Likewise.
46429         (PIPEFS_MAGIC): Likewise.
46430         (PSTOREFS_MAGIC): Likewise.
46431         (QNX6_SUPER_MAGIC): Likewise.
46432         (RAMFS_MAGIC): Likewise.
46433         (REISERFS_SUPER_MAGIC_STRING): Likewise.
46434         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46435         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46436         (SECURITYFS_MAGIC): Likewise.
46437         (SELINUX_MAGIC): Likewise.
46438         (SMACK_MAGIC): Likewise.
46439         (SOCKFS_MAGIC): Likewise.
46440         (SQUASHFS_MAGIC): Likewise.
46441         (STACK_END_MAGIC): Likewise.
46442         (TMPFS_MAGIC): Likewise.
46443         (USBDEVICE_SUPER_MAGIC): Likewise.
46444         (V9FS_MAGIC): Likewise.
46445         (XENFS_SUPER_MAGIC): Likewise.
46446         (CRAMFS_MAGIC): Fix typo in comment.
46447         (EXT2_SUPER_MAGIC): Update comment.
46448         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46450 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
46452         * sysdeps/arm: Move directory from ports/sysdeps/arm.
46453         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46454         * sysdeps/unix/sysv/linux/arm: Move directory from
46455         ports/sysdeps/unix/sysv/linux/arm.
46456         * README: Update listing for arm-*-linux-gnueabi.
46458         * README: Remove mention of am33.
46460 2014-02-07  Roland McGrath  <roland@hack.frob.com>
46462         * bits/sigset.h (__sigemptyset): Use a statement expression rather
46463         than the comma operator, to avoid "rhs of comma has no effect"
46464         compiler warnings.
46465         (__sigfillset, __sigandset, __sigorset): Likewise.
46466         * include/signal.h (__sigemptyset): Likewise.
46467         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46469 2014-02-07  Allan McRae  <allan@archlinux.org>
46471         * version.h (RELEASE): Set to "development".
46472         (VERSION): Set to "2.19.90"
46473         * NEWS: Add 2.20 section.
46475 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
46477         [BZ #16529]
46478         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46480 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46482         * manual/contrib.texi: Update entry for Carlos O'Donell,
46483         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46485 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
46487         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46489         * sysdeps/unix/sysv/linux/kernel-features.h
46490         [__LINUX_KERNEL_VERSION >= 0x020621]
46491         (__ASSUME_PROC_PID_TASK_COMM): Define.
46493 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46495         [BZ #16398]
46496         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46497         conversion when destination buffer does not have enough space.
46498         * libio/tst-ftell-partial-wide.c: New test case.
46499         * libio/Makefile (tests): Add tst-ftell-partial-wide.
46501         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46502         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
46503         Leonard and Allan McRae.
46505 2014-02-04  David S. Miller  <davem@davemloft.net>
46507         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46508         32-bit.
46510 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46513         New file
46514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46515         New file
46516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46517         New file.
46518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46519         New file.
46520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46521         New file.
46522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46523         New file.
46524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46525         New file.
46526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46527         New file.
46528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46529         New file.
46530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46531         New file.
46532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46533         New file.
46534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46535         New file.
46536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46537         New file.
46539 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46541         * nptl/shlib-versions: Change powerpc*le start to 2.17.
46542         * shlib-versions: Likewise.
46544 2014-02-04  Roland McGrath  <roland@hack.frob.com>
46545             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46547         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46548         (abilist-pattern): New variable, set to %-le.abilist.
46550         * Makerules (abilist-pattern): New variable.
46551         (vpath): Use $(abilist-pattern) in place of %.abilist.
46552         (check-abi-% pattern rule): Likewise.
46553         (check-abi, update-abi): Likewise.
46555 2014-02-04  Eric Wong  <normalperson@yhbt.net>
46557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46559 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
46561         * manual/startup.texi: Add next, previous, and top entries for
46562         the `Program Arguments' and `Environment Variables' nodes.
46564 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
46566         * manual/macros.texi: Add comments before MTASC-safety macros.
46568         * manual/users.texi: Document MTASC-safety properties.
46570         * manual/threads.texi (pthread_key_create, pthread_key_delete)
46571         (pthread_getspecific, pthread_setspecific): Format with
46572         @deftypefun, and add @safety note.
46573         * manual/signal.texi: Move comments that analyze the above
46574         functions to their home place.
46576 2014-02-03  Allan McRae  <allan@archlinux.org>
46578         * po/sl.po: Update Slovenian translation from translation project.
46580 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
46582         * manual/time.texi (timegm): Add missing blank after @c.
46583         Reported by Joseph Myers <joseph@codesourcery.com>.
46585 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
46587         * manual/check-safety.sh: New.
46588         * manual/Makefile ($(objpfx)stamp-summary): Run it.
46590         * manual/terminal.texi: Document MTASC-safety properties.
46592         * manual/filesys.texi: Document MTASC-safety properties.
46594         * manual/errno.texi: Document MTASC-safety properties.
46596         * manual/intro.texi: Document safety identifiers and
46597         conditionals.
46599         * manual/string.texi (wcstok): Fix prototype.
46600         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46602         * manual/time.texi: Document MTASC-safety properties.
46604         * manual/string.texi: Document MTASC-safety properties.
46606         * manual/threads.texi: Document MTASC-safety properties.
46608         * manual/stdio.texi: Document MTASC-safety properties.
46610         * manual/syslog.texi: Document MTASC-safety properties.
46612         * manual/sysinfo.texi: Document MTASC-safety properties.
46614         * manual/startup.texi: Document MTASC-safety properties.
46616         * manual/socket.texi: Document MTASC-safety properties.
46618         * manual/signal.texi: Document MTASC-safety properties.
46620 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
46622         * manual/setjmp.texi: Document MTASC-safety properties.
46624         * manual/search.texi: Document MTASC-safety properties.
46626         * manual/resource.texi: Document MTASC-safety properties.
46628         * manual/process.texi: Document MTASC-safety properties.
46630         * manual/platform.texi: Document MTASC-safety properties.
46632         * manual/pipe.texi: Document MTASC-safety properties.
46634         * manual/pattern.texi: Document MTASC-safety properties.
46636         * manual/message.texi: Document MTASC-safety properties.
46638         [BZ #12751]
46639         * manual/memory.texi: Document MTASC-safety properties.
46641         * manual/math.texi: Document MTASC-safety properties.
46643         * manual/locale.texi: Document MTASC-safety properties.
46645         * manual/llio.texi: Document MTASC-safety properties.
46647         * manual/libdl.texi: New.
46649         * manual/lang.texi: Document MTASC-safety properties.
46651         * manual/job.texi: Document MTASC-safety properties.
46653         * manual/getopt.texi: Document MTASC-safety properties.
46655         * manual/ctype.texi: Document MTASC-safety properties.
46657 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
46659         [BZ #16046]
46660         * csu/libc-tls.c (static_map): Remove variable.
46661         (__libc_setup_tls): Use main executable's link map for TLS data.
46662         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46663         casing for LM_ID_BASE and GL(dl_nns).
46664         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46665         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
46666         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46667         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46668         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46669         member.
46670         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46671         l_phnum members.
46673 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
46675         * manual/debug.texi: Document MTASC-safety properties.
46677 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
46679         [BZ #16510]
46680         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46681         of __x86_64__ when disabling x87 inline functions.
46683 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
46685         * manual/charset.texi: Document MTASC-safety properties.
46687         * manual/crypt.texi: Document MTASC-safety properties.
46689         * manual/conf.texi: Document MTASC-safety properties.
46691         * manual/arith.texi: Document MTASC-safety properties.
46693         * manual/argp.texi: Document MTASC-safety properties.
46695         * manual/macros.texi: Introduce macros to document multi
46696         thread, asynchronous signal and asynchronous cancellation
46697         safety properties.
46698         * manual/intro.texi: Introduce the properties themselves.
46700 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46702         * sysdeps/sh/sh4/Makefile: New file.
46704 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
46706         * math/gen-libm-test.pl ($srcdir): New variable.
46707         ($auto_input): Use it.
46709 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46711         [BZ #16506]
46712         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46713         access beyond array bounds when parsing netgroups file.
46715         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46716         the old buffer before realloc.
46718 2014-01-27  Allan McRae  <allan@archlinux.org>
46720         * po/fr.po: Update French translation from translation project.
46722 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46724         * sysdeps/sh/libm-test-ulps: Regenerate.
46726 2014-01-24  David S. Miller  <davem@davemloft.net>
46728         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46730 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46732         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46733         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46735 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46737         [BZ #16474]
46738         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46739         string pointers after reallocation.
46741 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46743         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46744         __SH4A__ instead of __SH_FPU_ANY__.
46746 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46748         * sysdeps/sh/fpu_control.h: New file.
46749         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46750         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46751         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46752         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46753         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46754         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46755         * sysdeps/sh/sys/ucontext.h: Remove.
46756         * sysdeps/sh/sys: Remove directory.
46758 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46760         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46761         s390/sys/ucontext.h.
46762         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46763         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46765 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
46767         [BZ #15605]
46768         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46770 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46772         [BZ#16431]
46773         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46774         Adjust the vDSO correctly for internal calls.
46775         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46777 2014-01-20  Allan McRae  <allan@archlinux.org>
46779         * po/ca.po: Update Catalan translation from translation project.
46781 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
46783         * sysdeps/s390/sotruss-lib.c: New file.
46785 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46787         [BZ#16430]
46788         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46789         (__GI___gettimeofday): Alias for a different internal symbol to avoid
46790         local calls issues by not having a PLT stub required for IFUNC calls.
46791         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46793 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
46795         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46796         * math/test-fpucw-static.c: Likewise.
46798 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46800         [BZ #16453]
46801         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46803 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46805         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46806         implementation for powerpc.
46808 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
46810         [BZ #14782]
46811         * sysdeps/posix/system.c (__libc_system): Do not enable
46812         asynchronous cancellation.
46814 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46816         [BZ #16427]
46817         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46818         handling only for numbers special also in the IEEE case.
46820 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46822         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46824 2014-01-11  Allan McRae  <allan@archlinux.org>
46826         * po/bg.po: Update Bulgarian translation from translation project.
46828         * po/de.po: Update German translation from translation project.
46830 2014-01-10  Roland McGrath  <roland@hack.frob.com>
46832         * sysdeps/generic/gcc-compat.h: New file.
46834 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46836         * benchtests/asin-inputs: Correct slow inputs.
46837         * benchtests/acos-inputs: Likewise.
46839 2014-01-10  Allan McRae  <allan@archlinux.org>
46841         * po:sv.po: Update Swedish translation from translation project.
46843         * po/vi.po: Update Vietnamese translation from translation project.
46845         * po/eo.po: Update Esperanto translation from translation project.
46847         * po/cs.po: Update Czech translation from translation project.
46849         * po/nl.po: Update Dutch translation from translation project.
46851         * po/pl.po: Update Polish translation from translation project.
46853         * po/ru.po: Update Russian translation from translation project.
46855         * po/uk.po: Update Ukrainian translation from translation project.
46857 2014-01-08  Brooks Moses  <bmoses@google.com>
46859         * elf/dl-load.c: Fix comment typo.
46861 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
46863         * po/header.pot: Rename to...
46864         * po/pot.header: ... this.
46865         * po/Makefile: Use pot.header.
46867 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
46868             Maxim Kuvyrkov  <maxim@kugelworks.com>
46870         [BZ #16394]
46871         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
46872         SRC and DEST against LEN.
46874 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46876         [BZ #16414]
46877         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
46878         implementation.
46879         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
46881 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46885 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
46887         [BZ #16408]
46888         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
46889         for large positive arguments.
46891 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
46893         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46895         * math/auto-libm-test-in: Mark various tests with
46896         xfail-rounding:ldbl-128ibm.
46897         * math/auto-libm-test-out: Regenerated.
46899         [BZ #16407]
46900         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46901         Increase overflow threshold.
46903 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
46905         [BZ #14286]
46906         * stdio-common/vfprintf.c: Check for integer overflow.
46908 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46910         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
46911         the first argument and return value of __tls_get_addr_internal.
46913 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46915         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
46916         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
46918 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46920         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
46921         * sysdeps/s390/rtld-global-offsets.sym: New file.
46922         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
46923         GLIBC_2.19 symbol.
46924         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
46925         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
46926         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46927         ... this.
46928         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
46929         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46930         ... this.
46931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46932         Regenerate.
46933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46934         Regenerate.
46935         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
46936         halfs of GPRs for high_gprs contexts.
46937         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
46938         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
46939         field.
46940         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
46941         uc_flags field.
46942         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
46943         64 bit versions:
46944         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
46945         for high GPRs (uc_high_gprs) and for future extensions
46946         (__reserved).
46947         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
46948         for future extensions (__reserved).
46949         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
46950         64 bit versions:
46951         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
46952         SC_HIGHGPRS offset definition.
46953         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
46954         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
46956         * Versions.def: Add GLIBC_2.19 for libpthread.
46957         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
46958         siglongjmp for libpthread with GLIBC_2.19 symver.
46959         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
46960         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
46961         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
46962         * sysdeps/s390/__longjmp.c: New file.
46963         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
46964         * sysdeps/s390/longjmp.c: New file.
46965         * sysdeps/s390/setjmp.S: New file.
46966         * sysdeps/s390/sigjmp.S: New file.
46967         * sysdeps/s390/v1-longjmp.c: New file.
46968         * sysdeps/s390/v1-setjmp.h: New file.
46969         * sysdeps/s390/v1-sigjmp.c: New file.
46970         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
46971         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
46972         GLIBC_2.19 version.
46973         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
46974         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
46975         versioned symbols for ____longjmp_chk.
46976         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46977         Likewise.
46978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46979         Regenerate.
46980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46981         Regenerate.
46982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46983         Regenerate.
46984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46985         Regenerate.
46986         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
46987         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
46988         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
46989         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
46990         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
46991         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
46992         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
46993         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
46994         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
46995         * sysdeps/s390/rtld-__longjmp.c: New file.
46996         * sysdeps/s390/rtld-setjmp.S: New file.
46998 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47000         [BZ #16400]
47001         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47002         Return -__logl (x) for small positive arguments without evaluating
47003         a polynomial.
47005 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47007         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47008         Rename to ...
47009         (__ptrace_peeksiginfo_args): ... this.
47010         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47011         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47012         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47014 2014-01-06  Allan McRae  <allan@archlinux.org>
47016         * inet/netinet/in.h: Fix typo in comment.
47018 2014-01-05  Andreas Jaeger  <aj@suse.de>
47020         * sysdeps/i386/fpu/libm-test-ulps: Update.
47022 2014-01-05  Allan McRae  <allan@archlinux.org>
47024         * po/libc.pot: Regenerated.
47026         * malloc/memusagestat.c: Fix gettext call formatting.
47028 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47030         * nscd/nscd.c: Improve usage() output.
47032 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47034         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47035         * sysdeps/unix/sysv/linux/configure: Regenerated.
47036         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47037         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47039 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47041         [BZ #16390]
47042         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47043         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47045 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47047         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47048         extra tokens at end of #undef directive.
47049         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47050         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47051         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47053 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47055         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47057         * math/auto-libm-test-in: Mark various tests with
47058         xfail-rounding:ldbl-128ibm.
47059         * math/auto-libm-test-out: Regenerated.
47061 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47063         [BZ #16386]
47064         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47065         numbers with subnormal high part when calculating exponent.
47067         [BZ #16385]
47068         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47069         fabs.
47071         [BZ #16384]
47072         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47073         M_LN2l.
47074         (__ieee754_acoshl): Use __log1pl not __log1p.
47076 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
47078         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47079         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47080         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47081         (grow_heap, heap_trim, _int_new_arena, get_free_list)
47082         (reused_arena, arena_get2): Convert to GNU style.
47083         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47084         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47085         (memalign_check, __malloc_set_state): Likewise.
47086         * malloc/mallocbug.c (main): Likewise.
47087         * malloc/malloc.c (__malloc_assert, malloc_init_state)
47088         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47089         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47090         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47091         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47092         (__posix_memalign, malloc_info): Likewise.
47093         * malloc/malloc.h: Likewise.
47094         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47095         (mallochook, memalignhook, reallochook, mabort): Likewise.
47096         * malloc/mcheck.h: Likewise.
47097         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47098         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47099         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47100         * malloc/morecore.c (__default_morecore): Likewise.
47101         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47102         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47103         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47104         (print_and_abort): Likewise.
47105         * malloc/obstack.h: Likewise.
47106         * malloc/set-freeres.c (__libc_freeres): Likewise.
47107         * malloc/tst-mallocstate.c (main): Likewise.
47108         * malloc/tst-mtrace.c (main): Likewise.
47109         * malloc/tst-realloc.c (do_test): Likewise.
47111 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47113         [BZ #16366]
47114         * nscd/netgroupcache.c (do_notfound): New function.
47115         (addgetnetgrentX): Use it.
47117         [BZ # 16365]
47118         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47119         NSS_STATUS_NOTFOUND.
47121 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
47123         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47126 2014-01-01  Allan McRae  <allan@archlinux.org>
47128         * scripts/update-copyrights: Update configure input file suffix.
47130         * NEWS: Update copyright year.
47131         * catgets/gencat.c: Likewise.
47132         * csu/version.c: Likewise.
47133         * debug/catchsegv.sh: Likewise.
47134         * debug/pcprofiledump.c: Likewise.
47135         * debug/xtrace.sh: Likewise.
47136         * elf/ldconfig.c: Likewise.
47137         * elf/ldd.bash.in: Likewise.
47138         * elf/pldd.c: Likewise.
47139         * elf/sotruss.ksh: Likewise.
47140         * elf/sprof.c: Likewise.
47141         * iconv/iconv_prog.c: Likewise.
47142         * iconv/iconvconfig.c: Likewise.
47143         * locale/programs/locale.c: Likewise.
47144         * locale/programs/localedef.c: Likewise.
47145         * login/programs/pt_chown.c: Likewise.
47146         * malloc/memusage.sh: Likewise.
47147         * malloc/memusagestat.c: Likewise.
47148         * malloc/mtrace.pl: Likewise.
47149         * manual/libc.texinfo: Likewise.
47150         * nscd/nscd.c: Likewise.
47151         * nss/getent.c: Likewise.
47152         * nss/makedb.c: Likewise.
47153         * posix/getconf.c: Likewise.
47154         * scripts/test-installation.pl: Likewise.
47156         * All files with FSF copyright notices: Update copyright dates
47157         using scripts/update-copyrights.
47158         * intl/plural.c: Regenerated.
47159         * locale/programs/charmap-kw.h: Likewise.
47160         * locale/programs/locfile-kw.h: Likewise.
47162 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
47164         * sysdeps/unix/sysv/linux/configure: Regenerated.
47165         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47166         the linux/fanotify.h header.
47167         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47168         HAVE_LINUX_FANOTIFY_H is defined.
47170 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47172         * benchtests/cos-inputs: New inputs.
47173         * benchtests/sin-inputs: Likewise.
47175         * benchtests/atan-inputs: New inputs. Fix name of multiple
47176         precision fallback inputs.
47178         * benchtests/atanh-inputs: New inputs.
47179         * benchtests/tanh-inputs: Likewise.
47181         * benchtests/acosh-inputs: New inputs.
47182         * benchtests/asinh-inputs: Likewise.
47184         * benchtests/cosh-inputs: New inputs.
47185         * benchtests/sinh-inputs: Likewise.
47187         * benchtests/acos-inputs: Add more inputs.
47188         * benchtests/asin-inputs: Likewise.
47190 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
47192         [BZ #16375]
47193         * manual/arith.texi: Fix spelling.
47194         * manual/charset.texi: Likewise.
47195         * manual/errno.texi: Likewise.
47196         * manual/filesys.texi: Likewise.
47197         * manual/lang.texi: Likewise.
47198         * manual/llio.texi: Likewise.
47199         * manual/locale.texi: Likewise.
47200         * manual/message.texi: Likewise.
47201         * manual/resource.texi: Likewise.
47202         * manual/search.texi: Likewise.
47203         * manual/setjmp.texi: Likewise.
47204         * manual/stdio.texi: Likewise.
47205         * manual/string.texi: Likewise.
47206         * manual/sysinfo.texi: Likewise.
47207         * manual/time.texi: Likewise.
47209 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
47211         * po/sl.po: New file.
47213 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
47215         * .gitignore: Add core/.gdbinit/.gdb_history.
47217 2013-12-27  Allan McRae  <allan@archlinux.org>
47219         [BZ #16369]
47220         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47221         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47223 2013-12-24  Brooks Moses  <bmoses@google.com>
47225         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47226         all compilers that claim C++98 compliance, not just GCC.
47227         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47228         Likewise.
47230 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47232         * NEWS: Restore accidentally deleted bug-fix entries.
47234 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47235             Ondřej Bílka  <neleai@seznam.cz>
47237         [BZ #15073]
47238         * malloc/malloc.c (_int_free): Perform sanity check only if we
47239         have_lock.
47241 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
47243         [BZ #12986]
47244         * manual/stdio.texi (String Input Conversions): Clarify that character
47245         classes are not supported.
47247 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47251 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
47253         [BZ #16337]
47254         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47255         Calculate results for small negative arguments directly rather
47256         than using reflection formula with special underflow handling.
47258         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47259         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47260         sysdeps/unix/bsd/bsd4.4/syscalls.list.
47261         (fchflags): Likewise.
47262         (revoke): Likewise.
47263         (setlogin): Likewise.
47264         (sigaltstack): Likewise.
47265         (wait4): Likewise.
47266         (sigblock): Remove.
47267         (sigsetmask): Likewise.
47268         (wait3): Likewise.
47269         (waitpid): Likewise.
47270         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47271         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47272         file.
47273         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47274         * sysdeps/unix/bsd/Makefile: ... here.
47275         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47276         * sysdeps/unix/bsd/Versions: ... here.
47277         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47278         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47279         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47280         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47281         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47282         * sysdeps/unix/bsd/sigblock.c: ... here.
47283         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47284         * sysdeps/unix/bsd/sigsetmask.c: ... here.
47285         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47286         * sysdeps/unix/bsd/sigvec.c: ... here.
47287         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47288         * sysdeps/unix/bsd/tcdrain.c: ... here.
47289         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47290         * sysdeps/unix/bsd/tcgetattr.c: ... here.
47291         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47292         * sysdeps/unix/bsd/tcsetattr.c: ... here.
47293         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47294         * sysdeps/unix/bsd/wait.c: ... here.
47295         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47296         * sysdeps/unix/bsd/wait3.c: ... here.
47297         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47298         * sysdeps/unix/bsd/waitpid.c: ... here.
47300 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
47302         [BZ #16356]
47303         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47304         round-to-nearest for [!USE_AS_EXPM1L].
47305         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47306         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
47307         more tests of exp and exp10.  Expect some exp10 tests to miss
47308         exceptions or fail in directed rounding modes.
47309         * math/auto-libm-test-out: Regenerated.
47310         * math/libm-test.inc (exp10_tonearest_test_data): New array.
47311         (exp10_test_tonearest): New function.
47312         (exp10_towardzero_test_data): New array.
47313         (exp10_test_towardzero): New function.
47314         (exp10_downward_test_data): New array.
47315         (exp10_test_downward): New function.
47316         (exp10_upward_test_data): New array.
47317         (exp10_test_upward): New function.
47318         (main): Call the new functions.
47319         * sysdeps/i386/fpu/libm-test-ulps: Update.
47320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47322 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
47324         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47325         asinh, atan, atan2, atanh, cbrt, cos and cosh.
47326         * math/auto-libm-test-out: Regenerated.
47327         * math/libm-test.inc (acosh_test_data): Add more tests.
47328         (atanh_test_data): Likewise.
47329         (ceil_test_data): Likewise.
47330         (copysign_test_data): Likewise.
47331         * sysdeps/i386/fpu/libm-test-ulps: Update.
47332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47334         * timezone/checktab.awk: Update from tzcode 2013i.
47335         * timezone/private.h: Likewise.
47336         * timezone/scheck.c: Likewise.
47337         * timezone/tzfile.h: Likewise.
47338         * timezone/tzselect.ksh: Likewise.
47339         * timezone/zdump.c: Likewise.
47340         * timezone/zic.c: Likewise.
47342         * math/auto-libm-test-in: Add tests of cpow.
47343         * math/auto-libm-test-out: Regenerated.
47344         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47345         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47346         mpc_cc_c.
47347         (func_calc_desc): Add mpc_cc_c union field.
47348         (test_functions): Add cpow.
47349         (special_fill_2pi): New function.
47350         (special_real_inputs): Add 2pi.
47351         (calc_generic_results): Handle mpc_cc_c.
47352         * sysdeps/i386/fpu/libm-test-ulps: Update.
47353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47355         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47356         csqrt, ctan and ctanh.
47357         * math/auto-libm-test-out: Regenerated.
47358         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47359         (TEST_COND_x86): Likewise.
47360         (ccos_test_data): Use AUTO_TESTS_c_c.
47361         (ccosh_test_data): Likewise.
47362         (cexp_test_data): Likewise.
47363         (clog_test_data): Likewise.
47364         (csqrt_test_data): Likewise.
47365         (ctan_test_data): Likewise.
47366         (ctan_tonearest_test_data): Likewise.
47367         (ctan_towardzero_test_data): Likewise.
47368         (ctan_downward_test_data): Likewise.
47369         (ctan_upward_test_data): Likewise.
47370         (ctanh_test_data): Likewise.
47371         (ctanh_tonearest_test_data): Likewise.
47372         (ctanh_towardzero_test_data): Likewise.
47373         (ctanh_downward_test_data): Likewise.
47374         (ctanh_upward_test_data): Likewise.
47375         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47376         mpc_c_c.
47377         (func_calc_desc): Add mpc_c_c union field.
47378         (FUNC_mpc_c_c): New macro.
47379         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47380         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47381         ctanh.
47382         (special_fill_min_subnorm_p120): New function.
47383         (special_real_inputs): Add min_subnorm_p120.
47384         (calc_generic_results): Handle mpc_c_c.
47385         * sysdeps/i386/fpu/libm-test-ulps: Update.
47386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47388 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47390         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47391         (do_sin_slow): New functions.
47392         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47393         (cslow2, csloww1, csloww2): Use the new functions.
47395         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47396         Use M to change sign of result instead of X.  Assume X is
47397         positive.
47398         (csloww1): Likewise.
47399         (__sin): Adjust.
47400         (__cos): Adjust.
47402         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47403         arguments A and DA.
47404         (__sin): Adjust.
47405         (__cos): Likewise.
47407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47408         (__cos): Likewise.
47409         (sloww1): Don't adjust sign of DX.
47410         (csloww1): Likewise.
47411         (sloww2): Use X directly and don't adjust sign of DX.
47412         (csloww2): Likewise.
47414 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47416         * math/auto-libm-test-in: Add tests of cabs and carg.
47417         * math/auto-libm-test-out: Regenerated.
47418         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47419         (carg_test_data): Likewise.
47420         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47421         mpc_c_f.
47422         (func_calc_desc): Add mpc_c_f union field.
47423         (test_functions): Add cabs and carg.
47424         (calc_generic_results): Handle mpc_c_f.
47426         * sysdeps/powerpc/powerpc32/libgcc-compat.S
47427         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47428         as a macro and a compat symbol.
47429         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47430         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47431         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47432         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47433         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47434         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47435         not use .hidden.
47436         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47437         Likewise.
47438         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47439         Likewise.
47440         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47441         Likewise.
47442         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47443         Likewise.
47444         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47445         Likewise.
47446         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47447         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47448         from GLIBC_2.3.2.
47450 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47454 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47456         * manual/texinfo.tex: Update to version 2013-11-26.10 with
47457         trailing whitespace removed.
47458         * scripts/config.guess: Update to version 2013-11-29.
47459         * scripts/config.sub: Update to version 2013-10-01.
47461         * math/auto-libm-test-in: Add tests of sincos.
47462         * math/auto-libm-test-out: Regenerated.
47463         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47464         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47465         mpfr_f_11.
47466         (func_calc_desc): Add mpfr_f_11 union field.
47467         (test_functions): Add sincos.
47468         (calc_generic_results): Handle mpfr_f_11.
47469         * sysdeps/i386/fpu/libm-test-ulps: Update.
47470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47472 2013-12-19  Andreas Schwab  <schwab@suse.de>
47474         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47475         CALL_MCOUNT.
47476         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47477         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47478         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47480 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47482         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47483         * sysdeps/i386/fpu/libm-test-ulps: Update.
47484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47486         [BZ #16293]
47487         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47488         round-to-nearest mode when using frndint.
47489         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47490         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47491         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47492         Likewise.
47493         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
47494         sinh test to fail.
47495         * math/auto-libm-test-out: Regenerated.
47496         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47497         (TEST_COND_x86): Likewise.
47498         (expm1_tonearest_test_data): New array.
47499         (expm1_test_tonearest): New function.
47500         (expm1_towardzero_test_data): New array.
47501         (expm1_test_towardzero): New function.
47502         (expm1_downward_test_data): New array.
47503         (expm1_test_downward): New function.
47504         (expm1_upward_test_data): New array.
47505         (expm1_test_upward): New function.
47506         (main): Run the new test functions.
47507         * sysdeps/i386/fpu/libm-test-ulps: Update.
47508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47510         * include/features.h: Update comment documenting feature test
47511         macros.  Mention _DEFAULT_SOURCE in comment.
47512         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47513         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47514         _BSD_SOURCE and _SVID_SOURCE.
47515         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47516         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47517         !_SVID_SOURCE]: Likewise.
47518         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47519         (__USE_POSIX_IMPLICITLY): Define.
47520         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47521         (_POSIX_SOURCE): Undefine and redefine.
47522         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47523         (_POSIX_C_SOURCE): Likewise.
47524         * manual/creature.texi (_DEFAULT_SOURCE): Document.
47525         (Feature Test Macros): Update documentation of default features.
47527 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47529         * benchtests/Makefile: Add bench-strtok.
47530         * benchtests/bench-strtok.c: New file: strtok benchtest.
47532 2013-12-19  Allan McRae  <allan@archlinux.org>
47534         * manual/install.texi: Suppress menu for plain text output.
47535         * INSTALL: Regenerated.
47537 2013-12-18  Brooks Moses  <bmoses@google.com>
47539         [BZ #15846]
47540         * misc/getauxval.c: Include errno.h.
47541         (__getauxval): Set errno to ENOENT if the requested type is not
47542         found.
47543         * misc/sys/auxv.h (getauxval): Document that it may set errno;
47544         don't declare with __attribute_const__.
47545         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47546         * manual/startup.texi: Document that getauxval sets errno.
47548 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47550         * math/auto-libm-test-in: Add tests of jn and yn.
47551         * math/auto-libm-test-out: Regenerated.
47552         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47553         (yn_test_data): Likewise.
47554         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47555         mpfr_if_f.
47556         (func_calc_desc): Add mpfr_if_f union field.
47557         (FUNC_mpfr_if_f): New macro.
47558         (test_functions): Add jn and yn.
47559         (calc_generic_results): Assert type of second input for
47560         mpfr_ff_f.  Handle mpfr_if_f.
47561         (output_for_one_input_case): Disable all checking for arguments
47562         fitting floating-point types in case of an integer argument.
47563         * sysdeps/i386/fpu/libm-test-ulps: Update.
47564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47567         Don't expect fegetround reference in libm.so.
47569 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47571         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47572         $(config-cflags-nofma).
47574 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47576         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47577         * math/auto-libm-test-out: Regenerated.
47579         [BZ #16338]
47580         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47581         to determine exponent and adjust argument to have exponent of -1.
47582         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47583         log2.
47584         * math/auto-libm-test-out: Regenerated.
47585         * sysdeps/i386/fpu/libm-test-ulps: Update.
47586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47588 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
47590         * manual/probes.texi: Remove cases when per-thread arenas are
47591         disabled.
47593 2013-12-18  Andreas Schwab  <schwab@suse.de>
47595         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47596         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47597         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47598         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47599         * sysdeps/i386/i686/multiarch/Makefile: Update.
47600         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47602 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47604         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47605         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47607 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
47609         [BZ #15968]
47610         Support TZ transition times < 00:00:00.
47611         This is needed for version-3 tz-format files; it supports time
47612         stamps past 2037 for America/Godthab (the only entry in the tz
47613         database for which this change is relevant).
47614         * manual/time.texi (TZ Variable): Document transition times
47615         from -167:59:59 through -00:00:01.
47616         * time/tzset.c (tz_rule): Time of day is now signed.
47617         (__tzset_parse_tz): Parse negative time of day.
47619         Document TZ transition times >= 25:00:00.
47620         * manual/time.texi (TZ Variable): Document transition times from
47621         25:00:00 through 167:59:59.  These are already supported, and this
47622         support will help with version-3 tz-format files.
47624         * manual/time.texi (TZ Variable): Modernize North America example
47625         to reflect current (i.e., 2007-and-later) daylight saving rules.
47627         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47629 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47631         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47632         * sysdeps/unix/bsd/bits/stat.h: Likewise.
47633         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47634         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47635         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47636         * sysdeps/unix/bsd/bsdstat.h: Likewise.
47637         * sysdeps/unix/bsd/clock.c: Likewise.
47638         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47639         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47640         * sysdeps/unix/bsd/init-posix.c: Likewise.
47641         * sysdeps/unix/bsd/poll.c: Likewise.
47642         * sysdeps/unix/bsd/ptsname.c: Likewise.
47643         * sysdeps/unix/bsd/seekdir.c: Likewise.
47644         * sysdeps/unix/bsd/setegid.c: Likewise.
47645         * sysdeps/unix/bsd/seteuid.c: Likewise.
47646         * sysdeps/unix/bsd/setgid.c: Likewise.
47647         * sysdeps/unix/bsd/setrgid.c: Likewise.
47648         * sysdeps/unix/bsd/setruid.c: Likewise.
47649         * sysdeps/unix/bsd/setsid.c: Likewise.
47650         * sysdeps/unix/bsd/setuid.c: Likewise.
47651         * sysdeps/unix/bsd/sigaction.c: Likewise.
47652         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47653         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47654         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47655         * sysdeps/unix/bsd/telldir.c: Likewise.
47656         * sysdeps/unix/bsd/times.c: Likewise.
47657         * sysdeps/unix/bsd/usleep.c: Likewise.
47659         * misc/Makefile (install-lib): Remove libbsd-compat.a.
47660         ($(objpfx)libbsd-compat.a): Remove rule.
47662         * include/features.h (__FAVOR_BSD): Do not define.
47663         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47664         features conflicting with POSIX.
47665         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47666         (_BSD_SOURCE): Remove description of not being a subset of other
47667         feature test macros.
47668         * manual/job.texi (getpgrp): Do not document BSD version.
47669         (getpgid): Do not document by reference to BSD getpgrp.
47670         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47671         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47672         * signal/signal.h [__FAVOR_BSD]: Likewise.
47673         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47674         instead of making contents conditional on [__FAVOR_BSD].
47675         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47677 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47681 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47683         [BZ #16314]
47684         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47685         values below 2**-450, not 2**-500.
47686         * math/auto-libm-test-in: Don't allow spurious underflow from
47687         hypot.
47688         * math/auto-libm-test-out: Regenerated.
47690         [BZ #16316]
47691         [BZ #16330]
47692         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47693         values of ha and hb and sort them after adjusting subnormal
47694         arguments.
47695         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47696         Likewise.
47697         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47698         values of ea and eb and sort them after adjusting subnormal
47699         arguments.
47700         * math/auto-libm-test-in: Do not expect some hypot tests of
47701         subnormals to fail.  Add more hypot tests.
47702         * math/auto-libm-test-out: Regenerated.
47704 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47706         [BZ #13304]
47707         * sysdeps/sh/s_fma.c: New file.
47708         * sysdeps/sh/s_fmaf.c: New file.
47709         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
47710         version.
47711         * sysdeps/sh/Implies: Add sh/soft-fp.
47713 2013-12-16  Roland McGrath  <roland@hack.frob.com>
47715         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
47716         level of indirection to members `objname', `errstring', `malloced'.
47717         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47718         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
47719         it as the __longjmp argument (just pass 1 instead).
47720         (_dl_catch_error): Initialize C with argument pointers and address of
47721         volatile local ERRCODE rather than copying values out of C at return.
47723 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
47725         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47726         * math/auto-libm-test-out: Regenerated.
47727         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47728         (hypot_test_data): Likewise.
47729         (pow_test_data): Likewise.
47730         (pow_tonearest_test_data): Likewise.
47731         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47732         mpfr_ff_f.
47733         (func_calc_desc): Add mpfr_ff_f union field.
47734         (FUNC_mpfr_ff_f): New macro.
47735         (test_functions): Add atan2, hypot and pow.
47736         (special_fill_min): New function.
47737         (special_fill_minus_min): Likewise.
47738         (special_fill_min_subnorm): Likewise.
47739         (special_fill_minus_min_subnorm): Likewise.
47740         (special_real_inputs): Add min, -min, min_subnorm and
47741         -min_subnorm.
47742         (calc_generic_results): Handle mpfr_ff_f.
47743         * sysdeps/i386/fpu/libm-test-ulps: Update.
47744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47746 2013-12-16  Will Newton  <will.newton@linaro.org>
47748         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47749         (Aligned Memory Blocks): Add documentation for aligned_alloc
47750         and suggest it as an alternative to posix_memalign.
47751         (Hooks for Malloc): Document __memalign_hook is also called
47752         for aligned_alloc.  (Summary of Malloc): Add summary for
47753         aligned alloc.  Document __memalign_hook is also called
47754         for aligned_alloc.
47756 2013-12-16  Will Newton  <will.newton@linaro.org>
47758         * manual/memory.texi (Malloc Examples): Clarify default
47759         alignment documentation.  Suggest posix_memalign rather
47760         than memalign or valloc.
47761         (Aligned Memory Blocks): Remove suggestion to use memalign
47762         or valloc.  Remove obsolete comment about BSD.
47763         Document memalign errno values and mark the function obsolete.
47764         Document posix_memalign returned error codes.  Mark valloc
47765         as obsolete.  (Hooks for Malloc): __memalign_hook is also
47766         called for posix_memalign and valloc.
47767         (Summary of Malloc): Add posix_memalign to function summary.
47768         __memalign_hook is also called for posix_memalign and valloc.
47770 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47772         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47773         TAYLOR_SIN.
47774         (__sin): Adjust.
47775         (__cos): Likewise.
47776         (sloww): Use mynumber union.  Expand ternary operator into
47777         if-else statements.
47778         (cslow): use mynumber union.
47780 2013-12-16  Allan McRae  <allan@archlinux.org>
47782         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47783         * configure: Regenerated.
47785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47787         [BZ #14120]
47788         * configure.ac: Added --enable-maintainer-mode. Check for
47789         autoconf when enabled.
47790         * configure: Regenerated.
47792         * nscd/nscd.service: New file.
47793         * nscd/nscd.tmpfiles: New file.
47795 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
47797         [BZ #12100]
47798         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47799         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47800         * sysdeps/x86_64/multiarch/strstr.c: ... here.
47801         (strstr): Add __strstr_sse2_unaligned ifunc.
47802         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47803         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47804         (strcasestr): Remove __strcasestr_sse42 ifunc.
47805         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47809 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47811         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47812         * sysdeps/sh/bits/fenv.h: ... here.
47813         * sysdeps/sh/sh4/fpu/bits: Remove directory.
47815 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47817         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47819         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47820         hypotf multiarch implementations.
47821         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47822         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47824         multiarch hypot for PPC64.
47825         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47826         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47827         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47828         multiarch hypotf for PPC64.
47830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47831         modff multiarch implementations.
47832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47835         multiarch modf for PPC64.
47836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47839         multiarch modff for PPC64.
47841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47842         and logl multiarch implementations.
47843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47846         multiarch logb for PPC64.
47847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47850         multiarch logb for PPC64.
47851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47854         multiarch logb for PPC64.
47856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47857         isinff multiarch implementation.
47858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47859         file.
47860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47862         multiarch isinf for PPC64.
47863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47864         file.
47865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47866         multiarch isinff for PPC64.
47868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47869         finitef multiarch implementation.
47870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
47871         file.
47872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
47873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
47874         multiarch finite for PPC64.
47875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
47876         file.
47877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
47878         multiarch finitef for PPC64.
47880         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
47881         lrint multiarch implementation.
47882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
47883         file.
47884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
47885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
47886         multiarch llrint for PPC64.
47887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
47888         multiarch lrint for PPC64.
47890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
47891         copysignf multiarch implementation.
47892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
47893         file.
47894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
47895         file.
47896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
47897         multiarch copysign for PPC64.
47898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
47899         multiarch copysignf for PPC64.
47901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
47902         multiarch implementation.
47903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
47904         file.
47905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
47906         file.
47907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
47908         file.
47909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
47910         file.
47911         multiarch llround for PPC64.
47912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
47913         multiarch trunc for PPC64.
47914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
47915         multiarch truncf for PPC64.
47917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
47918         multiarch implementation.
47919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
47920         file.
47921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
47922         file.
47923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
47924         file.
47925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
47926         file.
47927         multiarch llround for PPC64.
47928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
47929         multiarch round for PPC64.
47930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
47931         multiarch roundf for PPC64.
47933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
47934         multiarch implementation.
47935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
47936         file.
47937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
47938         file.
47939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
47940         file.
47941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
47942         file.
47943         multiarch llround for PPC64.
47944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
47945         multiarch floor for PPC64.
47946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
47947         multiarch floorf for PPC64.
47949         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
47950         multiarch implementation.
47951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
47952         file.
47953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
47954         file.
47955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
47956         file.
47957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
47958         file.
47959         multiarch llround for PPC64.
47960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
47961         multiarch ceil for PPC64.
47962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
47963         multiarch ceilf for PPC64.
47965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47966         multiarch implementation.
47967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
47968         file.
47969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
47970         file.
47971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
47972         file.
47973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
47974         multiarch llround for PPC64.
47975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
47976         multiarch lround for PPC64.
47978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47979         multiarch implementation.
47980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
47981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
47982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
47983         file.
47984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
47985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
47986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
47987         multiarch isnan for PPC64.
47988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
47989         multiarch isnanf for PPC64.
47991         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
47992         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
47993         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
47994         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
47995         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
47996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
47998         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
47999         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48000         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48001         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48004         multiarch implementations.
48005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48006         (__libc_ifunc_impl_list): Likewise.
48007         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48010         multiarch stpcpy for PPC64.
48012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48013         multiarch implementations.
48014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48015         (__libc_ifunc_impl_list): Likewise.
48016         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48017         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48018         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48019         multiarch strcpy for PPC64.
48021         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48022         redefine function name.
48023         (_wordcopy_fwd_dest_aligned): Likewise.
48024         (_wordcopy_bwd_aligned): Likewise.
48025         (_wordcopy_bwd_dest_aligned): Likewise.
48026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48027         multiarch implementations.
48028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48029         (__libc_ifunc_impl_list): Likewise.
48030         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48031         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48032         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48033         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48034         multiarch wcscpy for PPC64.
48036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48037         multiarch implementations.
48038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48039         (__libc_ifunc_impl_list): Likewise.
48040         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48041         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48042         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48043         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48044         multiarch wcscpy for PPC64.
48046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48047         multiarch implementations.
48048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48049         (__libc_ifunc_impl_list): Likewise.
48050         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48051         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48052         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48053         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48054         multiarch wcsrchr for PPC64.
48056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48057         multiarch implementations.
48058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48059         (__libc_ifunc_impl_list): Likewise.
48060         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48061         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48062         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48063         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48064         multiarch wcschr for PPC64.
48066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48067         multiarch implementations.
48068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48069         (__libc_ifunc_impl_list): Likewise.
48070         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48071         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48072         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48073         multiarch strchrnul for PPC64.
48075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48076         implementations.
48077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48078         (__libc_ifunc_impl_list): Likewise.
48079         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48080         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48081         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48082         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48083         strchr for PPC64.
48085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48086         implementations.
48087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48088         (__libc_ifunc_impl_list): Likewise.
48089         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48090         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48091         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48092         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48093         strncmp for PPC64.
48095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48096         multiarch implementations.
48097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48098         (__libc_ifunc_impl_list): Likewise.
48099         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48100         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48101         strncasecmp for PPC64.
48102         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48103         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48104         multiarch strncasecmp_l for PPC64.
48106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48107         multiarch implementations.
48108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48109         (__libc_ifunc_impl_list): Likewise.
48110         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48111         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48112         multiarch strcasecmp for PPC64.
48113         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48114         file.
48115         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48116         multiarch strcasecmp_l for PPC64.
48118         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48119         implementations.
48120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48121         (__libc_ifunc_impl_list): Likewise.
48122         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48123         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48124         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48125         strnlen for PPC64.
48127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48128         implementations.
48129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48130         (__libc_ifunc_impl_list): Likewise.
48131         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48132         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48133         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48134         strlen for PPC64.
48136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48137         implementations.
48138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48139         (__libc_ifunc_impl_list): Likewise.
48140         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48141         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48142         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48143         rawmemrchr for PPC64.
48145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48146         implementation.
48147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48148         (__libc_ifunc_impl_list): Likewise.
48149         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48150         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48151         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48152         memrchr for PPC64.
48154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48155         implementation.
48156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48157         (__libc_ifunc_impl_list): Likewise.
48158         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48159         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48160         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48161         memchr for PPC64.
48163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48164         implementation.
48165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48166         (__libc_ifunc_impl_list): Likewise.
48167         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48168         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48169         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48170         mempcpy for PPC64.
48172         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48173         avoid cretion of __bzero symbol.
48174         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48175         Likewise.
48176         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48177         Likewise.
48178         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48179         Likewise.
48180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48181         multiarch implementations.
48182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48183         (__libc_ifunc_impl_list): Likewise.
48184         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48185         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48186         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48187         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48188         bzero for PPC32.
48189         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48190         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48191         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48192         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48193         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48194         memset for PPC64.
48195         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48197         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48199         implementations.
48200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48201         (__libc_ifunc_impl_list): Likewise.
48202         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48203         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48204         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48205         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48206         memcmp for PPC64.
48208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48209         multiarch for POWER/PPC64.
48210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48211         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48212         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48213         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48214         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48215         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48216         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48217         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48218         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48219         memcpy for PPC64.
48221         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48222         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48223         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48224         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48225         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48226         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48227         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48228         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48229         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48230         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48231         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48232         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48233         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48234         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48235         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48244 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48246         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48248 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48250         * benchtests/Makefile (bench): Add exp2 and log2.
48251         (LDLIBS-bench-exp2): Add -lm.
48252         (LDLIBS-bench-log2): Likewise.
48253         * benchtests/exp2-inputs: New inputs file.
48254         * benchtests/log2-inputs: New inputs file.
48255         * benchtests/log-inputs: Add new inputs.
48256         * benchtests/tan-inputs: Likewise.
48258 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48260         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48261         definition...
48262         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48263         (csloww2): ... from here.
48265         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48266         instead of structures.
48267         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48268         (POLYNOMIAL): Likewise.
48269         (TAYLOR_SLOW): Likewise.
48270         (__sin): Likewise.
48271         (__cos): Likewise.
48272         (slow1): Likewise.
48273         (slow2): Likewise.
48274         (sloww): Likewise.
48275         (sloww1); Likewise.
48276         (sloww2): Likewise.
48277         (bsloww1): Likewise.
48278         (bsloww2): Likewise.
48279         (cslow2): Likewise.
48280         (csloww): Likewise.
48281         (csloww1): Likewise.
48282         (csloww2): Likewise.
48284 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
48286         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48287         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48288         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48289         * malloc/hooks.c (realloc_check): Likewise.
48291         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48292         * malloc/arena.c: Remove PER_THREAD conditional.
48293         [!PER_THREAD]: Remove code.
48294         (ptmalloc_unlock_all2): Likewise.
48295         (ptmalloc_init): Likewise.
48296         (_int_new_arena): Likewise.
48297         (arena_get2): Likewise.
48298         * malloc/hooks.c (__malloc_get_state): Likewise.
48299         (__malloc_set_state): Likewise.
48300         * malloc/malloc.c: Likewise.
48301         (struct malloc_state): Likewise.
48302         (struct malloc_par): Likewise.
48303         (__libc_realloc): Likewise.
48304         (__libc_mallopt): Likewise.
48306 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48308         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48310 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
48312         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48313         macro to a function.  Check for zero perturb_byte.
48314         (_int_malloc, _int_free): Remove zero perturb_byte checks.
48316         * malloc/malloc.c: (force_reg): Remove.
48317         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48318         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48319         force_reg by atomic_forced_read.
48320         * malloc/arena.c (ptmalloc_init): Likewise.
48321         * malloc/hooks.c (top_check): Likewise.
48323 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48327 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
48329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48331 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
48333         * math/auto-libm-test-in: Add tests of lgamma.
48334         * math/auto-libm-test-out: Regenerated.
48335         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48336         (M_LOG_2_SQRT_PIl): Likewise.
48337         (lgamma_test_data): Use AUTO_TESTS_f_f1.
48338         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48339         mpfr_f_f1.
48340         (func_calc_desc): Add mpfr_f_f1 union field.
48341         (ARGS1): New macro.
48342         (ARGS2): Likewise.
48343         (ARGS3): Likewise.
48344         (ARGS4): Likewise.
48345         (RET1): Likewise.
48346         (RET2): Likewise.
48347         (CALC): Likewise.
48348         (FUNC): Likewise.
48349         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48350         (test_functions): Add lgamma.
48351         (calc_generic_results): Handle mpfr_f_f1.
48352         * sysdeps/i386/fpu/libm-test-ulps: Update.
48353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48355 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48357         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48358         __mpn_add_n for PowerPC64/POWER7.
48359         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48360         __mpn_sub_n for PowerPC64/POWER7.
48362         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48363         __mpn_addmul_1 for PowerPC64.
48364         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48365         __mpn_submul_1 for PowerPC64.
48366         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48367         for PowerPC64.
48368         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48369         for PowerPC64.
48371 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
48373         [BZ #15089]
48374         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48376 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48378         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48380         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48381         add multiarch folders.
48382         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48383         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48384         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48385         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48386         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48387         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48388         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48389         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48390         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48391         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48392         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48401         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48403         New file.
48404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48405         New file.
48406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48407         multiarch __ieee754_hypot for PowerPC32.
48408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48409         New file.
48410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48411         New file.
48412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48413         multiarch __ieee754_hypotf for PowerPC32.
48415         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48416         long_double_symbol only if __logbl is defined.
48417         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48418         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48419         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48420         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48421         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48422         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48423         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48424         path for implementation.
48425         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48426         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48428         logb, and logbl multiarch implementations for PowerPC32.
48429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48430         file.
48431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48432         file.
48433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48434         multiarch logb for PowerPC32.
48435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48436         file.
48437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48438         file.
48439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48440         multiarch logbf for PowerPC32.
48441         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48443         file.
48444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48445         multiarch logbl implementation for PowerPC32.
48447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48448         and modff multiarch implementations.
48449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48450         New file.
48451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48452         New file.
48453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48454         multiarch modf for PowerPC32.
48455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48456         New file.
48457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48458         New file.
48459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48460         multiarch modff for PowerPC32.
48462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48463         and lrintf multiarch implementations.
48464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48465         New file.
48466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48467         New file.
48468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48469         multiarch lrint for PowerPC32.
48470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48471         file: multiarch lrintf for PowerPC32.
48473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48474         and lroundf multiarch implementations.
48475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48476         New file.
48477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48478         New file.
48479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48480         New file.
48481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48482         multiarch lround for PowerPC32.
48483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48484         file: multiarch lroundf for PowerPC32.
48486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48487         copysign and copysignf multiarch implementations.
48488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48489         New file.
48490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48491         New file.
48492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48493         file: multiarch copysign for PowerPC32.
48494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48495         file: multiarch copysignf for PowerPC32.
48497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48498         and truncf multiarch implementations.
48499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48500         New file.
48501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48502         file.
48503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48504         multiarch trunc for PowerPC32.
48505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48506         New file.
48507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48508         New file.
48509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48510         multiarch truncf for PowerPC32.
48512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48513         and roundf multiarch implementations.
48514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48515         New file.
48516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48517         file.
48518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48519         multiarch round for PowerPC32.
48520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48521         New file.
48522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48523         New file.
48524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48525         multiarch roundf for PowerPC32.
48527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48528         and floorf multiarch implementations.
48529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48530         New file.
48531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48532         file.
48533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48534         multiarch floor for PowerPC32.
48535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48536         New file.
48537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48538         New file.
48539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48540         multiarch floorf for PowerPC32.
48542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48543         and ceilf multiarch implementations.
48544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48545         New file.
48546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48547         file.
48548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48549         multiarch ceil for PowerPC32.
48550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48551         New file.
48552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48553         file.
48554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48555         multiarch ceilf for PowerPC32.
48557         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48558         is defined.
48559         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48560         FINITEF is defined.
48561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48562         and finitef multiarch implementations.
48563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48564         New file.
48565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48566         file.
48567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48568         multiarch finite for PowerPC32.
48569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48570         New file.
48571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48572         file: multiarch finitef for PowerPC32.
48574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48575         and isinff multiarch implementations.
48576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48577         file.
48578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48579         file.
48580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48581         multiarch isinf for PowerPC32.
48582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48583         New file.
48584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48585         multiarch isinff for PowerPC32.
48587         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48588         alias when __isnan is defined.
48589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48590         and isnanf multiarch implementations.
48591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48592         file.
48593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48594         file.
48595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48596         file.
48597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48598         file.
48599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48600         multiarch isnan for PowerPC32.
48601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48602         New file.
48603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48604         New file.
48605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48606         multiarch isnanf for PowerPC32.
48608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48609         and sqrtf multiarch implementations.
48610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48611         file.
48612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48613         file.
48614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48615         multiarch sqrt for PowerPC32.
48616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48617         file.
48618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48619         file.
48620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48621         multiarch sqrtf for PowerPC32.
48623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48624         and llroundf multiarch implementations.
48625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48626         New file.
48627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48628         New file.
48629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48630         New file.
48631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48632         file: multiarch llround for PowerPC32.
48633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48634         file: multiarch llroundf for PowerPC32.
48636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48637         multiarch PowerPC32 fpu implementations.
48638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48639         New file.
48640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48641         New file.
48642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48643         multiarch llrint for PowerPC32.
48644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48645         New file.
48646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48647         New file.
48648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48649         file.
48651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48653         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48654         file.
48655         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48656         file.
48657         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48658         file.
48659         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48660         multiarch wordcopy for PPC32.
48661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48662         wordcopy objects.
48663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48664         (__libc_ifunc_impl_list): Likewise.
48665         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48666         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48667         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48668         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48669         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48670         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48672         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48674         file.
48675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48676         file.
48677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48678         file.
48679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48680         multiarch wcscpy for PPC32.
48681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48682         multiarch objects.
48683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48684         (__libc_ifunc_impl_list): Likewise.
48685         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48686         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48687         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48688         sysdeps/powerpc/power6/wcscpy.c.
48690         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48692         file.
48693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48694         file.
48695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48696         file.
48697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48698         multiarch wcsrchr for PPC32.
48699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48700         multiarch objects.
48701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48702         (__libc_ifunc_impl_list): Likewise.
48703         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48704         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48705         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48706         sysdeps/powerpc/power6/wcsrchr.c.
48708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48709         file.
48710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48711         file.
48712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48714         multiarch wcschr for PPc32.
48715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48716         multiarch objects.
48717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48718         (__libc_ifunc_impl_list): Likewise.
48719         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48720         * sysdeps/powerpc/power6/wcschr.c: ... to here.
48721         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48722         sysdeps/powerpc/power6/wcschr.c.
48724         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48725         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48726         file.
48727         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48728         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48729         file: multiarch strchr for PPC32.
48730         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48731         multiarch objects.
48732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48733         (__libc_ifunc_impl_list): Likewise.
48735         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48736         name.
48737         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48738         file.
48739         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48740         file.
48741         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48742         multiarch strchrnul for PPC32.
48743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48744         multiarch objects.
48745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48746         (__libc_ifunc_impl_list): Likewise.
48748         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48749         file.
48750         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48751         multiarch strncasecmp for PPC32.
48752         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48753         file.
48754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48755         multiarch strncasecmp_l for PPC32.
48756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48757         strncasecmp multiarch objects.
48758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48759         (__libc_ifunc_impl_list): Likewise.
48761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48762         file.
48763         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48764         multiarch strncasecmp for PPC32.
48765         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48766         New file.
48767         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48768         multiarch strcasecmp_l for PPC32.
48769         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48770         multiarch objects.
48771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48772         (__libc_ifunc_impl_list): Likewise.
48774         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48775         file.
48776         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48777         file.
48778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48779         multiarch strncmp for PPC32.
48780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48781         multiarch objects.
48782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48783         (__libc_ifunc_impl_list): Likewise.
48785         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48786         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48787         file.
48788         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48789         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48791         multiarch objects.
48792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48793         (__libc_ifunc_impl_list): Likewise.
48795         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48796         file.
48797         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48798         file.
48799         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48801         multiarch objects.
48802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48803         (__libc_ifunc_impl_list): Likewise.
48805         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48806         file.
48807         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48808         file.
48809         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48810         multiarch rawmemchr for PPC32.
48811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48812         multiarch objects.
48813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48814         (__libc_ifunc_impl_list): Likewise.
48816         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48817         file.
48818         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48819         file.
48820         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48821         file: memrchr multiarch for PPC32.
48822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48823         multiarch objects.
48824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48825         (__libc_ifunc_impl_list): Likewise.
48827         * string/memchr.c (__memchr): Using macro to redefine symbol name.
48828         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48829         file.
48830         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48831         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48832         multiarch memchr for PPC32.
48833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48834         multiarch objects.
48835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48836         (__libc_ifunc_impl_list): Likewise.
48838         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48839         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48840         file.
48841         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48842         file.
48843         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48844         file: multiarch mempcpy for PPC32.
48845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48846         multiarch objects.
48847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48848         (__libc_ifunc_impl_list): Likewise.
48850         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48851         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48852         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48853         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48854         multiarch bzero for PPC32.
48855         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48856         file.
48857         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48858         file.
48859         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48860         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48861         file: multiarch memset for PPC32.
48862         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48864         memset multiarch objects.
48865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48866         (__libc_ifunc_impl_list): Likewise.
48868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48869         file.
48870         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
48871         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
48872         memcmp for PPC32.
48873         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
48874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
48875         multiarch objects.
48876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48877         (__libc_ifunc_impl_list): Likewise.
48879         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
48880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
48881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
48882         file.
48883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
48884         file.
48885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
48886         file.
48887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
48888         multiarch memcpy for PPC32.
48889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
48890         multiarch objects.
48891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48892         (__libc_ifunc_impl_list): Likewise.
48894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
48895         support multiarch for POWER/PPC32.
48896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
48897         Likewise.
48898         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
48899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
48900         Implies file to make multiarch folder appers before the fpu and
48901         default folder for power4 configuration.
48903 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48905         * scripts/bench.pl: Append volatile keyword to type.
48907 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48909         * sysdeps/sh/sotruss-lib.c: New file.
48910         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
48912 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48916 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
48918         [BZ #6810]
48919         * math/w_tgamma.c: Include <errno.h>.
48920         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
48921         * math/w_tgammaf.c: Include <errno.h>.
48922         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
48923         * math/w_tgammal.c: Include <errno.h>.
48924         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
48925         * math/auto-libm-test-in: Do not allow missing errno on tgamma
48926         underflow.  Add more tgamma tests.
48927         * math/auto-libm-test-out: Regenerated.
48928         * sysdeps/i386/fpu/libm-test-ulps: Update.
48929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48931         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
48932         sin, sinh, tan, tanh, tgamma, y0 and y1.
48933         * math/auto-libm-test-out: Regenerated.
48934         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48935         (TEST_COND_x86): Likewise.
48936         (M_E2l): Remove macro.
48937         (M_E3l): Likewise.
48938         (M_2_SQRT_PIl): Likewise.
48939         (M_SQRT_PIl): Likewise.
48940         (M_1_DIV_El): Likewise.
48941         (log_test_data): Use AUTO_TESTS_f_f.
48942         (log10_test_data): Likewise.
48943         (log1p_test_data): Likewise.
48944         (log2_test_data): Likewise.
48945         (sin_test_data): Likewise.
48946         (sin_tonearest_test_data): Likewise.
48947         (sin_towardzero_test_data): Likewise.
48948         (sin_downward_test_data): Likewise.
48949         (sin_upward_test_data): Likewise.
48950         (sinh_test_data): Likewise.
48951         (sinh_tonearest_test_data): Likewise.
48952         (sinh_towardzero_test_data): Likewise.
48953         (sinh_downward_test_data): Likewise.
48954         (sinh_upward_test_data): Likewise.
48955         (tan_test_data): Likewise.
48956         (tan_tonearest_test_data): Likewise.
48957         (tan_towardzero_test_data): Likewise.
48958         (tan_downward_test_data): Likewise.
48959         (tan_upward_test_data): Likewise.
48960         (tanh_test_data): Likewise.
48961         (tgamma_test_data): Likewise.
48962         (y0_test_data): Likewise.
48963         (y1_test_data): Likewise.
48964         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
48965         (special_real_inputs): Add pi/4.
48966         * sysdeps/i386/fpu/libm-test-ulps: Update.
48967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48969 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48971         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
48972         "longjmp_target" static probes.
48973         (__longjmp): Rename to __longjmp_symbol.
48974         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48975         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
48976         on which longjmp to generate.
48977         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48978         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
48979         probe.
48980         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48981         (__sigjmp_save): Rename to __sigjmp_save_symbol.
48982         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
48983         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
48984         and __sigjmp_save_symbol based on which sigsetjmp to generated.
48985         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
48987         __longjmp_symbol based on which __longjmp to generate.
48988         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
48989         probe.
48990         (setjmp): Rename to setjmp_symbol.
48991         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48992         (_setjmp): Rename to _setjmp_symbol.
48993         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48994         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
48995         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
48996         which setjmp to generate.
48997         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
48998         "longjmp_target" static probes.
49000 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49002         * benchtests/README: Add note about output arguments.
49003         * benchtests/bench-sincos.c: Remove file.
49004         * benchtests/sincos-inputs: New file.
49005         * scripts/bench.pl: Identify output arguments and define
49006         static variables for them.
49008         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49010         [BZ #15941]
49011         * Makefile (INSTALL): Add install-plain.texi as the primary
49012         dependency.
49013         * manual/install-plain.texi: New file.
49014         * manual/install.texi: Include node directive only for
49015         non-plaintext output.
49017 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49019         * stdlib/longlong.h: Update from GCC.
49021         [BZ #6807]
49022         [BZ #15901]
49023         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49024         * math/w_j0f.c (y0f): Likewise.
49025         * math/w_j0l.c (__y0l): Likewise.
49026         * math/w_j1.c (y1): Likewise.
49027         * math/w_j1f.c (y1f): Likewise.
49028         * math/w_j1l.c (__y1l): Likewise.
49029         * math/w_jn.c (yn): Likewise.
49030         * math/w_jnf.c (ynf): Likewise.
49031         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49032         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49033         value for Bessel function domain errors outside _SVID_ mode.
49034         Adjust sign of return value for yn (negative integer, 0).
49035         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49036         by zero in return for negative x and set sign appropriately for
49037         negative n.
49038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49039         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49040         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49041         expectations in error cases.
49042         (y1_test_data): Likewise.
49043         (yn_test_data): Likewise.
49044         * sysdeps/i386/fpu/libm-test-ulps: Update.
49045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49047 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49049         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49050         "64" to "64-v1".  Add "64-v2".
49051         (abi-64-options): Rename to ...
49052         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49053         (abi-64-condition): Rename to ...
49054         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49055         (abi-64-ld-soname): Rename to ...
49056         (abi-64-v1-ld-soname): ... this.
49057         (abi-64-v2-options): Define.
49058         (abi-64-v2-condition): Likewise.
49059         (abi-64-v2-ld-soname): Likewise.
49060         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49061         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49066 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49067             Alan Modra  <amodra@gmail.com>
49069         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49070         New versions for use with the ELFv2 ABI.
49071         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49072         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49073         declaration.
49074         (struct La_ppc64v2_retval): Likewise.
49075         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49076         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49077         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49078         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49079         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49080         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49081         Do not save or restore CR.
49082         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49083         (_dl_profile_resolve): Do no save or restore CR.  Support extended
49084         return values for ELFv2 ABI.  Fix location of FPR return registers.
49085         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49086         updated values for _CALL_ELF == 2.
49087         (La_regs, La_retval, int_retval): Likewise.
49089 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49091         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49092         (FRAME_MIN_SIZE_PARM): Likewise.
49093         (FRAME_BACKCHAIN): Likewise.
49094         (FRAME_CR_SAVE): Likewise.
49095         (FRAME_LR_SAVE): Likewise.
49096         (FRAME_TOC_SAVE): Likewise.
49097         (FRAME_PARM_SAVE): Likewise.
49098         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49099         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49100         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49101         (call_mcount_parm_offset): New macro.
49102         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49103         (PROF): Use symbolic stack frame offsets.
49104         (TAIL_CALL_SYSCALL_ERROR): Likewise.
49105         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49106         Redefine in terms of FRAME_MIN_SIZE.
49107         (_dl_runtime_resolve): Use symbolic stack frame offsets.
49108         (_dl_profile_resolve): Likewise.  Update comment.
49109         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49110         symbols stack frame offsets.
49111         (__sigsetjmp): Likewise.
49112         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49113         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49114         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49115         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49118         (FRAME_BACKCHAIN): Remove.
49119         (FRAME_CR_SAVE): Likewise.
49120         (FRAME_LR_SAVE): Likewise.
49121         (FRAME_COMPILER_DW): Likewise.
49122         (FRAME_LINKER_DW): Likewise.
49123         (FRAME_TOC_SAVE): Likewise.
49124         (FRAME_PARM_SAVE): Likewise.
49125         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49126         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49127         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49129         (CHECK_SP): Use symbolic stack frame offsets.
49130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49131         zone" instead of caller's parameter save area for temp storage.
49132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49133         Likewise.  Also, use symbolic stack frame offsets.
49134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49135         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49136         our own stack frame instead of the caller's.
49137         (__socket): Use symbolic stack frame offsets.
49139 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49140             Alan Modra  <amodra@gmail.com>
49142         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49143         Define.
49144         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49145         (PPC64_LOCAL_ENTRY_OFFSET): Define.
49146         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49147         New function.
49148         (elf_machine_fixup_plt): Call it.
49149         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
49150         reloc arguments.
49151         (elf_machine_rela): Update call to elf_machine_plt_conflict.
49152         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49153         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49154         r2 before calling target.
49156 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49157             Alan Modra  <amodra@gmail.com>
49159         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49160         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49161         versions of macros to support ELFv2 ABI.
49162         (LOCALENTRY): New macro.
49163         (ENTRY, EALIGN): Use it.
49164         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49165         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49166         fall through into ENTRY entry point.
49167         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49168         Only define if _CALL_ELF != 2.
49170         (elf_machine_matches_host): Verify ABI version matches.
49171         (RTLD_START): Use LOCALENTRY.
49172         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49173         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49174         (PLT_ENTRY_WORDS): New macro.
49175         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49176         (elf_machine_runtime_setup): Support ELFv2 ABI.
49177         (elf_machine_fixup_plt): Likewise.
49178         (elf_machine_plt_conflict): Likewise.
49179         (resolve_ifunc): Likewise.
49180         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49181         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49182         Likewise.
49183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49184         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49186         (makecontext): Support ELFv2 ABI.
49187         * elf/elf.h (EF_PPC64_ABI): Define.
49189 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49191         * sysdeps/powerpc/powerpc64/sysdep.h
49192         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49193         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49194         (ENTRY) [ASSEMBLER]: ... but instead here ...
49195         (EALIGN) [ASSEMBLER]: ... and here.
49196         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49197         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49198         (ENTRY_2) [!ASSEMBLER]: Use it.
49199         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49200         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
49201         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49202         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49203         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49205         Use PPC64_LOAD_FUNCPTR.
49207         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49209 2013-12-04  Alan Modra  <amodra@gmail.com>
49211         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49212         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49213         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49214         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49216         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49217         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49218         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49219         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49220         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49221         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49223 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49226         (__makecontext): Fix incorrect CFI when backtracing out of
49227         context created via makecontext.
49228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49229         (__setcontext): Fix incorrect CFI during switch to new context.
49230         (__novec_setcontext): Likewise.
49232 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49234         [BZ #4772]
49235         * time/strptime_l.c (__strptime_internal): Allow modifiers
49236         in strptime.
49237         * time/tst-strptime.c (day_tests): Add testcase.
49239 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49241         * scripts/bench.pl: Skip over blank lines.
49243 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
49245         [BZ #926]
49246         * manual/time.texi (Calendar Time): Clarify what timezone functions
49247         use.
49249 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49253 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49255         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49256         implementation.
49257         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49258         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49259         * debug/memset_chk.c (__memset_chk): Likewise.
49260         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49261         * debug/strncpy_chk.c: Likewise.
49263 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49265         [BZ #15268]
49266         [BZ #15425]
49267         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49268         (__ieee754_exp): For possibly underflowing results, check size of
49269         result and force underflow exception if required.
49270         * math/auto-libm-test-in: Add more tests of exp.
49271         * math/auto-libm-test-out: Regenerated.
49272         * sysdeps/i386/fpu/libm-test-ulps: Update.
49273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49275         [BZ #16283]
49276         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49277         * math/w_exp2f.c (__exp2f): Likewise.
49278         * math/w_exp2l.c (__exp2l): Likewise.
49279         * math/auto-libm-test-in: Do not allow missing errno on exp2
49280         underflow.
49281         * math/auto-libm-test-out: Regenerated.
49283 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
49285         [BZ #16274]
49286         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49287         handle filename validation.
49288         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49289         (do_open): Delete.
49291 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49293         [BZ #6786]
49294         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49295         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49296         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49297         <float.h>.
49298         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49299         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49300         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49302         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49303         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49304         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49305         * math/auto-libm-test-in: Don't allow missing errno from erfc.
49306         Add more erfc tests.
49307         * math/auto-libm-test-out: Regenerated.
49308         * sysdeps/i386/fpu/libm-test-ulps: Update.
49309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49311         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49312         exp2, expm1, j0 and j1.
49313         * math/auto-libm-test-out: Regenerated.
49314         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49315         (erfc_test_data): Likewise.
49316         (exp_test_data): Likewise.
49317         (exp_tonearest_test_data): Likewise.
49318         (exp_towardzero_test_data): Likewise.
49319         (exp_downward_test_data): Likewise.
49320         (exp_upward_test_data): Likewise.
49321         (exp10_test_data): Likewise.
49322         (exp2_test_data): Likewise.
49323         (expm1_test_data): Likewise.
49324         (j0_test_data): Likewise.
49325         (j1_test_data): Likewise.
49326         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49327         (input_flag_type): Add flag_xfail_rounding.
49328         (input_flags): Add xfail-rounding.
49329         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49330         (output_for_one_input_case): Handle flag_xfail_rounding.
49331         * sysdeps/i386/fpu/libm-test-ulps: Update.
49332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49334 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
49336         [BZ #16289]
49337         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49338         division by 0.
49340 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49342         [BZ #16195]
49343         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49344         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49345         (STAP_PROBE0): New macro.
49346         (STAP_PROBE1): Likewise.
49347         (STAP_PROBE2): Likewise.
49348         (STAP_PROBE3): Likewise.
49349         (STAP_PROBE4): Likewise.
49351 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
49353         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49355 2013-12-02  Steve Ellcey  <sellcey@mips.com>
49357         * benchtests/Makefile (bench): Add sqrt.
49358         (LDLIBS-bench-sqrt): New.
49359         * benchtests/sqrt-input: New.
49361 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
49363         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49364         (GAIH_EAI): Likewise.
49365         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49366         (gaih_inet): Likewise.
49367         (getaddrinfo): Don't use GAIH_EAI.
49369         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49370         (struct gaih): Remove definition.
49372 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49374         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49375         Use HERRNOP directly.
49377 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49381 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
49383         * math/gen-auto-libm-tests.c (test_functions): Add more
49384         single-argument functions.
49385         (special_fill_pi_2): New function.
49386         (special_fill_minus_pi_2): Likewise.
49387         (special_fill_pi_6): Likewise.
49388         (special_fill_minus_pi_6): Likewise.
49389         (special_fill_pi_3): Likewise.
49390         (special_fill_2pi_3): Likewise.
49391         (special_fill_e): Likewise.
49392         (special_fill_1_e): Likewise.
49393         (special_fill_e_minus_1): Likewise.
49394         (special_real_inputs): Add more special inputs.
49395         (output_for_one_input_case): Do not require ERANGE on underflow to
49396         zero if round-to-nearest result does not underflow to zero, unless
49397         exact results required.
49398         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49399         atan, atanh, cbrt, cos and cosh.
49400         * math/auto-libm-test-out: Regenerated.
49401         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49402         (acos_tonearest_test_data): Likewise.
49403         (acos_towardzero_test_data): Likewise.
49404         (acos_downward_test_data): Likewise.
49405         (acos_upward_test_data): Likewise.
49406         (acosh_test_data): Likewise.
49407         (asin_test_data): Likewise.
49408         (asin_tonearest_test_data): Likewise.
49409         (asin_towardzero_test_data): Likewise.
49410         (asin_upward_test_data): Likewise.
49411         (asinh_test_data): Likewise.
49412         (atan_test_data): Likewise.
49413         (atanh_test_data): Likewise.
49414         (cbrt_test_data): Likewise.
49415         (cos_test_data): Likewise.
49416         (cos_tonearest_test_data): Likewise.
49417         (cos_towardzero_test_data): Likewise.
49418         (cos_downward_test_data): Likewise.
49419         (cos_upward_test_data): Likewise.
49420         (cosh_test_data): Likewise.
49421         (cosh_tonearest_test_data): Likewise.
49422         (cosh_towardzero_test_data): Likewise.
49423         (cosh_downward_test_data): Likewise.
49424         (cosh_upward_test_data): Likewise.
49425         * sysdeps/i386/fpu/libm-test-ulps: Update.
49426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49428 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
49430         [BZ #6787]
49431         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49432         * math/w_exp10f.c (__exp10f): Likewise.
49433         * math/w_exp10l.c (__exp10l): Likewise.
49434         * math/libm-test.inc (exp10_test_data): Add more tests and expect
49435         errno settings in existing tests.
49437         [BZ #14032]
49438         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49439         precision control set to double precision.
49440         * sysdeps/i386/fpu/w_sqrt.c: New file.
49441         * math/auto-libm-test-in: Add more tests.
49442         * math/auto-libm-test-out: Update.
49444         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49445         (sqrt_test_tonearest): New function.
49446         (sqrt_towardzero_test_data): New variable.
49447         (sqrt_test_towardzero): New function.
49448         (sqrt_downward_test_data): New variable.
49449         (sqrt_test_downward): New function.
49450         (sqrt_upward_test_data): New variable.
49451         (sqrt_test_upward): New function.
49452         (main): Call the new functions.
49454         * math/gen-auto-libm-tests.c: New file.
49455         * math/auto-libm-test-in: Likewise.
49456         * math/auto-libm-test-out: New generated file.
49457         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49458         variables.
49459         (%beautify): Add generated representations of zero.
49460         (top level): Set $auto_input and call parse_auto_input.
49461         (beautify): Remove trailing "f" from hex float constants.
49462         (parse_args): Handle XFAIL_TEST.
49463         (convert_condition): New function.
49464         (or_value): Likewise.
49465         (or_cond_value): Likewise.
49466         (generate_testfile): Handle AUTO_TESTS_* lines.
49467         (parse_auto_input): New function.
49468         * math/libm-test.inc (XFAIL_TEST): New macro.
49469         (ERRNO_UNCHANGED): Update value.
49470         (ERRNO_EDOM): Likewise.
49471         (ERRNO_ERANGE): Likewise.
49472         (IGNORE_RESULT): Likewise.
49473         (TEST_COND_flt_32): New macro.
49474         (TEST_COND_dbl_64): Likewise.
49475         (TEST_COND_ldbl_96_intel): Likewise.
49476         (TEST_COND_ldbl_96_m68k): Likewise.
49477         (TEST_COND_ldbl_128): Likewise.
49478         (TEST_COND_ldbl_128ibm): Likewise.
49479         (TEST_COND_long32): Likewise.
49480         (TEST_COND_long64): Likewise.
49481         (TEST_COND_before_rounding): Likewise.
49482         (TEST_COND_after_rounding): Likewise.
49483         (enable_test): Handle XFAIL_TEST flag.
49484         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49485         with finite results.
49486         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49487         auto-libm-test-out.
49489 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49490             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49492         [BZ #16214]
49493         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49494         __tls_get_addr_internal instead of __tls_get_offset in order to
49495         avoid GOT pointer dependency.  Make rtld export
49496         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49497         __tls_get_addr since we are a __tls_get_offset platform.
49498         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49499         GOT pointer being set up before.
49500         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49502 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
49504         * manual/math.texi (Errors in Math Functions): Document accuracy
49505         goals.
49507         [BZ #15004]
49508         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49509         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49510         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49511         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49512         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49513         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49514         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49515         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49516         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49517         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49518         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49519         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49520         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49521         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49522         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49523         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49525         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49526         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49527         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49528         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49529         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49530         Likewise.
49531         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49532         Likewise.
49533         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49534         Likewise.
49535         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49536         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49537         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49538         atomic-feupdateenv and flt-rounds.
49539         * sysdeps/powerpc/nofpu/Versions (libc): Add
49540         __atomic_feholdexcept, __atomic_feclearexcept,
49541         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49542         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49543         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49544         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49545         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49546         here.
49547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49548         Update.
49550         * manual/arith.texi (FP Exceptions): Document that exceptions may
49551         not be raised when matherr is used.
49552         (Math Error Reporting): Document overflow in directed rounding
49553         modes.  Document that errno may not be set when finite values are
49554         returned on overflow.  Document intent to set errno on underflow
49555         only for underflow to zero.
49557         [BZ #16271]
49558         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49559         round-to-nearest then adjust result for other rounding modes.
49560         * include/fenv.h (fegetround): Use libm_hidden_proto.
49561         * math/fegetround.c (fegetround): Use libm_hidden_def.
49562         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49563         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49564         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49565         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49566         Likewise.
49567         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49568         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49569         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49570         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49572 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49574         [BZ #16077]
49575         * nss/Versions (libnss_files): Add
49576         _nss_files_gethostbyname3_r.
49577         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49578         New function.
49579         (HOST_DB_LOOKUP): Remove macro.
49580         (_nss_files_gethostbyname_r): Implement function without the
49581         HOST_DB_LOOKUP macro.
49582         (_nss_files_gethostbyname2_r): Likewise.
49584 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
49586         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49588 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
49590         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49591         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49592         warning.
49594 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49596         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49597         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49598         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49599         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49600         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49601         __fe_nomask_env_priv and attribute_hidden.
49602         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49603         (libc_feupdateenv_test_ppc): Likewise.
49604         (libc_feresetround_ppc): Likewise.
49605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49606         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49607         compat_symbol macro.
49608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49609         (__fe_nomask_env): Likewise.
49610         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49612 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49614         * string/Makefile: Remove ifunc tests.
49615         * string/test-string.h: Define TEST_IFUNC.
49616         * string/test-bcopy-ifunc.c: Remove.
49617         * string/test-bzero-ifunc.c: Likewise.
49618         * string/test-memccpy-ifunc.c: Likewise.
49619         * string/test-memchr-ifunc.c: Likewise.
49620         * string/test-memcmp-ifunc.c: Likewise.
49621         * string/test-memcpy-ifunc.c: Likewise.
49622         * string/test-memmem-ifunc.c: Likewise.
49623         * string/test-memmove-ifunc.c: Likewise.
49624         * string/test-mempcpy-ifunc.c: Likewise.
49625         * string/test-memrchr-ifunc.c: Likewise.
49626         * string/test-memset-ifunc.c: Likewise.
49627         * string/test-rawmemchr-ifunc.c: Likewise.
49628         * string/test-stpcpy-ifunc.c: Likewise.
49629         * string/test-stpncpy-ifunc.c: Likewise.
49630         * string/test-strcasecmp-ifunc.c: Likewise.
49631         * string/test-strcasestr-ifunc.c: Likewise.
49632         * string/test-strcat-ifunc.c: Likewise.
49633         * string/test-strchr-ifunc.c: Likewise.
49634         * string/test-strchrnul-ifunc.c: Likewise.
49635         * string/test-strcmp-ifunc.c: Likewise.
49636         * string/test-strcpy-ifunc.c: Likewise.
49637         * string/test-strcspn-ifunc.c: Likewise.
49638         * string/test-strlen-ifunc.c: Likewise.
49639         * string/test-strncasecmp-ifunc.c: Likewise.
49640         * string/test-strncat-ifunc.c: Likewise.
49641         * string/test-strncmp-ifunc.c: Likewise.
49642         * string/test-strncpy-ifunc.c: Likewise.
49643         * string/test-strnlen-ifunc.c: Likewise.
49644         * string/test-strpbrk-ifunc.c: Likewise.
49645         * string/test-strrchr-ifunc.c: Likewise.
49646         * string/test-strspn-ifunc.c: Likewise.
49647         * string/test-strstr-ifunc.c: Likewise.
49649 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49651         * benchtests/Makefile: Remove ifunc tests.
49652         * benchtests/bench-string.h: Define TEST_IFUNC.
49653         * benchtests/bench-bcopy-ifunc.c: Remove.
49654         * benchtests/bench-bzero-ifunc.c: Likewise.
49655         * benchtests/bench-memccpy-ifunc.c: Likewise.
49656         * benchtests/bench-memchr-ifunc.c: Likewise.
49657         * benchtests/bench-memcmp-ifunc.c: Likewise.
49658         * benchtests/bench-memcpy-ifunc.c: Likewise.
49659         * benchtests/bench-memmem-ifunc.c: Likewise.
49660         * benchtests/bench-memmove-ifunc.c: Likewise.
49661         * benchtests/bench-mempcpy-ifunc.c: Likewise.
49662         * benchtests/bench-memrchr-ifunc.c: Likewise.
49663         * benchtests/bench-memset-ifunc.c: Likewise.
49664         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49665         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49666         * benchtests/bench-stpcpy-ifunc.c: Likewise.
49667         * benchtests/bench-stpncpy-ifunc.c: Likewise.
49668         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49669         * benchtests/bench-strcasestr-ifunc.c: Likewise.
49670         * benchtests/bench-strcat-ifunc.c: Likewise.
49671         * benchtests/bench-strchr-ifunc.c: Likewise.
49672         * benchtests/bench-strchrnul-ifunc.c: Likewise.
49673         * benchtests/bench-strcmp-ifunc.c: Likewise.
49674         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49675         * benchtests/bench-strcpy-ifunc.c: Likewise.
49676         * benchtests/bench-strcspn-ifunc.c: Likewise.
49677         * benchtests/bench-strlen-ifunc.c: Likewise.
49678         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49679         * benchtests/bench-strncat-ifunc.c: Likewise.
49680         * benchtests/bench-strncmp-ifunc.c: Likewise.
49681         * benchtests/bench-strncpy-ifunc.c: Likewise.
49682         * benchtests/bench-strnlen-ifunc.c: Likewise.
49683         * benchtests/bench-strpbrk-ifunc.c: Likewise.
49684         * benchtests/bench-strrchr-ifunc.c: Likewise.
49685         * benchtests/bench-strsep-ifunc.c: Likewise.
49686         * benchtests/bench-strspn-ifunc.c: Likewise.
49687         * benchtests/bench-strstr-ifunc.c: Likewise.
49689 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49691         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49693 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49695         * resolv/netdb.h: Use __glibc_reserved instead __unused.
49696         * rt/aio.h: Likewise.
49697         * sysdeps/gnu/bits/utmp.h: Likewise.
49698         * sysdeps/gnu/bits/utmpx.h: Likewise.
49699         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49700         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49701         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49702         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49703         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49704         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49705         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49706         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49707         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49708         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49709         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49710         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49711         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49713         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49714         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49715         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49716         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49717         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49718         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49719         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49720         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49721         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49722         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49723         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49724         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49725         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49726         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49727         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49728         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49729         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49730         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49731         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49732         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49733         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49734         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49735         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49736         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49737         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49738         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49739         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49740         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49742 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
49744         [BZ #16245]
49745         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49746         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49748 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
49750         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49751         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49752         Likewise.
49754 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49756         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49757         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49758         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49759         (__fesetround): Remove define.
49760         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49761         rounding and exceptions handling.
49762         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49763         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49764         (__fe_nomask_env): Likewise.
49765         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49766         __fegetround instead of fegetround.
49767         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49768         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49770 2013-11-21  Roland McGrath  <roland@hack.frob.com>
49772         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49773         it's there.
49775         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49777 2013-11-21  Meador Inge  <meadori@codesourcery.com>
49779         [BZ #11157]
49780         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49781         (encrypt_r): Likewise.
49782         * malloc/obstack.h (obstack_free): Likewise.
49783         * posix/unistd.h (encrypt): Likewise.
49785 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
49787         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49788         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49789         DL_CALL_DT_FINI() that call the functions directly.
49790         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49791         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49792         * elf/dl-fini.c: Likewise.
49794 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
49796         * malloc/hooks.c (memalign_check): Add alignment rounding.
49797         * malloc/malloc.c (_mid_memalign): New function.
49798         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49799         Implement by calling _mid_memalign.
49800         * manual/probes.texi (Memory Allocation Probes): Remove
49801         memory_valloc_retry and memory_pvalloc_retry.
49803 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49805         * locale/programs/locarchive.c (open_archive): Add const
49806         qualifier to ARCHIVEFNAME and copy default fname to
49807         DEFAULT_FNAME.
49809         [BZ #15601]
49810         * libio/tst-widetext.input: Rename Oriya to Odia.
49811         * locale/iso-639.def: Likewise.
49813         * manual/probes.texi (Mathematical Function Probes): Add
49814         documentation for sin, cos, asin and acos probes.
49815         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49816         (__sin32): Add slowasin probe.
49817         (__cos32): Add slowacos probe.
49818         (__mpsin): Add slowsin probe.
49819         (__mpcos): Add slowcos probe.
49821 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
49823         [BZ #15483]
49824         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49825         thread-local __sim_exceptions_thread and global
49826         __sim_exceptions_global.
49827         (__sim_disabled_exceptions): Change to thread-local
49828         __sim_disabled_exceptions_thread and global
49829         __sim_disabled_exceptions_global.
49830         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49831         and global __sim_round_mode_global.
49832         (__simulate_exceptions): Use thread-local floating-point state and
49833         set global state from it as needed.
49834         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49835         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49836         __sim_round_mode_thread.
49837         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49838         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49839         and global __sim_exceptions_global.
49840         (__sim_disabled_exceptions): Change to thread-local
49841         __sim_disabled_exceptions_thread and global
49842         __sim_disabled_exceptions_global.
49843         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49844         and global __sim_round_mode_global.
49845         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49846         (SIM_SET_GLOBAL): Likewise.
49847         * sysdeps/powerpc/soft-fp/sfp-machine.h
49848         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49849         __sim_round_mode_thread.
49850         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49851         __sim_disabled_exceptions_thread.
49852         (__sim_exceptions): Change to __sim_exceptions_thread.
49853         (__sim_disabled_exceptions): Change to
49854         __sim_disabled_exceptions_thread.
49855         (__sim_round_mode): Change to __sim_round_mode_thread.
49856         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49857         thread-local floating-point state and set global state from it as
49858         needed.
49859         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49860         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49861         (__sim_disabled_exceptions): Remove extern declaration.
49862         (feenableexcept): Use thread-local floating-point state and set
49863         global state from it as needed.
49864         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49865         extern declaration.
49866         (__sim_disabled_exceptions): Likewise.
49867         (__sim_round_mode): Likewise.
49868         (__fegetenv): Use thread-local floating-point state.
49869         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
49870         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49871         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
49872         floating-point state and set global state from it as needed.
49873         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
49874         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
49875         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
49876         Likewise.
49877         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
49878         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
49879         Likewise.
49880         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
49881         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
49882         Use __sim_round_mode_thread.
49883         * math/test-fenv-tls.c: New file.
49884         * math/Makefile (tests): Add test-fenv-tls.
49885         ($(objpfx)test-fenv-tls): Depend on
49886         $(common-objpfx)nptl/libpthread.so.
49888 2013-11-19  Andreas Schwab  <schwab@suse.de>
49890         * locale/programs/locale.c (show_info): Decode wordarray elements.
49891         * locale/categories.def (LC_MONETARY): Add element for
49892         _NL_MONETARY_CRNCYSTR.
49893         * locale/C-monetary.c (conversion_rate): New variable.
49894         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
49895         element.
49897 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
49899         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
49900         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
49902 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49904         * elf/Makefile (tst-auxv): New test.
49905         * elf/tst-auxv.c: New
49906         * elf/rtld.c (dl_main): Adjust AT_EXECFN
49908 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
49910         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
49911         (hidden_proto): Caller changed.
49912         (hidden_tls_proto): New macro.
49913         (libc_hidden_tls_proto): Likewise.
49914         (rtld_hidden_tls_proto): Likewise.
49915         (libm_hidden_tls_proto): Likewise.
49916         (libresolv_hidden_tls_proto): Likewise.
49917         (librt_hidden_tls_proto): Likewise.
49918         (libdl_hidden_tls_proto): Likewise.
49919         (libnss_files_hidden_tls_proto): Likewise.
49920         (libnsl_hidden_tls_proto): Likewise.
49921         (libnss_nisplus_hidden_tls_proto): Likewise.
49922         (libutil_hidden_tls_proto): Likewise.
49924 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
49926         [BZ #10253]
49927         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
49928         (decompose_rpath): Defer expansion to fillin_rpath.
49929         (_dl_init_paths): Pass linkmap to fillin_rpath.
49931 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49933         * benchtests/Makefile: Add strsep.
49934         * benchtests/bench-strsep.c: New file: strsep benchtest.
49935         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
49937 2013-11-18  Andreas Schwab  <schwab@suse.de>
49939         * locale/programs/locale.c (show_info) [case byte]: Check for
49940         '\377' instead of '\177'.
49941         * locale/C-monetary.c (not_available): Always use "\377".
49942         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
49943         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
49944         detect unavailable sign_posn locale elements.
49945         * locale/localeconv.c (__localeconv): For grouping and
49946         mon_grouping handle "\177" and "\377" like no grouping.
49947         (INT_ELEM): New macro.  Use it to set all numeric members.
49948         * locale/programs/ld-monetary.c (monetary_read)
49949         <tok_mon_grouping>: Normalize single -1 to the empty string.
49950         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
49951         Likewise.
49953 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
49955         [BZ #16055]
49956         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
49957         when we match (nil).
49958         * stdio-common/tst-sscanf.c (struct test): Add testcase.
49960 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
49962         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
49963         (NO_TEST_INLINE): Update value.
49964         (ERRNO_UNCHANGED): Likewise.
49965         (ERRNO_EDOM): Likewise.
49966         (ERRNO_ERANGE): Likewise.
49967         (IGNORE_RESULT): Likewise.
49968         (check_float_internal): Check signs of NaN results if
49969         TEST_NAN_SIGN used.
49970         (check_complex): Pass TEST_NAN_SIGN flag through to second
49971         check_float_internal call.
49972         (copysign_test_data): Add tests with quiet NaNs as second
49973         argument.  Use TEST_NAN_SIGN.
49974         (fabs_test_data): Add test of negative quiet NaN argument.  Use
49975         TEST_NAN_SIGN.
49976         (signbit_test_data): Add tests of quiet NaN argument.
49977         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
49979         * math/gen-libm-test.pl (show_exceptions): Take extra argument
49980         $ignore_result.
49981         (parse_args): Handle function results specified as IGNORE.
49982         * math/libm-test.inc (IGNORE_RESULT): New macro.
49983         (check_float_internal): Do not check numerical result if flag
49984         IGNORE_RESULT set.
49985         (check_complex): Pass through IGNORE_RESULT to second
49986         check_float_internal call.
49987         (check_int): Do not check numerical result if flag IGNORE_RESULT
49988         set.
49989         (check_long): Likewise.
49990         (check_bool): Likewise.
49991         (check_longlong): Likewise.
49992         (lrint_test_data): Add tests of infinite and NaN arguments.
49993         (lrint_tonearest_test_data): Likewise.
49994         (lrint_towardzero_test_data): Likewise.
49995         (lrint_downward_test_data): Likewise.
49996         (lrint_upward_test_data): Likewise.
49997         (llrint_test_data): Likewise.
49998         (llrint_tonearest_test_data): Likewise.
49999         (llrint_towardzero_test_data): Likewise.
50000         (llrint_downward_test_data): Likewise.
50001         (llrint_upward_test_data): Likewise.
50002         (lround_test_data): Likewise.
50003         (llround_test_data): Likewise.
50005         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50006         (ERRNO_UNCHANGED): Update value.
50007         (ERRNO_EDOM): Likewise.
50008         (ERRNO_ERANGE): Likewise.
50009         (NO_TEST_INLINE_FLOAT): New macro.
50010         (NO_TEST_INLINE_DOUBLE): Likewise.
50011         (enable_test): New function.
50012         (RUN_TEST_f_f): Check enable_test before running test.
50013         (RUN_TEST_2_f): Likewise.
50014         (RUN_TEST_fff_f): Likewise.
50015         (RUN_TEST_c_f): Likewise.
50016         (RUN_TEST_f_f1): Likewise.
50017         (RUN_TEST_fF_f1): Likewise.
50018         (RUN_TEST_fI_f1): Likewise.
50019         (RUN_TEST_ffI_f1): Likewise.
50020         (RUN_TEST_c_c): Likewise.
50021         (RUN_TEST_cc_c): Likewise.
50022         (RUN_TEST_f_i): Likewise.
50023         (RUN_TEST_f_i_tg): Likewise.
50024         (RUN_TEST_ff_i_tg): Likewise.
50025         (RUN_TEST_f_b): Likewise.
50026         (RUN_TEST_f_b_tg): Likewise.
50027         (RUN_TEST_f_l): Likewise.
50028         (RUN_TEST_f_L): Likewise.
50029         (RUN_TEST_fFF_11): Likewise.
50030         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50031         conditionals.
50032         (cosh_test_data): Likewise.
50033         (exp_test_data): Likewise.
50034         (expm1_test_data): Likewise.
50035         (hypot_test_data): Likewise.
50036         (pow_test_data): Likewise.
50037         (sinh_test_data): Likewise.
50038         (tanh_test_data): Likewise.
50039         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50040         flags argument.
50042         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50043         tests with quiet NaN input and output.
50044         (acosh_test_data): Likewise.
50045         (asin_test_data): Likewise.
50046         (asinh_test_data): Likewise.
50047         (atan_test_data): Likewise.
50048         (atanh_test_data): Likewise.
50049         (atan2_test_data): Likewise.
50050         (cbrt_test_data): Likewise.
50051         (cos_test_data): Likewise.
50052         (cosh_test_data): Likewise.
50053         (erf_test_data): Likewise.
50054         (erfc_test_data): Likewise.
50055         (exp_test_data): Likewise.
50056         (exp10_test_data): Likewise.
50057         (exp2_test_data): Likewise.
50058         (expm1_test_data): Likewise.
50059         (hypot_test_data): Likewise.
50060         (j0_test_data): Likewise.
50061         (j1_test_data): Likewise.
50062         (jn_test_data): Likewise.
50063         (lgamma_test_data): Likewise.
50064         (log_test_data): Likewise.
50065         (log10_test_data): Likewise.
50066         (log1p_test_data): Likewise.
50067         (log2_test_data): Likewise.
50068         (pow_test_data): Likewise.
50069         (scalb_test_data): Likewise.
50070         (sin_test_data): Likewise.
50071         (sincos_test_data): Likewise.
50072         (sinh_test_data): Likewise.
50073         (tan_test_data): Likewise.
50074         (tanh_test_data): Likewise.
50075         (tgamma_test_data): Likewise.
50076         (y0_test_data): Likewise.
50077         (y1_test_data): Likewise.
50078         (yn_test_data): Likewise.
50080         [BZ #16167]
50081         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50082         argument being NaN and avoid computations with second argument in
50083         that case.
50084         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50085         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50086         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50088 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
50090         * locale/iso-639.def: Add Chitwani Tharu (the).
50092 2013-11-14  Andreas Schwab  <schwab@suse.de>
50094         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50095         word instead of empty string.
50097 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50100         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50102         (__fe_nomask_env): Likewise.
50104 2013-11-13  Steve Ellcey  <sellcey@mips.com>
50106         * benchtests/bench-timing.h: Include time.h.
50108 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
50110         [BZ #15997]
50111         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50112         to 3.4.0 for x32.
50113         * sysdeps/unix/sysv/linux/configure: Regenerated.
50115 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
50117         [BZ #16151]
50118         * stdlib/strtod_l.c (round_and_return): Do not consider
50119         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50120         exponent one less than half the least subnormal exponent.
50121         * stdlib/test-strtod-round-data: Add more tests.
50122         * stdlib/tst-strtod-round.c (tests): Regenerated.
50124 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50126         [BZ #14143]
50127         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50128         (__fe_mask_env): Likewise.
50129         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50130         libm_hidden_proto and add function prototype.
50131         (__fe_mask_env): Add function prototype.
50132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50133         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50135         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50137         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50139 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50141         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50142         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50144 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50146         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50147         of htab_find_slot().
50149 2013-11-11  David S. Miller  <davem@davemloft.net>
50151         [BZ #16150]
50152         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50153         symbol in the non-vis3 case in static builds.
50154         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50155         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50156         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50157         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50159 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
50161         [BZ #387]
50162         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50163         it is empty.
50165 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50167         * benchtests/Makefile: Add bench-strtod.
50168         * benchtests/bench-strtod.c: New file: strtod benchtest
50170 2013-11-11  Andreas Schwab  <schwab@suse.de>
50172         [BZ #16153]
50173         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50174         terminating NUL in key length.
50176 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50178         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50179         Add artificial ODP entry for vDSO symbol for PPC64.
50180         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50181         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50183 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50185         [BZ #15374]
50186         * nss/getent.c (services_keys): Recognize services starting with digit.
50188 2013-11-06  David S. Miller  <davem@davemloft.net>
50190         [BZ #15985]
50191         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50192         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50194 2013-11-06  Will Newton  <will.newton@linaro.org>
50196         * manual/memory.texi (Malloc Examples): Remove register
50197         keyword from examples.
50199 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
50201         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50203 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
50205         [BZ #6981]
50206         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50207         depending on [__GCC_IEC_559 > 0].
50208         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50209         depending on [__GCC_IEC_559_COMPLEX > 0].
50211 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
50213         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50214         to iso-639.def.
50216 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
50218         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50220 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
50222         [BZ #16112]
50223         * malloc/malloc (malloc_info): Do not handle first bin as
50224         special case.
50226 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
50228         * locale/iso-639.def: Add Central Nahuatl (nhn).
50230 2013-11-01  Bruno Haible  <bruno@clisp.org>
50232         [BZ #7003]
50233         * manual/math.texi (BSD Random): Specify range upper bound as
50234         in POSIX.
50236 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
50238         * locale/iso-639.def: Add Meadow Mari (mhr).
50240 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
50242         [BZ #14752], [BZ #15763]
50243         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50244         Validate name.
50245         * rt/tst_shm.c: Add test for escaping directory.
50247 2013-10-31  Andreas Schwab  <schwab@suse.de>
50249         [BZ #15917]
50250         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50251         followed by 'x' as part of digit sequence.
50252         * stdio-common/tst-sscanf.c (double_tests2): New tests.
50254 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50256         [BZ #16037]
50257         * configure.ac: allow GNU Make 4.0 and greater.
50258         * configure: Regenerated.
50260 2013-10-30  Will Newton  <will.newton@linaro.org>
50262         [BZ #16038]
50263         * malloc/hooks.c (memalign_check): Limit alignment to the
50264         maximum representable power of two.
50265         * malloc/malloc.c (__libc_memalign): Likewise.
50266         * malloc/tst-memalign.c (do_test): Add test for very
50267         large alignment values.
50268         * malloc/tst-posix_memalign.c (do_test): Likewise.
50270 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50272         [BZ #11087]
50273         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50274         (munmap_chunk): Likewise.
50275         (mremap_chunk): Likewise.
50277 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50279         [BZ #15799]
50280         * stdlib/div.c (div): Remove obsolete code.
50281         * stdlib/ldiv.c (ldiv): Likewise.
50282         * stdlib/lldiv.c (lldiv): Likewise.
50284 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50286         [BZ #16071]
50287         * nss/nss_files/files-XXX.c (get_contents_ret): New
50288         enumerator.
50289         (get_contents): New function.
50290         (internal_getent): Use it.  Expand size of LINEBUFLEN.
50292 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
50294         * configure.in: Moved to ...
50295         * configure.ac: ... here. Change reference to configure.in
50296         to configure.ac.
50297         * sysdeps/arm/preconfigure.ac: ... here.
50298         configure.in to configure.ac.
50299         * sysdeps/gnu/configure.in: Moved to ...
50300         * sysdeps/gnu/configure.ac: ... here.
50301         * sysdeps/i386/configure.in: Moved to ...
50302         * sysdeps/i386/configure.ac: ... here.
50303         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50304         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50305         * sysdeps/mach/configure.in: Moved to ...
50306         * sysdeps/mach/configure.ac: ... here.
50307         * sysdeps/mach/hurd/configure.in: Moved to ...
50308         * sysdeps/mach/hurd/configure.ac: ... here.
50309         * sysdeps/powerpc/configure.in: Moved to ...
50310         * sysdeps/powerpc/configure.ac: ... here.
50311         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50312         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50313         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50314         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50315         * sysdeps/s390/s390-32/configure.in: Moved to ...
50316         * sysdeps/s390/s390-32/configure.ac: ... here.
50317         * sysdeps/s390/s390-64/configure.in: Moved to ...
50318         * sysdeps/s390/s390-64/configure.ac: ... here.
50319         * sysdeps/sh/configure.in: Moved to ...
50320         * sysdeps/sh/configure.ac: ... here.
50321         * sysdeps/sparc/configure.in: Moved to ...
50322         * sysdeps/sparc/configure.ac: ... here.
50323         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50324         * sysdeps/unix/sysv/linux/configure.ac: ... here.
50325         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50326         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50327         * sysdeps/x86_64/configure.in: Moved to ...
50328         * sysdeps/x86_64/configure.ac: ... here.
50329         * sysdeps/x86_64/preconfigure.in: Moved to ...
50330         * sysdeps/x86_64/preconfigure.ac: ... here.
50331         * aclocal.m4: Change reference to configure.in to configure.ac.
50332         * config.h.in: Likewise.
50333         * manual/install.texi: Likewise.
50334         * manual/maint.texi: Likewise.
50335         * Makefile: Likewise.
50336         * malloc/Makefile: Likewise.
50337         * nscd/Makefile: Likewise.
50338         * Makeconfig: Change reference to configure.in and
50339         preconfigure.in to configure.ac and preconfigure.ac
50340         respectively.
50341         * INSTALL: Regenerated.
50342         * configure: Likewise.
50343         * sysdeps/gnu/configure: Likewise.
50344         * sysdeps/i386/configure: Likewise.
50345         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50346         * sysdeps/mach/configure: Likewise.
50347         * sysdeps/mach/hurd/configure: Likewise.
50348         * sysdeps/powerpc/configure: Likewise.
50349         * sysdeps/powerpc/powerpc32/configure: Likewise.
50350         * sysdeps/powerpc/powerpc64/configure: Likewise.
50351         * sysdeps/s390/s390-32/configure: Likewise.
50352         * sysdeps/s390/s390-64/configure: Likewise.
50353         * sysdeps/sh/configure: Likewise.
50354         * sysdeps/sparc/configure: Likewise.
50355         * sysdeps/unix/sysv/linux/configure: Likewise.
50356         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50357         * sysdeps/x86_64/configure: Likewise.
50358         * sysdeps/x86_64/preconfigure: Likewise.
50360 2013-10-29  Andreas Schwab  <schwab@suse.de>
50362         * stdio-common/Makefile (tst-swscanf-ENV): Define.
50364 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50366         * benchtests/pow-inputs: Add new inputs.
50368         * benchtests/exp-inputs: Add new inputs.
50370         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50371         conditional check for return value.
50372         (__cos32): Likewise.
50374 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50376         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50377         to provide a boost for large inputs with word alignment.
50378         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50379         implementation based on optimized PPC64 strcpy.
50380         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50381         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50382         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50383         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50385 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50387         [BZ #2801]
50388         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50390 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50392         [BZ #14876]
50393         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50394         * time/tst-strptime.c (day_tests): Add testcase.
50396 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50398         [BZ #14029]
50399         * manual/pattern.texi: Acknowledge that fnmatch can fail.
50401 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
50403         [BZ #16074]
50404         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50405         MAP_FAILED on error.
50407 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50409         [BZ #16072]
50410         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50411         heap for large requests.
50413 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
50415         [BZ #9954]
50416         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50417         result if the result has no associated interface.
50418         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50419         interface for all 127.X.Y.Z addresses.
50421 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
50423         * locale/iso-639.def: Add Ligurian (lij)
50425 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
50427         [BZ #15825]
50428         * sunrpc/rpc_main.c: Document rpcgen -5.
50430 2013-10-19  Michael Stahl  <mstahl@redhat.com>
50432         * elf/rtld.c (do_preload): Print the reason why preloading failed.
50434 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50436         [BZ #10278]
50437         * posix/glob.c: Match only directories when trailing slash is present.
50438         * posix/tst-gnuglob.c (my_opendir): Do not open files.
50439         (main): Add testcase.
50441 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50443         [BZ #15670]
50444         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50446 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
50448         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50449         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50450         AUTH_DES and cindex for FIPS 140-2.
50451         (DES Encryption): Add cindex FIPS 46-3.
50453         * locale/locarchive.h (struct locarhandle): Add fname.
50454         * locale/programs/localedef.c (main): Pass ARGV[remaining]
50455         if an optional argument was specified to --list-archive,
50456         otherwise NULL.
50457         * locale/programs/locarchive.c (show_archive_content): Take new
50458         argument fname and pass it via ah.fname to open_archive.
50459         * locale/programs/localedef.h: Update decl.
50460         (open_archive): If AH->fname is non-null, open that file
50461         rather than the default file name, and don't ignore ENOENT.
50462         (create_archive): Set AH.fname to NULL.
50463         (delete_locales_from_archive): Likewise.
50464         (add_locales_to_archive): Likewise.
50465         * locale/programs/locfile.c (write_all_categories): Likewise.
50467 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
50468             Aldy Hernandez  <aldyh@redhat.com>
50470         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50471         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50472         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50473         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50474         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50475         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50476         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50477         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50478         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50479         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50480         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50481         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50482         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50483         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50484         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50485         Likewise.
50486         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50487         Likewise.
50488         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50489         Likewise.
50490         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50491         Likewise.
50492         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50493         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50494         Likewise.
50495         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50496         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50497         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50498         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50499         Likewise.
50500         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50501         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50502         * sysdeps/powerpc/preconfigure: Likewise.
50503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50504         Likewise.
50505         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50506         Replace contents of file by #include of <fenv_libc.h>.
50507         * sysdeps/powerpc/soft-fp/sfp-machine.h
50508         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50509         and <sys/prctl.h>.
50510         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50511         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50512         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50513         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50519         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50520         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50521         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50523         Allow copysignl PLT reference to be missing.
50525 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
50526             Joseph Myers  <joseph@codesourcery.com
50528         [BZ #15948]
50529         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50530         single character.
50531         (add_to_tablewc): Assert sequence of wide characters is nonempty.
50533 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50535         * elf/tst-tls-dlinfo.c: Don't include tls.h.
50536         * elf/tst-tls1.c: Likewise.
50537         * elf/tst-tls10.h: Likewise.
50538         * elf/tst-tls14.c: Likewise.
50539         * elf/tst-tls2.c: Likewise.
50540         * elf/tst-tls3.c: Likewise.
50541         * elf/tst-tls4.c: Likewise.
50542         * elf/tst-tls5.c: Likewise.
50543         * elf/tst-tls6.c: Likewise.
50544         * elf/tst-tls7.c: Likewise.
50545         * elf/tst-tls8.c: Likewise.
50546         * elf/tst-tls9.c: Likewise.
50547         * elf/tst-tlsmod1.c: Likewise.
50548         * elf/tst-tlsmod13.c: Likewise.
50549         * elf/tst-tlsmod13a.c: Likewise.
50550         * elf/tst-tlsmod14a.c: Likewise.
50551         * elf/tst-tlsmod16a.c: Likewise.
50552         * elf/tst-tlsmod16b.c: Likewise.
50553         * elf/tst-tlsmod2.c: Likewise.
50554         * elf/tst-tlsmod3.c: Likewise.
50555         * elf/tst-tlsmod4.c: Likewise.
50556         * elf/tst-tlsmod5.c: Likewise.
50557         * elf/tst-tlsmod6.c: Likewise.
50559 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
50561         [BZ #12486]
50562         * malloc/malloc.c: remove checks for statistics.
50564 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50566         [BZ #15277]
50567         * inet/inet_net.c (inet_network): Detect additional invalid strings.
50568         * inet/tst-network.c: Add testcase.
50570 2013-10-17  Andreas Schwab  <schwab@suse.de>
50572         [BZ #15218]
50573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50574         to determine canonical name.
50576 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50578         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50579         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50581         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50582         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50583         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50584         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50585         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50586         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50587         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50588         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50589         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50591         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50592         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50593         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50594         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50595         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50596         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50597         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50598         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50599         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50600         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50601         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50602         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50603         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50604         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50605         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50606         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50607         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50608         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50609         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50610         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50611         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50612         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50613         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50614         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50615         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50616         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50617         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50618         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50619         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50620         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50621         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50622         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50623         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50624         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50625         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50626         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50627         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50628         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50629         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50630         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50631         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50632         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50633         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50634         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50635         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50637 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
50639         [BZ #16041]
50640         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50641         make result into a quiet NaN.
50643 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
50645         * soft-fp/adddf3.c: Fix horizontal whitespace.
50646         * soft-fp/addsf3.c: Likewise.
50647         * soft-fp/addtf3.c: Likewise.
50648         * soft-fp/divdf3.c: Likewise.
50649         * soft-fp/divsf3.c: Likewise.
50650         * soft-fp/divtf3.c: Likewise.
50651         * soft-fp/double.h: Likewise.
50652         * soft-fp/eqdf2.c: Likewise.
50653         * soft-fp/eqsf2.c: Likewise.
50654         * soft-fp/eqtf2.c: Likewise.
50655         * soft-fp/extenddftf2.c: Likewise.
50656         * soft-fp/extended.h: Likewise.
50657         * soft-fp/extendsfdf2.c: Likewise.
50658         * soft-fp/extendsftf2.c: Likewise.
50659         * soft-fp/extendxftf2.c: Likewise.
50660         * soft-fp/fixdfdi.c: Likewise.
50661         * soft-fp/fixdfsi.c: Likewise.
50662         * soft-fp/fixdfti.c: Likewise.
50663         * soft-fp/fixsfdi.c: Likewise.
50664         * soft-fp/fixsfsi.c: Likewise.
50665         * soft-fp/fixsfti.c: Likewise.
50666         * soft-fp/fixtfdi.c: Likewise.
50667         * soft-fp/fixtfsi.c: Likewise.
50668         * soft-fp/fixtfti.c: Likewise.
50669         * soft-fp/fixunsdfdi.c: Likewise.
50670         * soft-fp/fixunsdfsi.c: Likewise.
50671         * soft-fp/fixunsdfti.c: Likewise.
50672         * soft-fp/fixunssfdi.c: Likewise.
50673         * soft-fp/fixunssfsi.c: Likewise.
50674         * soft-fp/fixunssfti.c: Likewise.
50675         * soft-fp/fixunstfdi.c: Likewise.
50676         * soft-fp/fixunstfsi.c: Likewise.
50677         * soft-fp/fixunstfti.c: Likewise.
50678         * soft-fp/floatdidf.c: Likewise.
50679         * soft-fp/floatdisf.c: Likewise.
50680         * soft-fp/floatditf.c: Likewise.
50681         * soft-fp/floatsidf.c: Likewise.
50682         * soft-fp/floatsisf.c: Likewise.
50683         * soft-fp/floatsitf.c: Likewise.
50684         * soft-fp/floattidf.c: Likewise.
50685         * soft-fp/floattisf.c: Likewise.
50686         * soft-fp/floattitf.c: Likewise.
50687         * soft-fp/floatundidf.c: Likewise.
50688         * soft-fp/floatundisf.c: Likewise.
50689         * soft-fp/floatunditf.c: Likewise.
50690         * soft-fp/floatunsidf.c: Likewise.
50691         * soft-fp/floatunsisf.c: Likewise.
50692         * soft-fp/floatunsitf.c: Likewise.
50693         * soft-fp/floatuntidf.c: Likewise.
50694         * soft-fp/floatuntisf.c: Likewise.
50695         * soft-fp/floatuntitf.c: Likewise.
50696         * soft-fp/fmadf4.c: Likewise.
50697         * soft-fp/fmasf4.c: Likewise.
50698         * soft-fp/fmatf4.c: Likewise.
50699         * soft-fp/gedf2.c: Likewise.
50700         * soft-fp/gesf2.c: Likewise.
50701         * soft-fp/getf2.c: Likewise.
50702         * soft-fp/ledf2.c: Likewise.
50703         * soft-fp/lesf2.c: Likewise.
50704         * soft-fp/letf2.c: Likewise.
50705         * soft-fp/muldf3.c: Likewise.
50706         * soft-fp/mulsf3.c: Likewise.
50707         * soft-fp/multf3.c: Likewise.
50708         * soft-fp/negdf2.c: Likewise.
50709         * soft-fp/negsf2.c: Likewise.
50710         * soft-fp/negtf2.c: Likewise.
50711         * soft-fp/op-1.h: Likewise.
50712         * soft-fp/op-2.h: Likewise.
50713         * soft-fp/op-4.h: Likewise.
50714         * soft-fp/op-8.h: Likewise.
50715         * soft-fp/op-common.h: Likewise.
50716         * soft-fp/quad.h: Likewise.
50717         * soft-fp/single.h: Likewise.
50718         * soft-fp/soft-fp.h: Likewise.
50719         * soft-fp/sqrtdf2.c: Likewise.
50720         * soft-fp/sqrtsf2.c: Likewise.
50721         * soft-fp/sqrttf2.c: Likewise.
50722         * soft-fp/subdf3.c: Likewise.
50723         * soft-fp/subsf3.c: Likewise.
50724         * soft-fp/subtf3.c: Likewise.
50725         * soft-fp/truncdfsf2.c: Likewise.
50726         * soft-fp/trunctfdf2.c: Likewise.
50727         * soft-fp/trunctfsf2.c: Likewise.
50728         * soft-fp/trunctfxf2.c: Likewise.
50729         * soft-fp/unorddf2.c: Likewise.
50730         * soft-fp/unordsf2.c: Likewise.
50731         * soft-fp/unordtf2.c: Likewise.
50733 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
50735         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50736         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50738 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
50740         * elf/dl-libc.c: Clear initfini list after freeing.
50742 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
50744         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50745         * soft-fp/addsf3.c: Likewise.
50746         * soft-fp/addtf3.c: Likewise.
50747         * soft-fp/divdf3.c: Likewise.
50748         * soft-fp/divsf3.c: Likewise.
50749         * soft-fp/divtf3.c: Likewise.
50750         * soft-fp/double.h: Likewise.
50751         * soft-fp/eqdf2.c: Likewise.
50752         * soft-fp/eqsf2.c: Likewise.
50753         * soft-fp/eqtf2.c: Likewise.
50754         * soft-fp/extenddftf2.c: Likewise.
50755         * soft-fp/extended.h: Likewise.
50756         * soft-fp/extendsfdf2.c: Likewise.
50757         * soft-fp/extendsftf2.c: Likewise.
50758         * soft-fp/extendxftf2.c: Likewise.
50759         * soft-fp/fixdfdi.c: Likewise.
50760         * soft-fp/fixdfsi.c: Likewise.
50761         * soft-fp/fixdfti.c: Likewise.
50762         * soft-fp/fixsfdi.c: Likewise.
50763         * soft-fp/fixsfsi.c: Likewise.
50764         * soft-fp/fixsfti.c: Likewise.
50765         * soft-fp/fixtfdi.c: Likewise.
50766         * soft-fp/fixtfsi.c: Likewise.
50767         * soft-fp/fixtfti.c: Likewise.
50768         * soft-fp/fixunsdfdi.c: Likewise.
50769         * soft-fp/fixunsdfsi.c: Likewise.
50770         * soft-fp/fixunsdfti.c: Likewise.
50771         * soft-fp/fixunssfdi.c: Likewise.
50772         * soft-fp/fixunssfsi.c: Likewise.
50773         * soft-fp/fixunssfti.c: Likewise.
50774         * soft-fp/fixunstfdi.c: Likewise.
50775         * soft-fp/fixunstfsi.c: Likewise.
50776         * soft-fp/fixunstfti.c: Likewise.
50777         * soft-fp/floatdidf.c: Likewise.
50778         * soft-fp/floatdisf.c: Likewise.
50779         * soft-fp/floatditf.c: Likewise.
50780         * soft-fp/floatsidf.c: Likewise.
50781         * soft-fp/floatsisf.c: Likewise.
50782         * soft-fp/floatsitf.c: Likewise.
50783         * soft-fp/floattidf.c: Likewise.
50784         * soft-fp/floattisf.c: Likewise.
50785         * soft-fp/floattitf.c: Likewise.
50786         * soft-fp/floatundidf.c: Likewise.
50787         * soft-fp/floatundisf.c: Likewise.
50788         * soft-fp/floatunsidf.c: Likewise.
50789         * soft-fp/floatunsisf.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-14   Ondřej Bílka  <neleai@seznam.cz>
50832         [BZ #15672]
50833         * misc/error.c (error_tail): Fix possible buffer overflow.
50835 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
50837         [BZ #13028]
50838         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50839         address.
50841 2013-10-14  P. J. McDermott  <pj@pehjota.net>
50843         [BZ #832]
50844         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
50845         testing pipefail option.
50847 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50849         * soft-fp/double.h: Indent preprocessor directives inside #if.
50850         * soft-fp/extended.h: Likewise.
50851         * soft-fp/op-2.h: Likewise.
50852         * soft-fp/op-4.h: Likewise.
50853         * soft-fp/op-common.h: Likewise.
50854         * soft-fp/quad.h: Likewise.
50855         * soft-fp/single.h: Likewise.
50856         * soft-fp/soft-fp.h: Likewise.
50858 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
50860         * iconv/iconv_prog.c: Fix typos.
50861         * stdio-common/psiginfo-data.h: Likewise.
50863 2013-10-12   Reuben Thomas <rrt@sc3d.org>
50865         [BZ #15764]
50866         * locale/setlocale.c: Fix typo.
50868 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50870         [BZ #16036]
50871         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
50872         signaling NaN arguments.
50873         * soft-fp/unordsf2.c (__unordsf2): Likewise.
50874         * soft-fp/unordtf2.c (__unordtf2): Likewise.
50876         [BZ #14910]
50877         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50878         unordered operands.
50879         * soft-fp/gesf2.c (__gesf2): Likewise.
50880         * soft-fp/getf2.c (__getf2): Likewise.
50881         * soft-fp/ledf2.c (__ledf2): Likewise.
50882         * soft-fp/lesf2.c (__lesf2): Likewise.
50883         * soft-fp/letf2.c (__letf2): Likewise.
50885         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
50886         * soft-fp/eqsf2.c (__eqsf2): Likewise.
50887         * soft-fp/eqtf2.c (__eqtf2): Likewise.
50888         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
50889         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
50890         * soft-fp/fixdfti.c (__fixdfti): Likewise.
50891         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
50892         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
50893         * soft-fp/fixsfti.c (__fixsfti): Likewise.
50894         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
50895         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
50896         * soft-fp/fixtfti.c (__fixtfti): Likewise.
50897         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
50898         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
50899         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
50900         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
50901         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
50902         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
50903         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
50904         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
50905         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
50906         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
50907         * soft-fp/floatdisf.c (__floatdisf): Likewise.
50908         * soft-fp/floatsisf.c (__floatsisf): Likewise.
50909         * soft-fp/floattidf.c (__floattidf): Likewise.
50910         * soft-fp/floattisf.c (__floattisf): Likewise.
50911         * soft-fp/floattitf.c (__floattitf): Likewise.
50912         * soft-fp/floatundidf.c (__floatundidf): Likewise.
50913         * soft-fp/floatundisf.c (__floatundisf): Likewise.
50914         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
50915         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
50916         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
50917         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
50918         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
50919         * soft-fp/gesf2.c (__gesf2): Likewise.
50920         * soft-fp/getf2.c (__getf2): Likewise.
50921         * soft-fp/ledf2.c (__ledf2): Likewise.
50922         * soft-fp/lesf2.c (__lesf2): Likewise.
50923         * soft-fp/letf2.c (__letf2): Likewise.
50925         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
50926         Undefine and redefine.
50927         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
50928         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
50929         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
50930         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
50931         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50932         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
50933         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50934         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
50935         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50936         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
50937         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50938         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
50939         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50940         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
50941         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50943         [BZ #16032]
50944         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
50945         without decrementing exponent if mantissa >= that for the
50946         denominator, not >.
50947         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
50948         denominator, not >.  Decrement exponent in < case instead of
50949         incrementing in >= case.
50950         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
50951         without decrementing exponent if mantissa >= that for the
50952         denominator, not >.
50954         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
50955         computing saturated result for unsigned overflow.
50957 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50958             Jeff Law  <law@redhat.com>
50960         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
50961         (atan2Mp): Add systemtap probe marker.
50962         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
50963         (__ieee754_log): Add systemtap probe marker.
50964         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
50965         (atanMp): Add systemtap probe marker.
50966         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
50967         (tanMp): Add systemtap probe marker.
50968         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
50969         (__slowexp): Add systemtap probe marker.
50970         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
50971         (__slowpow): Add systemtap probe marker.
50972         * manual/probes.texi: Document probes.
50974 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
50976         [BZ #15362]
50977         * libio/fileops.c (_IO_new_file_write): Return count of bytes
50978         written.
50979         (_IO_new_file_xsputn): Don't return EOF if nothing has been
50980         written.
50981         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
50982         written to buffer but not flushed.
50983         * libio/iofwrite_u.c:  Likewise.
50984         * libio/iopadn.c:  Return bytes returned even if EOF was
50985         encountered.
50986         * libio/iowpadn.c:  Likewise.
50987         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
50988         if _IO_padn does not write the whole buffer.
50989         [!COMPILE_WPRINTF] (PAD): Likewise.
50991 2013-10-10  David S. Miller  <davem@davemloft.net>
50993         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
50994         directory block.
50996 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
50998         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
50999         instead of FSF address.
51000         * soft-fp/fixdfti.c: Likewise.
51001         * soft-fp/fixsfti.c: Likewise.
51002         * soft-fp/fixtfti.c: Likewise.
51003         * soft-fp/fixunsdfti.c: Likewise.
51004         * soft-fp/fixunssfti.c: Likewise.
51005         * soft-fp/fixunstfti.c: Likewise.
51006         * soft-fp/floattidf.c: Likewise.
51007         * soft-fp/floattisf.c: Likewise.
51008         * soft-fp/floattitf.c: Likewise.
51009         * soft-fp/floatuntidf.c: Likewise.
51010         * soft-fp/floatuntisf.c: Likewise.
51011         * soft-fp/floatuntitf.c: Likewise.
51012         * soft-fp/trunctfxf2.c: Likewise.
51014         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51015         * soft-fp/fixdfti.c: Likewise.
51016         * soft-fp/fixsfti.c: Likewise.
51017         * soft-fp/fixtfti.c: Likewise.
51018         * soft-fp/fixunsdfti.c: Likewise.
51019         * soft-fp/fixunssfti.c: Likewise.
51020         * soft-fp/fixunstfti.c: Likewise.
51021         * soft-fp/floattidf.c: Likewise.
51022         * soft-fp/floattisf.c: Likewise.
51023         * soft-fp/floattitf.c: Likewise.
51024         * soft-fp/floatuntidf.c: Likewise.
51025         * soft-fp/floatuntisf.c: Likewise.
51026         * soft-fp/floatuntitf.c: Likewise.
51027         * soft-fp/trunctfxf2.c: Likewise.
51029 2013-10-10  David S. Miller  <davem@davemloft.net>
51031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51033 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51035         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51036         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51037         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51038         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51039         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51040         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51041         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51043         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51044         for NaNs before doing comparisons on argument.
51045         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51046         Likewise.
51048 2013-10-10  Will Newton  <will.newton@linaro.org>
51050         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51051         passed to _int_memalign does not overflow.
51053 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51055         * scripts/bench.pl: Add include-sources directive.
51056         * benchtests/README: Update documentation.
51058 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51060         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51061         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51062         instead of FP_INIT_ROUNDMODE.
51063         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51064         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51066         [BZ #16034]
51067         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51068         copy class of input value.
51069         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51070         not handle exceptions.
51071         * soft-fp/negsf2.c (__negsf2): Likewise.
51072         * soft-fp/negtf2.c (__negtf2): Likewise.
51073         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51075 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51077         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51078         semicolon.  From Linux kernel.
51080 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
51082         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51084 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
51086         [BZ #156]
51087         * manual/socket.texi: Added statement about buffer
51088         for gethostbyname2_r.
51090 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
51092         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51093         Use .p2align directive instead, throughout.
51094         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51095         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51096         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51097         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51098         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51099         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51100         * sysdeps/x86_64/strchr.S: Likewise.
51101         * sysdeps/x86_64/strrchr.S: Likewise.
51103 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51105         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51107         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51109         * sysdeps/generic/math_private.h (__mpsin1): Remove
51110         declaration.
51111         (__mpcos1): Likewise.
51112         (__mpsin): New argument __range_reduce.
51113         (__mpcos): Likewise.
51114         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51115         (slow): Use __mpsin and __mpcos.
51116         (slow1): Likewise.
51117         (slow2): Likewise.
51118         (sloww): Likewise.
51119         (sloww1): Likewise.
51120         (sloww2): Likewise.
51121         (bsloww): Likewise.
51122         (bsloww1): Likewise.
51123         (bsloww2): Likewise.
51124         (cslow2): Likewise.
51125         (csloww): Likewise.
51126         (csloww1): Likewise.
51127         (csloww2): Likewise.
51128         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51129         range_reduce.  Merge in __mpsin1.
51130         (__mpcos): Likewise.
51131         (__mpsin1): Remove.
51132         (__mpcos1): Likewise.
51134 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
51136         * locale/loadlocale.c (_nl_intern_locale_data): Use
51137         LOCFILE_ALIGNED_P.
51138         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51139         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51140         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51141         obstack data is appropriately aligned.
51142         (obstack_int32_grow_fast): Likewise.
51143         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51144         * locale/programs/locfile.c (add_locale_uint32): Likewise.
51145         (add_locale_uint32_array): Likewise.
51147 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51149         * benchtests/Makefile: Remove ARGLIST and RET variables.
51150         ($(objpfx)bench-%.c): Pass only function name to the script.
51151         * benchtests/README: Update documentation.
51152         * benchtests/acos-inputs: Add new directives.
51153         * benchtests/acosh-inputs: Likewise.
51154         * benchtests/asin-inputs: Likewise.
51155         * benchtests/asinh-inputs: Likewise.
51156         * benchtests/atan-inputs: Likewise.
51157         * benchtests/atanh-inputs: Likewise.
51158         * benchtests/cos-inputs: Likewise.
51159         * benchtests/cosh-inputs: Likewise.
51160         * benchtests/exp-inputs: Likewise.
51161         * benchtests/log-inputs: Likewise.
51162         * benchtests/pow-inputs: Likewise.
51163         * benchtests/rint-inputs: Likewise.
51164         * benchtests/sin-inputs: Likewise.
51165         * benchtests/sinh-inputs: Likewise.
51166         * benchtests/tan-inputs: Likewise.
51167         * benchtests/tanh-inputs: Likewise.
51168         * scripts/bench.pl: Add support for new directives.
51170 2013-10-07  Alan Modra  <amodra@gmail.com>
51172         * README: Fix careless merge.
51174 2013-10-05  Alan Modra  <amodra@gmail.com>
51176         * NEWS: Mention powerpc64le support and bugs fixed.
51177         * README: Both big-endian and little-endian powerpc64 supported.
51179 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51181         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51182         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51183         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51184         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51186 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
51188         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51189         match prototype.
51191 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
51193         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51194         Move -mhard-float appending from
51195         ports/sysdeps/powerpc/powerpc32/Makefile.
51196         [$(with-fp) = yes] (ASFLAGS): Likewise.
51197         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51198         * sysdeps/powerpc/nofpu: Move directory from
51199         ports/sysdeps/powerpc/nofpu.
51200         * sysdeps/powerpc/soft-fp: Move directory from
51201         ports/sysdeps/powerpc/soft-fp.
51202         * sysdeps/powerpc/powerpc32/405: Move directory from
51203         ports/sysdeps/powerpc/powerpc32/405.
51204         * sysdeps/powerpc/powerpc32/440: Move directory from
51205         ports/sysdeps/powerpc/powerpc32/440.
51206         * sysdeps/powerpc/powerpc32/464: Move directory from
51207         ports/sysdeps/powerpc/powerpc32/464.
51208         * sysdeps/powerpc/powerpc32/476: Move directory from
51209         ports/sysdeps/powerpc/powerpc32/476.
51210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51211         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51213         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51215         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51217         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51219         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51220         * README: Update for powerpc-*-linux-gnu software floating point
51221         support in libc.
51223         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51224         case to powerpc/powerpc32*.
51225         * sysdeps/unix/sysv/linux/configure: Regenerated.
51227         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51228         (_FPU_MASK_OM): Define as 0x04.
51229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51231         0x00c10080.
51232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51233         0x0000003c.
51234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51237         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51238         getcontext_e500.
51239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51240         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51241         setcontext_e500.
51242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51243         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51244         and setcontext_e500.
51246 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
51248         * locale/iso-3166.def: Update iso-1366.def and related occurrences
51250 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51252         * manual/threads.texi (Default Thread Attributes): Fix typo.
51254 2013-10-04  Will Newton  <will.newton@linaro.org>
51256         * malloc/Makefile: Add tst-memalign.
51257         * malloc/tst-memalign.c: New file.
51259         * malloc/tst-posix_memalign.c: Add comments.
51260         (do_test): Add comments and call free on all potentially
51261         allocated pointers. Add space after cast.
51263         * malloc/tst-pvalloc.c: Add comments.
51264         (do_test): Add comments and call free on all potentially
51265         allocated pointers. Remove duplicate check for NULL pointer.
51266         Add space after cast.
51268         * malloc/tst-valloc.c: Add comments.
51269         (do_test): Add comments and call free on all potentially
51270         allocated pointers. Remove duplicate check for NULL pointer.
51271         Add space after cast.
51273 2013-10-04  Alan Modra  <amodra@gmail.com>
51275         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51276         Use stdint types in rather than __attribute__((mode())).
51277         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51279 2013-10-04  Alan Modra  <amodra@gmail.com>
51281         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51282         Correct handling of unaligned relocs for little-endian.
51283         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51285 2013-10-04  Alan Modra  <amodra@gmail.com>
51287         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51288         * configure: Regenerate.
51289         * nptl/shlib-versions: Powerpc*le starts at 2.18.
51290         * shlib-versions: Likewise.
51292 2013-10-04  Alan Modra  <amodra@gmail.com>
51294         * string/tester.c (test_memrchr): Increment reported test cycle.
51296 2013-10-04  Alan Modra  <amodra@gmail.com>
51298         * string/test-memcpy.c (do_one_test): When reporting errors, print
51299         string address and don't overrun end of string.
51301 2013-10-04  Alan Modra  <amodra@gmail.com>
51303         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51304         insrdi.  Make better use of reg selection to speed exit slightly.
51305         Schedule entry path a little better.  Remove useless "are we done"
51306         checks on entry to main loop.  Handle wrapping around zero address.
51307         Correct main loop count.  Handle single left-over word from main
51308         loop inline rather than by using loop_small.  Remove extra word
51309         case in loop_small caused by wrong loop count.  Add little-endian
51310         support.
51311         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51312         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
51313         cache hint.
51314         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51315         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51316         support.  Avoid rlwimi.
51317         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51319 2013-10-04  Alan Modra  <amodra@gmail.com>
51321         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51322         insrdi.  Formatting.
51323         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51324         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51325         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51326         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51327         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51328         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51330 2013-10-04  Alan Modra  <amodra@gmail.com>
51332         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51333         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51334         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51335         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51336         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51337         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51338         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51339         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51340         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
51341         use of regs.  Use power7 mtocrf.  Tidy function tails.
51343 2013-10-04  Alan Modra  <amodra@gmail.com>
51345         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51346         Formatting.  Consistently use rXXX register defines or rN defines.
51347         Use early exit labels that avoid restoring unused non-volatile regs.
51348         Make cr field use more consistent with rWORDn compares.  Rename
51349         regs used as shift registers for unaligned loop, using rN defines
51350         for short lifetime/multiple use regs.
51351         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51352         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
51353         addi 1,1,64 to pop stack frame.  Simplify return value code.
51354         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51356 2013-10-04  Alan Modra  <amodra@gmail.com>
51358         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51359         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
51360         rather than rlwimi.
51361         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51362         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51363         little-endian support.  Correct typos.
51364         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
51365         rather than rlwimi.
51366         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
51367         in loop and entry code to keep "and." results.
51368         (strchr): Add little-endian support.  Comment.  Move cntlzd
51369         earlier in tail.
51370         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51372 2013-10-04  Alan Modra  <amodra@gmail.com>
51374         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51375         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51376         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51377         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51379 2013-10-04  Alan Modra  <amodra@gmail.com>
51381         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51382         (rTMP): Define as r11.
51383         (strcmp): Add little-endian support.  Optimise tail.
51384         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51385         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51386         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51387         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51388         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51389         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51390         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51392 2013-10-04  Alan Modra  <amodra@gmail.com>
51394         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51395         little-endian support.  Remove unnecessary "are we done" tests.
51396         Handle "s" wrapping around zero and extremely large "size".
51397         Correct main loop count.  Handle single left-over word from main
51398         loop inline rather than by using small_loop.  Correct comments.
51399         Delete "zero" tail, use "end_max" instead.
51400         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51402 2013-10-04  Alan Modra  <amodra@gmail.com>
51404         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51405         support.  Don't branch over align.
51406         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51407         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51408         support.  Rearrange tmp reg use to suit.  Comment.
51409         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51411 2013-10-04  Alan Modra  <amodra@gmail.com>
51413         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51415 2013-10-04  Alan Modra  <amodra@gmail.com>
51417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51418         conditional form of branch and link when obtaining pc.
51419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51421 2013-10-04  Alan Modra  <amodra@gmail.com>
51423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51424         HIWORD/LOWORD.
51425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51428 2013-10-04  Alan Modra  <amodra@gmail.com>
51430         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51431         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51432         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51433         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51434         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51435         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51436         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51437         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51438         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51439         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51441 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51442             Alistair Popple <alistair@ozlabs.au.ibm.com>
51443             Alan Modra <amodra@gmail.com>
51445         [BZ #15723]
51446         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51447         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51448         _dl_hwcap access for little-endian.
51449         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
51450         destroy vmx regs when saving unaligned.
51451         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51452         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
51453         destroy vmx regs when saving unaligned.
51455 2013-10-04  Alan Modra  <amodra@gmail.com>
51457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51458         Don't use a union to pack hi/low value.
51460 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51462         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51463         for little-endian.
51464         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51465         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51466         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51467         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51468         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51470 2013-10-04  Alan Modra  <amodra@gmail.com>
51472         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51473         constants to usual value for .cst8 section, and remove redundant
51474         high address load.
51475         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51476         constant for 0x1p52.  Load little-endian words of double from
51477         correct stack offsets.
51479 2013-10-04  Alan Modra  <amodra@gmail.com>
51481         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51482         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51483         words of double from correct stack offsets.
51484         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51485         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51486         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51487         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51488         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51489         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51490         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51491         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51492         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51493         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51494         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51496         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51497         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51498         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51499         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51500         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51502 2013-10-04  Alan Modra  <amodra@gmail.com>
51504         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51505         64-bit int/double union.
51506         (_FPU_SETCW): Likewise.
51507         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51508         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51510 2013-10-04  Alan Modra  <amodra@gmail.com>
51512         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51513         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51515 2013-10-04  Alan Modra  <amodra@gmail.com>
51517         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51518         use vector int constants.
51519         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51521 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51523         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51524         array with long long.
51525         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51526         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51527         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51528         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51529         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51530         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51531         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51532         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51533         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51534         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51535         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51536         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51537         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51539 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51541         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51542         (__signbit): Likewise.  Correct for little-endian.
51543         (__signbitl): Call __signbit.
51544         (lrint): Correct for little-endian.
51545         (lrintf): Call lrint.
51547 2013-10-04  Alan Modra  <amodra@gmail.com>
51549         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51550         union 32-bit int array member with 64-bit int array.
51551         (t515, tm256): Double rather than long double.
51552         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51554 2013-10-04  Alan Modra  <amodra@gmail.com>
51556         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51557         Delete.
51558         (IEEE854_LONG_DOUBLE_BIAS): Delete.
51559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51560         version of math_ldbl.h.
51562 2013-10-04  Alan Modra  <amodra@gmail.com>
51564         [BZ #15734], [BZ #15735]
51565         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51566         all uses of ieee875 long double macros and unions.  Simplify test
51567         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
51568         ldbl_extract_mantissa value for ix,iy exponents.  Properly
51569         normalize after ldbl_extract_mantissa, and don't add hidden bit
51570         already handled.  Don't treat low word of ieee854 mantissa like
51571         low word of IBM long double and mask off bit when testing for
51572         zero.
51573         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51574         all uses of ieee875 long double macros and unions.  Simplify tests
51575         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
51576         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
51577         two1022, instead use their values.  Recognise that tests for large
51578         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
51579         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51580         Rewrite all uses of ieee875 long double macros and unions.  Simplify
51581         test for 0.0L and nan.  Correct negation.
51582         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51583         ieee875 long double macros and unions.  Correct output for large
51584         magnitude x.  Correct absolute value calculation.
51585         (__erfcl): Likewise.
51586         * math/libm-test.inc: Add tests for errors discovered in IBM long
51587         double versions of fmodl, remainderl, erfl and erfcl.
51589 2013-10-04  Alan Modra  <amodra@gmail.com>
51591         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51592         all uses of ieee854 long double macros and unions.  Simplify tests
51593         for long doubles that are fully specified by the high double.
51594         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51595         Likewise.
51596         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51597         Remove dead code too.
51598         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51599         (__ieee754_ynl): Likewise.
51600         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51601         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51602         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51603         Remove dead code too.
51604         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51605         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51606         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51607         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51608         Simplify.
51609         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51610         Simplify.
51611         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51612         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51613         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51614         Comment on variable precision.
51615         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51616         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51617         Likewise.
51618         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51619         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51620         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51621         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51622         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51624 2013-10-04  Alan Modra  <amodra@gmail.com>
51626         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51627         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51628         all uses of ieee854 long double macros and unions.
51629         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51631         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51632         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51633         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51634         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51635         Likewise.
51636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51637         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51638         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51639         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51640         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51641         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51642         Simplify sign and nan test too.
51643         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51644         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51645         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51646         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51647         Likewise.
51648         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51649         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51650         Likewise.
51651         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51652         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51653         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51654         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51655         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51656         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51658 2013-10-04  Alan Modra  <amodra@gmail.com>
51660         * stdio-common/printf_size.c (__printf_size): Don't use
51661         union ieee854_long_double in fpnum union.
51662         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
51663         signbit macro to retrieve sign from long double.
51664         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51665         retrieve sign from long double.
51666         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51667         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51668         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51669         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51670         * math/test-misc.c (main): Don't use union ieee854_long_double.
51672 2013-10-04  Alan Modra  <amodra@gmail.com>
51674         [BZ #15680]
51675         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51676         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51677         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51678         calculation.  Remove unnecessary test for denormal exponent.
51679         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51680         Correct handling of denormals.  Avoid undefined shift behaviour.
51681         Correct normalisation of low mantissa when low double is denormal.
51682         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51683         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
51684         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51685         Correct normalisation of low mantissa.  Test for overflow of high
51686         mantissa and normalise.
51687         (ldbl_nearbyint): Use more readable constant for two52.
51688         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51689         (__mpn_construct_long_double): Fix test for overflow of high
51690         mantissa and correct normalisation.  Avoid undefined shift.
51692 2013-10-04  Alan Modra  <amodra@gmail.com>
51694         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51695         (union ibm_extended_long_double): Define as an array of ieee754_double.
51696         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51697         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51698         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51699         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51700         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51701         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51703         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51704         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51705         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51706         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51708 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
51710         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51711         page size instead of calling getpagesize.
51713         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51714         (LOCFILE_ALIGN_MASK): Likewise.
51715         (LOCFILE_ALIGN_UP): Likewise.
51716         (LOCFILE_ALIGNED_P): Likewise.
51717         * locale/programs/ld-collate.c (collate_output): Use the new
51718         macros instead of __alignof__ (int32_t).
51719         * locale/weight.h (findidx): Likewise.
51721 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
51723         [BZ #431]
51724         * manual/string.texi: Fix strncat and wcsncat.
51726 2013-10-03  Brooks Moses  <bmoses@google.com>
51728         [BZ #15915]
51729         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51730         * Makerules: ...here, and adjust associated comments.
51732 2013-10-02  Will Newton  <will.newton@linaro.org>
51734         * malloc/Makefile: Add tst-pvalloc.
51735         * malloc/tst-pvalloc.c: New file.
51737 2013-10-02  Will Newton  <will.newton@linaro.org>
51739         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51740         improve test coverage.
51742 2013-10-02  Will Newton  <will.newton@linaro.org>
51744         * malloc/Makefile: Add tst-posix_memalign.
51745         * malloc/tst-posix_memalign.c: New file.
51747 2013-10-01  Eric Blake  <eblake@redhat.com>
51749         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51750         Use __THROWNL rather than __THROW on static functions.
51752 2013-09-30  Petr Machata  <pmachata@redhat.com>
51754         * elf/elf.h (R_AARCH64_ABS16): New macro.
51755         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51756         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51757         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51758         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51759         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51760         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51761         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51762         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51763         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51764         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51765         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51766         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51767         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51768         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51769         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51770         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51771         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51772         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51773         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51774         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51775         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51776         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51777         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51778         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51779         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51780         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51781         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51782         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51783         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51784         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51785         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51786         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51787         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51788         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51789         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51790         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51791         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51792         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51793         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51794         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51795         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51796         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51797         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51798         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51799         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51800         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51801         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51802         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51803         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51804         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51805         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51806         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51807         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51808         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51809         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51810         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51811         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51812         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51813         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51814         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51815         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51816         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51817         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51818         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51819         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51820         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51821         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51822         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51823         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51824         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51825         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51826         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51827         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51828         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51829         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51830         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51831         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51832         (R_AARCH64_TLSDESC_LDR): Likewise.
51833         (R_AARCH64_TLSDESC_ADD): Likewise.
51834         (R_AARCH64_TLSDESC_CALL): Likewise.
51836 2013-09-30  Andreas Schwab  <schwab@suse.de>
51838         [BZ #15048]
51839         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51840         the nss database lookup.
51841         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51844 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
51846         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51848 2013-09-28  P. J. McDermott  <pj@pehjota.net>
51850         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51851         ${Bash-specific parameter/pattern/string} parameter expansion.
51852         * sysdeps/unix/make-syscalls.sh: Likewise.
51854 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51856         * sysdeps/sh/stackguard-macros.h: New file.
51858 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
51860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51862         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51863         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51864         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51865         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51867 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51869         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
51870         Fix thread ID register.
51872 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
51874         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
51875         [POSIX || UNIX98]: Require rather than permitting all symbols from
51876         <time.h>.
51877         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
51878         element of struct sched_param.
51879         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
51880         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
51881         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
51882         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
51883         constant.
51885 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
51887         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
51888         argument calculation.
51890 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
51892         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
51893         Expect macro.
51894         [POSIX] (pthread_attr_t): Do not require type.
51895         [POSIX] (pthread_cond_t): Likewise.
51896         [POSIX] (pthread_condattr_t): Likewise.
51897         [POSIX] (pthread_key_t): Likewise.
51898         [POSIX] (pthread_mutex_t): Likewise.
51899         [POSIX] (pthread_mutexattr_t): Likewise.
51900         [POSIX] (pthread_once_t): Likewise.
51901         [POSIX] (pthread_t): Likewise.
51902         [POSIX-based standards] (pthread_atfork): Expect function.
51904 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
51905             Richard Sandiford  <richard@codesourcery.com>
51907         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
51908         (swap_endianness_p): New extern variable.
51909         (set_big_endian): New inline function.
51910         (maybe_swap_uint32): Likewise.
51911         (maybe_swap_uint32_array): Likewise.
51912         (maybe_swap_uint32_obstack): Likewise.
51913         * locale/programs/locfile.c: Include <stdbool.h>.
51914         (swap_endianness_p): New variable.
51915         (add_locale_uint32): Call maybe_swap_uint32.
51916         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
51917         (write_locale_data): Call maybe_swap_uint32_array.
51918         * locale/programs/ld-collate.c (obstack_int32_grow): Call
51919         maybe_swap_uint32.
51920         (obstack_int32_grow_fast): Likewise.
51921         (output_weightwc): Call maybe_swap_uint32_obstack.
51922         (collate_output): Likewise.
51923         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
51924         (OPT_LITTLE_ENDIAN): Likewise.
51925         (options): Add --little-endian and --big-endian options.
51926         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
51927         * locale/programs/locarchive.c: Include "locfile.h".
51928         (GET): New macro.
51929         (SET): Likewise.
51930         (INC): Likewise.
51931         (create_archive): Use the new macros to access fields of
51932         structures directly mapped from or written to locale archives.
51933         (oldlocrecentcmp): Likewise.
51934         (enlarge_archive): Likewise.
51935         (insert_name): Likewise.
51936         (add_alias): Likewise.
51937         (add_locale): Likewise.
51938         (delete_locales_from_archive): Likewise.
51939         (show_archive_content): Likewise.
51940         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
51941         locale data.
51943 2013-09-24  Roland McGrath  <roland@hack.frob.com>
51945         * manual/freemanuals.texi: Updated from (newly) canonical copy at
51946         http://www.gnu.org/doc/freemanuals.texi.
51947         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
51949 2013-09-24  Will Newton  <will.newton@linaro.org>
51951         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
51952         macro.
51954 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
51956         * locale/hashval.h (compute_hashval): Interpret bytes of key as
51957         unsigned char.
51959 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
51961         * manual/threads.texi (POSIX Threads): Fix a typo.
51963 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51965         [BZ #14547]
51966         * string/tst-strcoll-overflow.c: New test case.
51967         * string/Makefile (xtests): Add tst-strcoll-overflow.
51968         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
51969         cache if string sizes may cause integer overflow.
51971         [BZ #14547]
51972         * string/strcoll_l.c (coll_seq): New members rule, idx,
51973         save_idx and back_us.
51974         (get_next_seq_nocache): New function.
51975         (do_compare_nocache): New function.
51976         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
51977         when malloc fails.
51979 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
51981         [BZ #15754]
51982         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
51983         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
51984         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
51986         [BZ #15754]
51987         * elf/Makefile (tests): Add tst-ptrguard1.
51988         (tests-static): Add tst-ptrguard1-static.
51989         (tst-ptrguard1-ARGS): Define.
51990         (tst-ptrguard1-static-ARGS): Define.
51991         * elf/tst-ptrguard1.c: New file.
51992         * elf/tst-ptrguard1-static.c: New file.
51993         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
51994         * sysdeps/i386/stackguard-macros.h: Likewise.
51995         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51996         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51997         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51998         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51999         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52000         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52002 2013-09-23  Hector Marco  <hecmargi@upv.es>
52003             Ismael Ripoll  <iripoll@disca.upv.es>
52004             Carlos O'Donell  <carlos@redhat.com>
52006         [BZ #15754]
52007         * sysdeps/generic/stackguard-macros.h: Define
52008         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52009         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52010         Define __pointer_chk_guard_local.
52011         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52012         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52014 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52016         [BZ #15859]
52017         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52019 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52021         * include/string.h (__ffs): Declare as hidden.
52022         * string/ffs.c (__ffs): Define as hidden.
52023         * sysdeps/i386/ffs.c (__ffs): Likewise.
52024         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52025         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52026         * sysdeps/s390/ffs.c (__ffs): Likewise.
52027         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52029 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52031         * NEWS: Mention malloc probes.
52033         * malloc/arena.c (new_heap): New memory_heap_new probe.
52034         (grow_heap): New memory_heap_more probe.
52035         (shrink_heap): New memory_heap_less probe.
52036         (heap_trim): New memory_heap_free probe.
52037         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52038         (systrim): New memory_sbrk_less probe.
52039         * manual/probes.texi: Document them.
52041         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52042         * manual/probes.texi: Document it.
52044         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52045         (__libc_realloc): Add memory_realloc_retry probe.
52046         (__libc_memalign): Add memory_memalign_retry probe.
52047         (__libc_valloc): Add memory_valloc_retry probe.
52048         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52049         (__libc_calloc): Add memory_calloc_retry probe.
52050         * manual/probes.texi: Document them.
52052         * malloc/arena.c (get_free_list): Add probe
52053         memory_arena_reuse_free_list.
52054         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52055         and memory_arena_reuse.
52056         (arena_get2) [!PER_THREAD]: Likewise.
52057         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52058         memory_arena_reuse_realloc.
52059         * manual/probes.texi: Document them.
52061         * malloc/malloc.c (__libc_free): Add
52062         memory_mallopt_free_dyn_thresholds probe.
52063         (__libc_mallopt): Add multiple memory_mallopt probes.
52064         * manual/probes.texi: Document them.
52066         * malloc/malloc.c: Include stap-probe.h.
52067         (__libc_mallopt): Add memory_mallopt probe.
52068         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52069         * manual/probes.texi: New.
52070         * manual/Makefile (chapters): Add probes.
52071         * manual/threads.texi: Set next node.
52073 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52075         [BZ #15963, #13985]
52076         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52077         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52078         Add `Chinese' to `nan' entry name.
52080 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52082         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52083         (POLYNOMIAL): Likewise.
52084         (TAYLOR_SINCOS): Likewise.
52085         (TAYLOR_SLOW): Likewise.
52086         (__sin): Use TAYLOR_SINCOS.
52087         (__cos): Likewise.
52088         (slow): Use TAYLOR_SLOW.
52089         (sloww): Likewise.
52090         (bsloww): Likewise.
52091         (csloww): Likewise.
52093 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52095         * stdlib/strtod_l.c: Fix buffer overrun.
52097 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52099         * benchtests/Makefile (bench): Add sincos.
52100         * benchtests/bench-sincos.c: New file.
52102         * math/libm-test.inc (cos_test_data): New test inputs.
52103         (sin_test_data): Likewise.
52105         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52106         macro.
52107         (__sin): Use it.
52108         (__cos): Likewise.
52109         (slow1): Likewise.
52110         (slow2): Likewise.
52111         (sloww1): Likewise.
52112         (sloww2): Likewise.
52113         (bsloww1): Likewise.
52114         (bsloww2): Likewise.
52115         (cslow2): Likewise.
52116         (csloww1): Likewise.
52117         (csloww2): Likewise.
52119         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52120         function.
52121         (__sin): Use it.
52122         (__cos): Likewise.
52124         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52125         gotos.
52126         (__cos): Likewise.
52128 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
52130         * config.h.in (HAVE_MIPS_NAN2008): New macro.
52131         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52132         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52133         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52134         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52135         * elf/cache.c (print_entry): Handle the new cache flags.
52137 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52138             Aldy Hernandez  <aldyh@redhat.com>
52140         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52141         Change condition to [_SOFT_FLOAT].
52142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52154         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52157         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52158         declaration.
52160 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52162         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52163         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52164         (__longjmp): Use LOAD_GP to load saved GPRs.
52165         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52166         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52167         (__sigsetjmp): Use SAVE_GP to save GPRs.
52169         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52170         Do not append -msoft-float.
52171         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52173 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52175         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52177 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
52179         [BZ #15966]
52180         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52181         (_FPU_GETCW): Use initial "__" on variable and field names but not
52182         on macro parameter name.
52183         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
52184         parentheses around reference to macro parameter.
52186 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
52188         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52189         prototype.
52190         (ctype_startup): Use uint32_t in cast and sizeof for
52191         ctype->charnames.
52193 2013-09-11  Jia Liu  <proljc@gmail.com>
52195         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52196         __daddr_t_defined.
52197         [__FreeBSD__]: Likewise.
52199 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
52201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52202         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52203         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52204         (strchr): Remove __strchr_sse42 ifunc selection.
52205         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52206         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52208 2013-09-11  Will Newton  <will.newton@linaro.org>
52210         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52211         parameter to RES. Remove hardcoded 1000 value.
52212         * benchtests/bench-skeleton.c (main): Pass RES parameter
52213         to TIMING_INIT and multiply result by 1000.
52215 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52219 2013-09-11  Andreas Schwab  <schwab@suse.de>
52221         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52222         if not defined.
52223         (O_TMPFILE) [__USE_GNU]: Define.
52224         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52225         Define.
52227 2013-09-11  Will Newton  <will.newton@linaro.org>
52229         [BZ #15857]
52230         * malloc/malloc.c (__libc_memalign): Check the value of bytes
52231         does not overflow.
52233 2013-09-11  Will Newton  <will.newton@linaro.org>
52235         [BZ #15856]
52236         * malloc/malloc.c (__libc_valloc): Check the value of bytes
52237         does not overflow.
52239 2013-09-11  Will Newton  <will.newton@linaro.org>
52241         [BZ #15855]
52242         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52243         does not overflow.
52245 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
52247         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52248         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52249         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52250         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52251         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52253 2013-09-10  Allan McRae  <allan@archlinux.org>
52255         [BZ #15748]
52256         * manual/arith.texi (Parsing of Floats): Clarify
52257         cross-reference.
52259         [BZ #15849]
52260         * manual/install.texi (Running make install): Mention
52261         --enable-pt-chown.
52262         * INSTALL: Regenerated.
52264 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
52266         * csu/init-first.c (_init): Remove the !SHARED condition around
52267         FPU control word initialization.
52268         * elf/dl-support.c (_dl_fpu_control): New variable.
52269         (_dl_aux_init) <AT_FPUCW>: Initialize it.
52270         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52271         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52272         * math/test-fpucw-static.c: New file.
52273         * math/test-fpucw-ieee.c: New file.
52274         * math/test-fpucw-ieee-static.c: New file.
52275         * math/Makefile (tests): Add `test-fpucw-ieee' and
52276         `$(tests-static)'.
52277         (tests-static): New variable.
52278         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52279         dependency to...
52280         [($(build-shared),yes)]
52281         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52282         ... this.
52283         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52284         New dependency.
52286 2013-09-09  Allan McRae  <allan@archlinux.org>
52288         [BZ #15939]
52289         * manual/string.texi (Collation Functions): Fix typo in
52290         strcoll example.
52291         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52293         [BZ #15893]
52294         * stdlib/isomac.c (get_null_defines): Fix memory leak.
52296         [BZ #15892]
52297         * libio/memstream.c (open_memstream): Fix memory leak.
52298         * libio/wmemstream.c (open_wmemstream): Likewise.
52300         [BZ #15895]
52301         * nscd/netgroupcache.c: Fix nesting of ifdefs.
52303 2013-09-09  Will Newton  <will.newton@linaro.org>
52305         * malloc/Makefile: Add tst-realloc to tests.
52306         * malloc/tst-realloc.c: New file.
52308 2013-09-09  Allan McRae  <allan@archlinux.org>
52310         [BZ #15844]
52311         * COPYING: Update from GNU website to fix FSF address.
52312         * COPYING.LIB: Likewise.
52314 2013-09-06  David S. Miller  <davem@davemloft.net>
52316         * po/zh_TW.po: Update Chinese (traditional) translation from
52317         translation project.
52319 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
52320             Joseph Myers  <joseph@codesourcery.com>
52322         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52323         "localeinfo.h".
52324         (obstack_chunk_alloc): New macro.
52325         (obstack_chunk_free): Likewise.
52326         (record_offset): New function.
52327         (init_locale_data): Likewise.
52328         (align_locale_data): Likewise.
52329         (add_locale_empty): Likewise.
52330         (add_locale_raw_data): Likewise.
52331         (add_locale_raw_obstack): Likewise.
52332         (add_locale_string): Likewise.
52333         (add_locale_wstring): Likewise.
52334         (add_locale_uint32): Likewise.
52335         (add_locale_uint32_array): Likewise.
52336         (add_locale_char): Likewise.
52337         (start_locale_structure): Likewise.
52338         (end_locale_structure): Likewise.
52339         (start_locale_prelude): Likewise.
52340         (end_locale_prelude): Likewise.
52341         (write_locale_data): Take locale_file structure rather than an
52342         iovec.
52343         * locale/programs/locfile.h: Include "obstack.h".
52344         (struct locale_file): Change to store locale file contents instead
52345         of header.
52346         (init_locale_data): New prototype.
52347         (align_locale_data): Likewise.
52348         (add_locale_empty): Likewise.
52349         (add_locale_raw_data): Likewise.
52350         (add_locale_raw_obstack): Likewise.
52351         (add_locale_string): Likewise.
52352         (add_locale_wstring): Likewise.
52353         (add_locale_uint32): Likewise.
52354         (add_locale_uint32_array): Likewise.
52355         (add_locale_char): Likewise.
52356         (start_locale_structure): Likewise.
52357         (end_locale_structure): Likewise.
52358         (start_locale_prelude): Likewise.
52359         (end_locale_prelude): Likewise.
52360         (write_locale_data): Update prototype.
52361         * locale/programs/3level.h (struct TABLE): Remove result field.
52362         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52363         Use new locale_file interface.
52364         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52365         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52366         * locale/programs/ld-address.c (address_output): Use new
52367         locale_file interface.
52368         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52369         NO_ADD_LOCALE.
52370         (collate_finish): Don't call collseq_table_finalize.
52371         (collate_output): Use new locale_file interface.
52372         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52373         in file.
52374         (NO_FINALIZE): Change to NO_ADD_LOCALE.
52375         (TABLE): Move defines earlier in file.
52376         (ELEMENT): Likewise.
52377         (DEFAULT): Likewise.
52378         (wctrans_table_add): Move macro and inline function earlier in
52379         file.
52380         (struct wctype_table): Move type earlier in file.
52381         (add_locale_wctype_table): New static prototype.
52382         (struct locale_ctype_t): Use logical types instead of struct iovec
52383         pointers for members.
52384         (ctype_output): Use new locale_file interface.
52385         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
52386         new locale_file interface.
52387         (allocate_arrays): Update for use of new locale_file interface.
52388         * locale/programs/ld-identification.c (identification_output): Use
52389         new locale_file interface.
52390         * locale/programs/ld-measurement.c (measurement_output): Likewise.
52391         * locale/programs/ld-messages.c (messages_output): Likewise.
52392         * locale/programs/ld-monetary.c (monetary_output): Likewise.
52393         * locale/programs/ld-name.c (name_output): Likewise.
52394         * locale/programs/ld-numeric.c (numeric_output): Likewise.
52395         * locale/programs/ld-paper.c (paper_output): Likewise.
52396         * locale/programs/ld-telephone.c (telephone_output): Likewise.
52397         * locale/programs/ld-time.c (time_output): Likewise.
52399 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52401         * benchtests/Makefile: Add memrchr benchmark.
52402         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52403         benchmark as memrchr.
52404         * benchtests/bench-memrchr-ifunc.c: New file.
52405         * benchtests/bench-memrchr.c: New file.
52407 2013-09-06   Will Newton  <will.newton@linaro.org>
52409         * benchtests/Makefile (string-bench): Add memcpy.
52411 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
52412             Cong Wang  <amwang@redhat.com>
52414         [BZ #15850]
52415         * sysdeps/unix/sysv/linux/bits/in.h
52416         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52417         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52418         before __USE_KERNEL_IPV6_DEFS uses.
52419         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52420         IPPROTO_BEETPH.
52421         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52422         sockaddr_in6, or ipv6_mreq.
52424 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52426         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52427         memory access for final bytes in some large inputs.
52428         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52430 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52432         * string/test-memrchr.c: New file.
52433         * string/test-memrchr-ifunc.c: New file.
52434         * string/Makefile: Add new memrchr testcase.
52436 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
52438         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52439         fanotify_init returns EPERM.
52441 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52443         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52444         errors.
52445         (top level): Treat second token from macro or constant entries for
52446         allowed headers as allowed.
52447         * include/complex.h: Condition internal declarations on
52448         [!_ISOMAC].
52449         * include/fenv.h: Condition include of <stdbool.h> and internal
52450         declarations on [!_ISOMAC].
52452 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
52454         [BZ #15923]
52455         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52457 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52459         * configure.in (--enable-versioning): Remove configure option.
52460         (libc_cv_asm_symver_directive): Remove configure test.
52461         (libc_cv_ld_version_script_option): Likewise.
52462         (VERSIONING): Remove variable and AC_SUBST.
52463         (DO_VERSIONING): Remove AC_DEFINE.
52464         * configure: Regenerated.
52465         * config.h.in (DO_VERSIONING): Remove macro.
52466         * Makerules [$(versioning) = yes]: Change conditionals to
52467         [$(build-shared) = yes].
52468         * config.make.in (versioning): Remove variable.
52469         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52470         [$(build-shared) = yes].
52471         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52472         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52473         * elf/Makefile [$(versioning) = yes]: Change conditionals to
52474         [$(build-shared) = yes].
52475         * extra-lib.mk [$(versioning) = yes]: Likewise.
52476         * hurd/Makefile [$(versioning) = yes]: Likewise.
52477         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52478         [SHARED].
52479         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52480         [SHARED].
52481         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52482         [SHARED && !NO_HIDDEN].
52483         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52484         [SHARED].
52485         [SHARED && DO_VERSIONING]: Likewise..
52486         * libio/Makefile [$(versioning) = yes]: Change conditionals to
52487         [$(build-shared) = yes].
52488         * manual/install.texi (--disable-versioning): Remove
52489         documentation.
52490         * INSTALL: Regenerated.
52491         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52492         to [SHARED].
52493         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52494         [$(build-shared) = yes].
52495         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52496         * sysdeps/i386/i686/multiarch/strstr-c.c
52497         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52498         [SHARED && !NO_HIDDEN].
52499         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52500         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52501         * sysdeps/powerpc/powerpc32/dl-machine.c
52502         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52503         * sysdeps/powerpc/powerpc32/sysdep.h
52504         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52505         to [SHARED && PIC && !NO_HIDDEN].
52506         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52507         conditional to [SHARED].
52509 2013-09-04   Will Newton  <will.newton@linaro.org>
52511         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52512         * benchtests/bench-string.h: Include bench-timing.h instead
52513         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52514         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52515         call to HP_TIMING_DIFF_INIT.
52516         * benchtests/bench-memccpy.c: Use bench-timing.h macros
52517         instead of hp-timing.h macros.
52518         * benchtests/bench-memchr.c: Likewise.
52519         * benchtests/bench-memcmp.c: Likewise.
52520         * benchtests/bench-memcpy.c: Likewise.
52521         * benchtests/bench-memmem.c: Likewise.
52522         * benchtests/bench-memmove.c: Likewise.
52523         * benchtests/bench-memset.c: Likewise.
52524         * benchtests/bench-rawmemchr.c: Likewise.
52525         * benchtests/bench-strcasecmp.c: Likewise.
52526         * benchtests/bench-strcasestr.c: Likewise.
52527         * benchtests/bench-strcat.c: Likewise.
52528         * benchtests/bench-strchr.c: Likewise.
52529         * benchtests/bench-strcmp.c: Likewise.
52530         * benchtests/bench-strcpy.c: Likewise.
52531         * benchtests/bench-strcpy_chk.c: Likewise.
52532         * benchtests/bench-strlen.c: Likewise.
52533         * benchtests/bench-strncasecmp.c: Likewise.
52534         * benchtests/bench-strncat.c: Likewise.
52535         * benchtests/bench-strncmp.c: Likewise.
52536         * benchtests/bench-strncpy.c: Likewise.
52537         * benchtests/bench-strnlen.c: Likewise.
52538         * benchtests/bench-strpbrk.c: Likewise.
52539         * benchtests/bench-strrchr.c: Likewise.
52540         * benchtests/bench-strspn.c: Likewise.
52541         * benchtests/bench-strstr.c: Likewise.
52543 2013-09-04  Will Newton  <will.newton@linaro.org>
52545         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52547 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
52549         [BZ #15427]
52550         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52551         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52552         * math/libm-test.inc (lgamma_test_data): Add more tests.
52553         * sysdeps/i386/fpu/libm-test-ulps: Update.
52554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52556 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
52558         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52559         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52560         Add ifunc.
52561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52562         Add strcmp-sse2-unaligned
52563         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52565 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52567         * Versions.def (libc): Add GLIBC_2.19.
52569 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52571         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52572         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52574 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
52576         [BZ #14155]
52577         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52578         intermediate calculations in recurrence.
52579         (__ieee754_ynf): Likewise.
52580         * math/libm-test.inc (jn_test_data): Do not allow spurious
52581         underflow exception.  Add more tests.
52582         (yn_test_data): Add more tests.
52583         * sysdeps/i386/fpu/libm-test-ulps: Update.
52584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52586 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
52588         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52590 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52592         * csu/init-first.c: Fix then/than typos.
52593         * locale/programs/ld-collate.c: Likewise.
52594         * locale/programs/linereader.h: Likewise.
52595         * manual/charset.texi: Likewise.
52596         * manual/filesys.texi: Likewise.
52597         * manual/stdio.texi: Likewise.
52598         * manual/string.texi: Likewise.
52599         * stdlib/fmtmsg.c: Likewise.
52600         * sysdeps/i386/stpncpy.S: Likewise.
52601         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52602         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52603         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52604         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52606 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52608         * elf/dl-open.c: Fix typos.
52609         * iconvdata/gbbig5.c: Likewise.
52610         * iconvdata/iso-2022-jp.c: Likewise.
52611         * iconv/gconv_int.h: Likewise.
52612         * iconv/loop.c: Likewise.
52613         * nis/rpcsvc/nis.h: Likewise.
52614         * resolv/ns_name.c: Likewise.
52615         * stdio-common/vfscanf.c: Likewise.
52616         * streams/stropts.h: Likewise.
52617         * sunrpc/rpc_thread.c: Likewise.
52618         * sysdeps/i386/strpbrk.S: Likewise.
52619         * sysdeps/ieee754/k_standard.c: Likewise.
52620         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52621         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52622         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52623         * sysdeps/mach/hurd/profil.c: Likewise.
52624         * sysdeps/s390/dl-procinfo.h: Likewise.
52625         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52626         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52627         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52628         * sysdeps/x86_64/dl-trampoline.S: Likewise.
52629         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52631 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
52633         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52636 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
52638         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52639         aix specific files.
52640         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52641         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52642         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52643         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52644         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52645         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52646         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52647         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52649 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52650             Roland McGrath  <roland@hack.frob.com>
52652         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52653         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52655 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52657         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52658         __executable_start symbol instead of _start.
52660 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52662         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52663         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52664         Move macros to...
52665         * sysdeps/gnu/ldsodefs.h: ... this new file.
52667         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52668         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52669         instead of ELFOSABI_LINUX.
52671         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52672         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52673         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52674         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52675         Likewise.
52676         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52677         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52678         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52679         Likewise.
52680         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52681         (ibm_extended_long_double): Add ieee_nan member.
52682         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52683         (do_test): New function.
52685         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52686         TEST_TRUNC.
52687         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52688         functions, renamed from truncdfsf_test, trunctfsf_test,
52689         trunctfdf_test.
52690         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52691         functions.
52692         (do_test): Run all these.
52694 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
52696         * argp/argp-help.c: Fix typos.
52697         * argp/argp-parse.c: Likewise.
52698         * debug/backtracesyms.c: Likewise.
52699         * elf/elf.h: Likewise.
52700         * malloc/malloc.c: Likewise.
52701         * nis/nis_print.c: Likewise.
52702         * resolv/res_comp.c: Likewise.
52703         * stdlib/stdlib.h: Likewise.
52704         * sunrpc/clnt_tcp.c: Likewise.
52705         * sunrpc/clnt_udp.c: Likewise.
52706         * sunrpc/clnt_unix.c: Likewise.
52707         * sysdeps/unix/bsd/ptsname.c: Likewise.
52708         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52709         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52711         Likewise.
52712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52713         Likewise.
52714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52715         Likewise.
52716         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52718 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52720         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52723 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
52725         [BZ #15897]
52726         * dlfcn/Makefile (tests): Add bug-dl-leaf.
52727         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52728         ($(objpfx)bug-dl-leaf): New rule.
52729         ($(objpfx)bug-dl-leaf.so): Likewise.
52730         ($(objpfx)bug-dl-leaf.out): Likewise.
52731         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52732         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52733         * dlfcn/bug-dl-leaf.c: New test.
52734         * dlfcn/bug-dl-leaf-lib.c: Likewise.
52735         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52736         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52737         (dlclose): Likewise.
52738         (dlmopen): Likewise.
52740 2013-08-27  Roland McGrath  <roland@hack.frob.com>
52742         * include/netdb.h [!_ISOMAC]:
52743         Don't include <tls.h>.
52744         (h_errno, __libc_h_errno): Move declaration and macros out of
52745         [_LIBC_REENTRANT].
52747         * include/resolv.h [_RESOLV_H_]:
52748         Don't include <tls.h>.
52749         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52750         * resolv/res_libc.c: Don't include <tls.h>.
52751         (_res): Use __attribute__ ((nocommon)) in place of
52752         __attribute__ ((section (".bss"))).
52754         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52755         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52757         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52759         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52760         only under [SIOCGIFCONF && SIOCGIFNETMASK].
52762         * resolv/res_mkquery.c: Include <sys/time.h>.
52764         * inet/ifreq.c: Moved to ...
52765         * sysdeps/unix/ifreq.c: ... here.
52766         * inet/ifreq.c: New file, true stub version.
52768         * socket/sa_len.c: New file.
52769         * socket/Makefile (aux): Add it.
52770         * sysdeps/unix/sysv/linux/Makefile
52771         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52772         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52773         and #include <socket/sa_len.c>.
52774         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52775         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52777         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52778         * bits/socket.h: ... here.
52780         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52781         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52782         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52784 2013-08-27  Andreas Schwab  <schwab@suse.de>
52786         [BZ #15736]
52787         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52788         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52789         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52790         * string/test-strcasecmp.c (test_main): Run tests in several
52791         locales.
52792         * string/test-strncasecmp.c (test_main): Likewise.
52794         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52795         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52796         to __strcasecmp_nonascii and __strncasecmp_nonascii.
52797         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52798         (__strncasecmp_ssse3) [PIC]: Likewise.
52800 2013-08-26  Roland McGrath  <roland@hack.frob.com>
52802         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52804         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52805         instead of explicitly declaring xdecrypt.
52806         * nis/nss_nis/nis-publickey.c: Likewise.
52808 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52810         [BZ #15890]
52811         * nscd/aicache.c: Include res_hconf.h.
52812         (addhstaiX): Initialize res_hconf.
52814 2013-08-26  Andreas Schwab  <schwab@suse.de>
52816         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52817         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52819 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52821         * nscd/aicache.c (addhstaiX): Fix indentation.
52823 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
52825         * configure.ac: Quote $build_pt_chown test.
52826         * configure: Regenerated.
52828 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
52830         [BZ #15532]
52831         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52832         * math/s_cexpf.c (__cexpf): Likewise.
52833         * math/s_cexpl.c (__cexpl): Likewise.
52834         * math/libm-test.inc (cexp_test_data): Correct expected return
52835         value for NaN + i0.  Add another test.
52837 2013-08-22  David S. Miller  <davem@davemloft.net>
52839         * po/ca.po: Update Catalan translation from translation project.
52840         * po/uk.po: Add Ukrainian translations from translation project.
52842 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
52844         [BZ #15797]
52845         * math/s_fdim.c (__fdim): Check for infinite arguments if result
52846         is infinite, not alongside NaN test.
52847         * math/s_fdimf.c (__fdimf): Likewise.
52848         * math/s_fdiml.c (__fdiml): Likewise.
52849         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
52850         errno is unchanged.
52852 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
52854         * argp/argp-help.c: Fix typos.
52855         * crypt/speeds.c: Likewise.
52856         * csu/check_fds.c: Likewise.
52857         * elf/dl-load.c: Likewise.
52858         * elf/dl-open.c: Likewise.
52859         * elf/reldep3.c: Likewise.
52860         * elf/reldep.c: Likewise.
52861         * elf/sprof.c: Likewise.
52862         * iconv/iconv_charmap.c: Likewise.
52863         * iconv/skeleton.c: Likewise.
52864         * iconv/strtab.c: Likewise.
52865         * io/lockf64.c: Likewise.
52866         * libio/libioP.h: Likewise.
52867         * resolv/gai_notify.c: Likewise.
52868         * resolv/ns_name.c: Likewise.
52869         * resolv/ns_samedomain.c: Likewise.
52870         * resolv/res_send.c: Likewise.
52871         * stdlib/random.c: Likewise.
52872         * sunrpc/rpc/xdr.h: Likewise.
52873         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
52874         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52875         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52876         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52877         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52878         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52880         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52881         * sysdeps/mach/hurd/check_fds.c: Likewise.
52882         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52883         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52884         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52885         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52886         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52887         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52888         * sysdeps/pthread/aio_notify.c: Likewise.
52889         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
52890         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
52891         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
52892         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52893         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52895 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52897         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
52898         version if bit_Slow_SSE4_2 is set.
52899         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52900         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52902 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52904         [BZ #15867]
52905         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
52906         trampoline stack frame information.
52907         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
52908         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
52909         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
52910         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
52911         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
52912         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52913         (_libc_vdso_platform_setup): Initialize the signal trampolines.
52914         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
52915         sa_flags value.
52916         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
52917         interrupting a syscall and set with option SA_SIGINFO.
52919 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
52921         [BZ #15531]
52922         * math/s_cproj.c (__cproj): Only return an infinity if one part of
52923         argument is infinite.
52924         * math/s_cprojf.c (__cprojf): Likewise.
52925         * math/s_cprojl.c (__cprojl): Likewise.
52926         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
52927         * math/libm-test.inc (cproj_test_data): Add more tests.
52929         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
52931         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
52932         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
52933         size.  Use __ffs to determine corresponding shift.
52935 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
52936             Roland McGrath  <roland@hack.frob.com>
52938         * Makefile (INSTALL): Remove trailing blank lines from output of
52939         makeinfo.
52941 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52943         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
52944         Align 32 bit compat elf_greg to 8 bytes.
52946 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
52948         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
52950 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52952         * string/strcoll_l.c (coll_seq): New structure.
52953         (get_next_seq_cached): New function.
52954         (get_next_seq): New function.
52955         (do_compare): New function.
52956         (STRCOLL): Use GNU style definition.  Simplify implementation
52957         by using get_next_seq, get_next_seq_cached and do_compare.
52959 2013-08-16  Florian Weimer  <fweimer@redhat.com>
52961         [BZ #14699]
52962         CVE-2013-4237
52963         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
52964         member.
52965         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
52966         member.
52967         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
52968         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
52969         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
52970         conditional.
52971         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
52972         GETDENTS_64BIT_ALIGNED.
52973         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52974         * manual/filesys.texi (Reading/Closing Directory): Document
52975         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
52976         strongly.
52977         * manual/conf.texi (Limits for Files): Add portability note to
52978         NAME_MAX, PATH_MAX.
52979         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
52981 2013-08-13  Andreas Schwab  <schwab@suse.de>
52983         [BZ #15749]
52984         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
52985         of fabs.
52986         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
52987         LDBL_MAX_EXP >= 16384]: Add tests for it.
52989 2013-08-12  David S. Miller  <davem@davemloft.net>
52991         * version.h (RELEASE): Set to "development".
52992         (VERSION): Set to "2.18.90".
52993         * NEWS: Add 2.19 section.
52995 2013-08-03  David S. Miller  <davem@davemloft.net>
52997         * po/ko.po: Update Korean translation from translation project.
52999 2013-08-01  David S. Miller  <davem@davemloft.net>
53001         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53002         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53003         Bilka.
53005 2013-07-30  David S. Miller  <davem@davemloft.net>
53007         * po/fr.po: Update French translation from translation project.
53009 2013-07-28  David S. Miller  <davem@davemloft.net>
53011         * po/cs.po: Update Czech translation from translation project.
53013         * po/sv.po: Update Swedish translation from translation project.
53015 2013-07-27  David S. Miller  <davem@davemloft.net>
53017         * po/eo.po: Update Esperanto translation from translation project.
53019         * po/vi.po: Update Vietnamese translation from translation project.
53021         * po/de.po: Update German translation from translation project.
53023 2013-07-26  David S. Miller  <davem@davemloft.net>
53025         * po/bg.po: Update Bulgarian translation from translation project.
53027         * po/nl.po: Update Dutch translation from translation project.
53028         * po/pl.po: Update Polish translation from translation project.
53029         * po/ru.po: Update Russian translation from translation project.
53031 2013-07-24  David S. Miller  <davem@davemloft.net>
53033         * po/libc.pot: Update.
53035 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53037         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53038         variable page size.
53039         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53040         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53041         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53043 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53045         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53047 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53048             Andreas Schwab  <schwab@suse.de>
53049             Roland McGrath  <roland@hack.frob.com>
53050             Joseph Myers  <joseph@codesourcery.com>
53051             Carlos O'Donell  <carlos@redhat.com>
53053         [BZ #15755]
53054         * config.h.in: Define HAVE_PT_CHOWN.
53055         * config.make.in (build-pt-chown): New variable.
53056         * configure.in (--enable-pt_chown): New configure option.
53057         * configure: Regenerate.
53058         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53059         build-pt-chown is enabled.
53060         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53061         pt_chown to fix pty ownership.
53062         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53063         CLOSE_ALL_FDS.
53064         * manual/install.texi (Configuring and compiling): Mention
53065         --enable-pt_chown. Add @findex for grantpt.
53066         * INSTALL: Regenerate.
53068 2013-07-20  David S. Miller  <davem@davemloft.net>
53070         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53071         difference between 32-bit and 64-bit.
53073 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53075         [BZ #15711]
53076         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53077         Avoid system header dependency with -ffreestanding.
53078         ($(objpfx)bits/syscall%d): Likewise.
53080 2013-07-13  David S. Miller  <davem@davemloft.net>
53082         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53083         underflows from atanl/atan2l due to bug 15319.
53084         (casinh_test_data): Likewise.
53086 2013-07-07  David S. Miller  <davem@davemloft.net>
53088         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53090 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
53092         * sysdeps/i386/fpu/libm-test-ulps: Update.
53093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53095 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53097         * configure.in (--enable-lock-elision): Fix message text.
53098         * INSTALL: Regenerate.
53099         * configure: Regenerate.
53101 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53105 2013-07-03  Andreas Jaeger  <aj@suse.de>
53107         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53108         define.
53109         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53110         (ptrace_peeksiginfo_args): Add.
53111         (__ptrace_peeksiginfo_flags): Add.
53112         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53113         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53114         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53116 2013-07-03  Allan McRae  <allan@archlinux.org>
53118         * sysdeps/i386/fpu/libm-test-ulps: Update.
53120 2013-07-02  David S. Miller  <davem@davemloft.net>
53122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53124 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
53126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53128 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53130         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53133 2013-07-02  Andi Kleen <ak@linux.intel.com>
53135         * config.h.in (ENABLE_LOCK_ELISION): Add.
53136         * configure.in (--enable-lock-elision): Add option.
53137         * manual/install.texi: Document --enable lock elision.
53138         * configure: Regenerate
53139         * INSTALL: Regenerate.
53141 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
53143         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53144         SSE4.2 strcasecmp for libc.a.
53145         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53147 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53149         [BZ #13304]
53150         * soft-fp/op-common.h (_FP_FMA): New macro.
53151         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53152         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
53153         (_FP_MUL_MEAT_1_imm): ... here.
53154         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
53155         (_FP_MUL_MEAT_1_wide): ... here.
53156         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
53157         (_FP_MUL_MEAT_1_hard): ... here.
53158         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53159         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
53160         (_FP_MUL_MEAT_2_wide): ... here.
53161         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
53162         (_FP_MUL_MEAT_2_wide_3mul): ... here.
53163         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
53164         (_FP_MUL_MEAT_2_gmp): ... here.
53165         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53166         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
53167         (_FP_MUL_MEAT_4_wide): ... here.
53168         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
53169         (_FP_MUL_MEAT_4_gmp): ... here.
53170         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53171         (_FP_WFRACBITS_DW_S): Likewise.
53172         (_FP_WFRACXBITS_DW_S): Likewise.
53173         (_FP_HIGHBIT_DW_S): Likewise.
53174         (FP_FMA_S): Likewise.
53175         (_FP_FRAC_HIGH_DW_S): Likewise.
53176         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53177         (_FP_WFRACBITS_DW_D): Likewise.
53178         (_FP_WFRACXBITS_DW_D): Likewise.
53179         (_FP_HIGHBIT_DW_D): Likewise.
53180         (FP_FMA_D): Likewise.
53181         (_FP_FRAC_HIGH_DW_D): Likewise.
53182         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53183         (_FP_WFRACBITS_DW_E): Likewise.
53184         (_FP_WFRACXBITS_DW_E): Likewise.
53185         (_FP_HIGHBIT_DW_E): Likewise.
53186         (FP_FMA_E): Likewise.
53187         (_FP_FRAC_HIGH_DW_E): Likewise.
53188         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53189         (_FP_WFRACBITS_DW_Q): Likewise.
53190         (_FP_WFRACXBITS_DW_Q): Likewise.
53191         (_FP_HIGHBIT_DW_Q): Likewise.
53192         (FP_FMA_Q): Likewise.
53193         (_FP_FRAC_HIGH_DW_Q): Likewise.
53194         * soft-fp/fmasf4.c: New file.
53195         * soft-fp/fmadf4.c: Likewise.
53196         * soft-fp/fmatf4.c: Likewise.
53198 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53201         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53202         Silvermont.
53203         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53204         macro.
53205         (index_Slow_SSE4_2): Likewise.
53206         (index_Prefer_PMINUB_for_stringop): Likewise.
53207         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53208         bit_Slow_SSE4_2 is set.
53209         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53210         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53212 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53214         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53215         rtld_global._dl_hwcap2.
53216         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53217         POWER8.
53218         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53219         POWER8 feature descriptions defined in _dl_hwcap2.
53220         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53221         string handling for POWER8 feature bits.
53222         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53223         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53224         _dl_powerpc_cap_flags.
53225         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53226         * sysdeps/powerpc/rtld-global-offsets.sym
53227         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53228         _dl_hwcap2 in the rtld_global_ro structure.
53230 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53232         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53233         hardware capabilities in support of AT_HWCAP2.
53234         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53235         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53236         GLRO(dl_hwcap2).
53237         (_dl_show_auxv): Add support for calling _dl_procinfo to display
53238         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
53239         explicitly the unknown a_type display mechanism is used.
53240         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53241         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53242         struct member.
53243         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53244         to macro prototype for AT_HWCAP2 support.
53245         * sysdeps/i386/dl-procinfo.h: Likewise.
53246         * sysdeps/s390/dl-procinfo.h: Likewise.
53247         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53248         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
53249         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
53250         return -1 for unknown a_type display fallback.
53251         * sysdeps/sparc/dl-procinfo.h: Likewise.
53252         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53253         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53255 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
53257         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53258         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53260 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
53262         [BZ #12492]
53263         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53264         mprotect making __stack_prot writable.
53266 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
53267             Joseph Myers  <joseph@codesourcery.com>
53269         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53270         as being properly aligned.
53272 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
53274         * dlfcn/modstatic5.c: New file.
53275         * dlfcn/tststatic5.c: New file.
53276         * dlfcn/Makefile (tests): Add tststatic5.
53277         (tests-static): Likewise.
53278         (modules-names): Add modstatic5.
53279         (tststatic5-ENV): New variable.
53280         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53282         [BZ #15022]
53283         * elf/dl-support.c (_dl_main_map): New variable.
53284         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53285         (_dl_nns, _dl_load_adds): Set to 1.
53286         (_dl_initial_searchlist): Refer to _dl_main_map.
53287         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53288         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53289         call to _dl_get_origin.
53290         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53291         around call_map.
53292         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53293         * dlfcn/modstatic3.c: New file.
53294         * dlfcn/tststatic3.c: New file.
53295         * dlfcn/tststatic4.c: New file.
53296         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53297         (tests-static): Likewise.
53298         (modules-names): Add modstatic3.
53299         (tststatic3-ENV, tststatic4-ENV): New variables.
53300         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53301         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53303 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
53305         * configure.in (CC): Require GCC version 4.4 or later.
53306         * configure: Regenerated.
53307         * manual/install.texi (Tools for Compilation): Update GCC version
53308         requirement.
53309         * INSTALL: Regenerated.
53311 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53313         [BZ #15674]
53314         * string/test-memcmp.c (check2): New.
53315         (main): Call check2.
53317         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53319 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
53321         [BZ #15022]
53322         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53323         over to...
53324         (dl_open_worker) [!SHARED]: ... here.
53326 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53328         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53330 2013-06-25  Richard Henderson  <rth@redhat.com>
53332         * locale/programs/locarchive.c: Include <libc-internal.h>
53334 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
53336         * manual/texinfo.tex: Update to version 2013-06-21.17, with
53337         trailing whitespace removed.
53339 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53341         [BZ #10283]
53342         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53343         * locale/programs/locarchive.c: Include libc-mmap.h.
53344         (prepare_address_space): Take two new outputs (the mmap base and len).
53345         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
53346         values.
53347         (create_archive): Declare new mmap base and len values for
53348         prepare_address_space, and store the result in ah.
53349         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53350         (enlarge_archive): If ah->mmap_base is not NULL, use that and
53351         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53352         Declare new mmap base and len values for
53353         prepare_address_space, and store the result in new_ah.
53354         (open_archive): Declare new mmap base and len values for
53355         prepare_address_space, and store the result in ah.
53356         (close_archive): If ah->mmap_base is not NULL, use that and
53357         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53358         * sysdeps/generic/libc-mmap.h: New file.
53360 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53362         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53363         (ALIGN_UP): Likewise.
53364         (PTR_ALIGN_DOWN): Likewise.
53365         (PTR_ALIGN_UP): Likewise.
53367 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53369         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53370         entry mapped to PPC_PLATFORM_POWER8.
53371         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53372         POWER8.
53373         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53374         (_dl_string_platform): Add case for exporting platform position for
53375         POWER8.
53376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53377         search path to sysdeps/powerpc/powerpc32/power8 directory.
53378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53379         search path to sysdeps/powerpc/powerpc64/power8 directory.
53380         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53381         power7 directories.
53382         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53383         power7 directories.
53385 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53387         * INSTALL: Regenerate.
53389         * nscd/connections.c (nscd_init): Fix comment.
53391 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
53393         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53395         [BZ #15667]
53396         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53397         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53399 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53401         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53402         DL_DST_REQ_STATIC.
53403         (DL_DST_REQ_STATIC): Remove macro.
53405 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
53407         [BZ #7006]
53408         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53409         with a shift of 0 bits.
53411 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53413         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53414         $(tststatic-ENV).
53416 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53418         [BZ #15655]
53419         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53421 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53423         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53424         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53425         accepts -fno-tree-loop-distribute-patterns.
53426         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53427         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53428         recursive call.
53429         * string/memset.c (memset): Likewise.
53430         * string/test-memmove.c (simple_memmove): Disable loop transformation
53431         to library calls.
53432         * string/test-memset.c (simple_memset): Likewise.
53433         * benchtests/bench-memmove.c (simple_memmove): Likewise.
53434         * benchtests/bench-memset.c (simple_memset): Likewise.
53435         * configure: Regenerated.
53437 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
53439         * math/test-misc.c (main): Ignore fesetround failure when failures
53440         of subsequent rounding tests would be ignored.
53442         [BZ #15654]
53443         * math/fedisblxcpt.c (fedisableexcept): Return 0.
53444         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53445         * math/fegetenv.c (__fegetenv): Return 0.
53446         * math/fegetexcept.c (fegetexcept): Return 0.
53447         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53448         FE_TONEAREST.
53449         * math/feholdexcpt.c (feholdexcept): Return 0.
53450         * math/fesetenv.c (__fesetenv): Return 0.
53451         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53452         argument FE_TONEAREST.
53453         * math/feupdateenv.c (__feupdateenv): Return 0.
53454         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53456 2013-06-18  Roland McGrath  <roland@hack.frob.com>
53458         * elf/rtld-Rules (rtld-compile-command.S): New variable.
53459         (rtld-compile-command.s, rtld-compile-command.c): New variables.
53460         ($(objpfx)rtld-%.os rules): Use them.
53462 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53464         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53465         fields.
53467 2013-06-17  Roland McGrath  <roland@hack.frob.com>
53469         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53470         length of target pattern, then descending length of dependency pattern.
53471         * configure.in (AWK): Require gawk 3.1.2 or newer.
53472         * manual/install.texi (Tools for Compilation): Say that we do.
53473         * configure: Regenerated.
53475         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53476         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53477         * scripts/sysd-rules.awk: ... this new script.
53478         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53479         than a glob-style pattern.
53481 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
53483         * math/test-misc.c (main): Do not treat incorrectly rounded
53484         conversions as failure unless ROUNDING_TESTS passes.
53486 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
53488         [BZ #15631]
53489         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53490         restore exception state around main square root computation, then
53491         check for inexactness explicitly.
53493         * math/libm-test.inc (fma_test_data): Add another test.
53495 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53497         * manual/threads.texi (Non-POSIX Extensions): New document
53498         node.  Document pthread_getattr_default_np and
53499         pthread_setattr_default_np.
53501         * Versions.def (libpthread): Add GLIBC_2.18.
53502         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53504         Likewise.
53505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53506         Likewise.
53507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53508         Likewise.
53509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53510         Likewise.
53511         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53512         Likewise.
53513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53514         Likewise.
53515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53516         Likewise.
53517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53518         Likewise.
53519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53520         Likewise.
53522 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53525         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53527 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53528             H.J. Lu  <hjl.tools@gmail.com>
53530         [BZ #15627]
53531         * sysdeps/x86_64/rtld-memset.c: Remove file.
53532         * sysdeps/x86_64/rtld-memset.S: New file.
53534 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
53536         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53537         (test_in_one_mode): Take arguments for whether the rounding mode
53538         is supported for each floating-point type.
53539         (do_test): Pass new arguments to test_in_one_mode using
53540         ROUNDING_TESTS.
53542 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53544         * posix/tst-waitid.c (do_test): Distinguish different instances of
53545         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
53546         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53547         before entering the kernel for waitpid.
53549 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53551         * NEWS: Fix note on clock function precision.  Text by Roland
53552         McGrath.
53554 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53556         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53557         it into place only when and if the sanity check passes.
53559 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
53561         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53562         output for whether conversion result is exact.  Take argument
53563         indicating whether type is IBM long double.
53564         (round_for_all): Change need_exact field to ibm_ld.
53565         * stdlib/tst-strtod-round.c (struct exactness): New type.
53566         (struct test): Change bool ld_ok field to struct exactness exact.
53567         (TEST): Update all definitions for change to field.
53568         (tests): Regenerate array contents.
53569         (test_in_one_mode): Take pointer to new field instead of old ld_ok
53570         field value.  Check for IBM long double here.
53571         (do_test): Update calls to test_in_one_mode.
53573 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53575         [BZ #12515]
53576         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53577         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53579 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53581         [BZ #15605]
53582         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53583         generated by the compiler on loop optimizations.
53584         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53585         general definitions.
53587 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
53589         * math/bug-nextafter.c: Include <math-tests.h>.
53590         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53591         the relevant type.
53592         * math/bug-nexttoward.c: Include <math-tests.h>.
53593         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53594         the relevant type.
53595         * math/test-misc.c: Include <math-tests.h>.
53596         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53597         the relevant type.
53599 2013-06-12  Andreas Jaeger  <aj@suse.de>
53601         * po/ia.po: Update Interlingua translation from translation
53602         project.
53604 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53606         * include/fenv.h: Include stdbool.h.
53607         (struct rm_ctx): New structure.
53608         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53609         Define macro.
53610         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53611         (SET_RESTORE_ROUNDF): Likewise.
53612         (SET_RESTORE_ROUNDL): Likewise.
53613         (SET_RESTORE_ROUND_NOEX): Likewise.
53614         (SET_RESTORE_ROUND_NOEXF): Likewise.
53615         (SET_RESTORE_ROUND_NOEXL): Likewise.
53616         (SET_RESTORE_ROUND_53BIT): Likewise.
53617         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53618         (libc_feresetround_noexf_ctx): Likewise.
53619         (libc_feresetround_noexl_ctx): Likewise.
53620         (libc_feholdsetround_53bit_ctx): Likewise.
53621         (libc_feresetround_53bit_ctx): Likewise.
53622         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53623         (libc_feholdexcept_setround_sse_ctx): New function.
53624         (libc_fesetenv_sse_ctx): Likewise.
53625         (libc_feupdateenv_sse_ctx): Likewise.
53626         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53627         (libc_feholdexcept_setround_387_ctx): Likewise.
53628         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53629         (libc_feholdsetround_387_prec_ctx): Likewise.
53630         (libc_feholdsetround_387_ctx): Likewise.
53631         (libc_feholdsetround_387_53bit_ctx): Likewise.
53632         (libc_feholdsetround_sse_ctx): Likewise.
53633         (libc_feresetround_sse_ctx): Likewise.
53634         (libc_feresetround_387_ctx): Likewise.
53635         (libc_feupdateenv_387_ctx): Likewise.
53636         (libc_feholdexcept_setroundf_ctx): Define macro.
53637         (libc_fesetenvf_ctx): Likewise.
53638         (libc_feupdateenvf_ctx): Likewise.
53639         (libc_feholdsetroundf_ctx): Likewise.
53640         (libc_feresetroundf_ctx): Likewise.
53641         (libc_feholdexcept_setround_ctx): Likewise.
53642         (libc_fesetenv_ctx): Likewise.
53643         (libc_feupdateenv_ctx): Likewise.
53644         (libc_feholdsetround_ctx): Likewise.
53645         (libc_feresetround_ctx): Likewise.
53646         (libc_feholdexcept_setroundl_ctx): Likewise.
53647         (libc_feupdateenvl_ctx): Likewise.
53648         (libc_feholdsetroundl_ctx): Likewise.
53649         (libc_feresetroundl_ctx): Likewise.
53650         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53651         (libc_feresetround_53bit_ctx): Likewise.
53653 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53655         * locale/iso-639.def: Convert to UTF-8.
53657 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
53659         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53660         (EXCEPTION_TESTS_double): Likewise.
53661         (EXCEPTION_TESTS_long_double): Likewise.
53662         (EXCEPTION_TESTS): Likewise.
53663         * math/libm-test.inc (test_exceptions): Only test exceptions if
53664         EXCEPTION_TESTS (FLOAT).
53666 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53668         * benchtests/Makefile (string-bench): Add strcpy_chk and
53669         stpcpy_chk.
53670         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53671         * benchtests/bench-stpcpy_chk.c: New file.
53672         * benchtests/bench-strcpy_chk-ifunc.c: New file.
53673         * benchtests/bench-strcpy_chk.c: New file.
53674         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53675         code.
53676         (do_test): Likewise.
53678 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53680         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53681         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53682         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53683         with tabs where appropriate.
53684         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53685         dl-procinfo.h.
53686         [PPC_PLATFORM_PPC440]: Likewise.
53687         [PPC_PLATFORM_PPC464]: Likewise.
53688         [PPC_PLATFORM_PPC476]: Likewise.
53689         (_dl_string_platform): Add support for detecting ppc405, ppc440,
53690         ppc464, and ppc476 platform strings merging from ports/
53691         dl-procinfo.h.
53693 2013-06-11  Andreas Schwab  <schwab@suse.de>
53695         [BZ #14991]
53696         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53697         (from_ucs4_idx): Regenerate.
53698         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53699         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53700         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53701         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53702         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53703         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53704         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53705         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53706         from FROM_LOOP and TO_LOOP specific macros.
53707         (BODY): Handle combining characters.
53708         * iconvdata/BIG5HKSCS.irreversible: Update.
53709         * iconvdata/BIG5HKSCS.precomposed: New file.
53710         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53711         characters.
53712         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53714 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53716         * include/sys/time.h: Fix indentation and add copyright header.
53718         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53719         (do_test): Likewise.
53720         * string/test-memchr.c (do_one_test): Likewise.
53721         (do_test): Likewise.
53722         * string/test-memcmp.c (do_one_test): Likewise.
53723         (do_test): Likewise.
53724         * string/test-memcpy.c (do_one_test): Likewise.
53725         (do_test): Likewise.
53726         * string/test-memmem.c (do_one_test): Likewise.
53727         (do_test): Likewise.
53728         (do_random_tests): Likewise.
53729         * string/test-memmove.c (do_one_test): Likewise.
53730         (do_test): Likewise.
53731         * string/test-memset.c (do_one_test): Likewise.
53732         (do_test): Likewise.
53733         * string/test-rawmemchr.c (do_one_test): Likewise.
53734         (do_test): Likewise.
53735         * string/test-strcasecmp.c (do_one_test): Likewise.
53736         (do_test): Likewise.
53737         * string/test-strcasestr.c (do_one_test): Likewise.
53738         (do_test): Likewise.
53739         * string/test-strcat.c (do_one_test): Likewise.
53740         (do_test): Likewise.
53741         * string/test-strchr.c (do_one_test): Likewise.
53742         (do_test): Likewise.
53743         * string/test-strcmp.c (do_one_test): Likewise.
53744         (do_test): Likewise.
53745         * string/test-strcpy.c (do_one_test): Likewise.
53746         (do_test): Likewise.
53747         * string/test-string.h: Likewise.
53748         (test_init): Likewise.
53749         * string/test-strlen.c (do_one_test): Likewise.
53750         (do_test): Likewise.
53751         * string/test-strncasecmp.c (do_one_test): Likewise.
53752         (do_test): Likewise.
53753         * string/test-strncat.c (do_one_test): Likewise.
53754         (do_test): Likewise.
53755         * string/test-strncmp.c (do_one_test): Likewise.
53756         (do_test_limit): Likewise.
53757         (do_test): Likewise.
53758         * string/test-strncpy.c (do_one_test): Likewise.
53759         (do_test): Likewise.
53760         * string/test-strnlen.c (do_one_test): Likewise.
53761         (do_test): Likewise.
53762         * string/test-strpbrk.c (do_one_test): Likewise.
53763         (do_test): Likewise.
53764         * string/test-strrchr.c (do_one_test): Likewise.
53765         (do_test): Likewise.
53766         * string/test-strspn.c (do_one_test): Likewise.
53767         (do_test): Likewise.
53768         * string/test-strstr.c (do_one_test): Likewise.
53769         (do_test): Likewise.
53771         * benchtests/Makefile (string-bench): Add string benchmarks.
53772         * benchtests/bench-bcopy-ifunc.c: New file.
53773         * benchtests/bench-bcopy.c: New file.
53774         * benchtests/bench-bzero-ifunc.c: New file.
53775         * benchtests/bench-bzero.c: New file.
53776         * benchtests/bench-memccpy-ifunc.c: New file.
53777         * benchtests/bench-memccpy.c: New file.
53778         * benchtests/bench-memchr-ifunc.c: New file.
53779         * benchtests/bench-memchr.c: New file.
53780         * benchtests/bench-memcmp-ifunc.c: New file.
53781         * benchtests/bench-memcmp.c: New file.
53782         * benchtests/bench-memmem-ifunc.c: New file.
53783         * benchtests/bench-memmem.c: New file.
53784         * benchtests/bench-memmove-ifunc.c: New file.
53785         * benchtests/bench-memmove.c: New file.
53786         * benchtests/bench-mempcpy-ifunc.c: New file.
53787         * benchtests/bench-mempcpy.c: New file.
53788         * benchtests/bench-memset-ifunc.c: New file.
53789         * benchtests/bench-memset.c: New file.
53790         * benchtests/bench-rawmemchr-ifunc.c: New file.
53791         * benchtests/bench-rawmemchr.c: New file.
53792         * benchtests/bench-stpcpy-ifunc.c: New file.
53793         * benchtests/bench-stpcpy.c: New file.
53794         * benchtests/bench-stpncpy-ifunc.c: New file.
53795         * benchtests/bench-stpncpy.c: New file.
53796         * benchtests/bench-strcasecmp-ifunc.c: New file.
53797         * benchtests/bench-strcasecmp.c: New file.
53798         * benchtests/bench-strcasestr-ifunc.c: New file.
53799         * benchtests/bench-strcasestr.c: New file.
53800         * benchtests/bench-strcat-ifunc.c: New file.
53801         * benchtests/bench-strcat.c: New file.
53802         * benchtests/bench-strchr-ifunc.c: New file.
53803         * benchtests/bench-strchr.c: New file.
53804         * benchtests/bench-strchrnul-ifunc.c: New file.
53805         * benchtests/bench-strchrnul.c: New file.
53806         * benchtests/bench-strcmp-ifunc.c: New file.
53807         * benchtests/bench-strcmp.c: New file.
53808         * benchtests/bench-strcpy-ifunc.c: New file.
53809         * benchtests/bench-strcpy.c: New file.
53810         * benchtests/bench-strcspn-ifunc.c: New file.
53811         * benchtests/bench-strcspn.c: New file.
53812         * benchtests/bench-strlen-ifunc.c: New file.
53813         * benchtests/bench-strlen.c: New file.
53814         * benchtests/bench-strncasecmp-ifunc.c: New file.
53815         * benchtests/bench-strncasecmp.c: New file.
53816         * benchtests/bench-strncat-ifunc.c: New file.
53817         * benchtests/bench-strncat.c: New file.
53818         * benchtests/bench-strncmp-ifunc.c: New file.
53819         * benchtests/bench-strncmp.c: New file.
53820         * benchtests/bench-strncpy-ifunc.c: New file.
53821         * benchtests/bench-strncpy.c: New file.
53822         * benchtests/bench-strnlen-ifunc.c: New file.
53823         * benchtests/bench-strnlen.c: New file.
53824         * benchtests/bench-strpbrk-ifunc.c: New file.
53825         * benchtests/bench-strpbrk.c: New file.
53826         * benchtests/bench-strrchr-ifunc.c: New file.
53827         * benchtests/bench-strrchr.c: New file.
53828         * benchtests/bench-strspn-ifunc.c: New file.
53829         * benchtests/bench-strspn.c: New file.
53830         * benchtests/bench-strstr-ifunc.c: New file.
53831         * benchtests/bench-strstr.c: New file.
53833         * benchtests/Makefile: Disable parallel execution of targets.
53834         (string-bench): Add memcpy.
53835         (benchset): New variable to store a list of benchmark sets.
53836         (bench-func): Renamed from bench.
53837         (bench-set): New target.
53838         (bench): Depend on bench-func and bench-set.
53839         * benchtests/README: Add section on benchmark sets.
53840         * benchtests/bench-memcpy-ifunc.c: New file.
53841         * benchtests/bench-memcpy.c: New file.
53842         * benchtests/bench-string.h: New file.
53844 2013-06-11  Andreas Schwab  <schwab@suse.de>
53846         [BZ #15577]
53847         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53848         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53849         values in the triple.
53850         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53851         terminator in the group key.
53853 2013-06-11  Andreas Jaeger  <aj@suse.de>
53855         * po/zh_TW.po: Update Chinese (traditional) translation from
53856         translation project.
53858 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53860         * include/time.h (__clock_gettime): Add libc_hidden_proto.
53861         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53862         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
53863         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53864         (clock_getcpuclockid): Likewise.
53865         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53866         Add weak_alias and libc_hidden_def.
53867         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53868         * rt/clock_gettime.c (clock_gettime): Rename to
53869         __clock_gettime.  Add weak_alias and libc_hidden_def.
53870         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
53871         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
53872         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
53873         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
53874         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
53875         Likewise.
53876         * rt/clock_settime.c (clock_settime): Rename to
53877         __clock_settime.  Add weak_alias and libc_hidden_def.
53878         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
53880 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
53882         * mach/err_boot.sub: Remove trailing whitespace.
53883         * mach/err_ipc.sub: Likewise.
53884         * mach/err_mach.sub: Likewise.
53886         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
53887         (ROUNDING_TESTS_double): Likewise.
53888         (ROUNDING_TESTS_long_double): Likewise.
53889         (ROUNDING_TESTS): Likewise.
53890         * math/libm-test.inc: Include <math-tests.h>.
53891         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
53892         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53893         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53894         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53896 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53898         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
53899         of assigning.
53901 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
53903         * sysdeps/gnu/errlist.awk: Do not generate space at end of
53904         otherwise empty TRANS lines.
53905         * sysdeps/gnu/errlist.c: Regenerated.
53907         * catgets/gencat.c (error_print): Use (void) in function
53908         definition.
53909         * crypt/crypt_util.c (__init_des): Likewise.
53910         * crypt/speeds.c (Stop): Likewise.
53911         (main): Likewise.
53912         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
53913         * inet/ruserpass.c (token): Likewise.
53914         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
53915         * intl/localealias.c (extend_alias_table): Likewise.
53916         * intl/plural-exp.c (init_germanic_plural): Likewise.
53917         * libio/fcloseall.c (__fcloseall): Likewise.
53918         * libio/genops.c (_IO_flush_all): Likewise.
53919         (_IO_flush_all_linebuffered): Likewise.
53920         (_IO_cleanup): Likewise.
53921         (_IO_iter_begin): Likewise.
53922         (_IO_iter_end): Likewise.
53923         (_IO_list_lock): Likewise.
53924         (_IO_list_unlock): Likewise.
53925         (_IO_list_resetlock): Likewise.
53926         * libio/getchar.c (getchar): Likewise.
53927         * libio/getchar_u.c (getchar_unlocked): Likewise.
53928         * libio/getwchar.c (getwchar): Likewise.
53929         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
53930         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
53931         * login/getpt.c (__getpt): Likewise.
53932         * login/tst-utmp.c (main): Likewise.
53933         * malloc/hooks.c (__malloc_check_init): Likewise.
53934         * malloc/malloc.c (__malloc_stats): Likewise.
53935         * malloc/mtrace.c (tr_break): Likewise.
53936         (mtrace): Likewise.
53937         (muntrace): Likewise.
53938         * misc/fstab.c (endfsent): Likewise.
53939         * misc/getclktck.c (__getclktck): Likewise.
53940         * misc/getdtsz.c (__getdtablesize): Likewise.
53941         * misc/gethostid.c (gethostid): Likewise.
53942         * misc/getpagesize.c (__getpagesize): Likewise.
53943         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
53944         (__get_nprocs): Likewise.
53945         (__get_phys_pages): Likewise.
53946         (__get_avphys_pages): Likewise.
53947         * misc/getttyent.c (getttyent): Likewise.
53948         (setttyent): Likewise.
53949         (endttyent): Likewise.
53950         * misc/getusershell.c (getusershell): Likewise.
53951         (endusershell): Likewise.
53952         (setusershell): Likewise.
53953         (initshells): Likewise.
53954         * misc/hsearch.c (__hdestroy): Likewise.
53955         * misc/sync.c (sync): Likewise.
53956         * misc/syslog.c (closelog_internal): Likewise.
53957         (closelog): Likewise.
53958         * misc/ttyslot.c (ttyslot): Likewise.
53959         * misc/vhangup.c (vhangup): Likewise.
53960         * posix/fork.c (__fork): Likewise.
53961         * posix/getegid.c (__getegid): Likewise.
53962         * posix/geteuid.c (__geteuid): Likewise.
53963         * posix/getgid.c (__getgid): Likewise.
53964         * posix/getpid.c (__getpid): Likewise.
53965         * posix/getppid.c (__getppid): Likewise.
53966         * posix/getuid.c (__getuid): Likewise.
53967         * posix/pause.c (pause): Likewise.
53968         * posix/setpgrp.c (setpgrp): Likewise.
53969         * posix/setsid.c (__setsid): Likewise.
53970         * posix/test-vfork.c (noop): Likewise.
53971         * resolv/gethnamaddr.c (_endhtent): Likewise.
53972         (_gethtent): Likewise.
53973         (ht_endhostent): Likewise.
53974         (gethostent): Likewise.
53975         (dns_service): Likewise.
53976         * stdlib/drand48.c (drand48): Likewise.
53977         * stdlib/lrand48.c (lrand48): Likewise.
53978         * stdlib/mrand48.c (mrand48): Likewise.
53979         * stdlib/rand.c (rand): Likewise.
53980         * stdlib/random.c (__random): Likewise.
53981         * stdlib/setenv.c (clearenv): Likewise.
53982         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
53983         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
53984         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
53985         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
53986         (__get_nprocs): Likewise.
53987         (__get_phys_pages): Likewise.
53988         (__get_avphys_pages): Likewise.
53989         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
53990         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
53991         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
53992         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
53993         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
53994         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
53995         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
53996         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
53997         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
53998         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
53999         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54000         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54001         * sysdeps/posix/clock.c (clock): Likewise.
54002         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54003         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54004         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54005         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54006         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54007         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54008         (__get_nprocs_conf): Likewise.
54009         (__get_phys_pages): Likewise.
54010         (__get_avphys_pages): Likewise.
54011         * time/clock.c (clock): Likewise.
54012         * time/tzset.c (__tzname_max): Likewise.
54014 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54016         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54017         (__bswap_32): Do not use "register".
54018         * crypt/crypt.c (_ufc_doit_r): Likewise.
54019         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54020         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54021         * gmon/gmon.c (__monstartup): Likewise.
54022         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54023         * hurd/hurdmalloc.c (more_memory): Likewise.
54024         (malloc): Likewise.
54025         (free): Likewise.
54026         (realloc): Likewise.
54027         (malloc_fork_prepare): Likewise.
54028         (malloc_fork_parent): Likewise.
54029         (malloc_fork_child): Likewise.
54030         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54031         (_svcauth_des): Likewise.
54032         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54033         * inet/inet_net.c (inet_network): Likewise.
54034         * inet/inet_netof.c (inet_netof): Likewise.
54035         * inet/rcmd.c (__validuser2_sa): Likewise.
54036         * io/fts.c (fts_open): Likewise.
54037         (fts_load): Likewise.
54038         (fts_close): Likewise.
54039         (fts_read): Likewise.
54040         (fts_children): Likewise.
54041         (fts_build): Likewise.
54042         (fts_stat): Likewise.
54043         (fts_sort): Likewise.
54044         (fts_alloc): Likewise.
54045         (fts_lfree): Likewise.
54046         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54047         (_IO_file_xsgetn): Likewise.
54048         (_IO_file_xsgetn_mmap): Likewise.
54049         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54050         (_IO_cookie_write): Likewise.
54051         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54052         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54053         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54054         * malloc/obstack.c (_obstack_begin): Likewise.
54055         (_obstack_begin_1): Likewise.
54056         (_obstack_newchunk): Likewise.
54057         (_obstack_allocated_p): Likewise.
54058         (obstack_free): Likewise.
54059         (_obstack_memory_used): Likewise.
54060         * misc/getttyent.c (getttynam): Likewise.
54061         (getttyent): Likewise.
54062         (skip): Likewise.
54063         (value): Likewise.
54064         * misc/getusershell.c (initshells): Likewise.
54065         * misc/syslog.c (__vsyslog_chk): Likewise.
54066         * misc/ttyslot.c (ttyslot): Likewise.
54067         * nis/nis_hash.c (__nis_hash): Likewise.
54068         * posix/fnmatch_loop.c (FCT): Likewise.
54069         * posix/getconf.c (print_all): Likewise.
54070         (main): Likewise.
54071         * posix/getopt.c (exchange): Likewise.
54072         * posix/glob.c (globfree): Likewise.
54073         (prefix_array): Likewise.
54074         (__glob_pattern_type): Likewise.
54075         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54076         (NS_GET32): Likewise.
54077         (NS_PUT16): Likewise.
54078         (NS_PUT32): Likewise.
54079         * resolv/gethnamaddr.c (getanswer): Likewise.
54080         (gethostbyname2): Likewise.
54081         (gethostbyaddr): Likewise.
54082         (_gethtent): Likewise.
54083         (_gethtbyname2): Likewise.
54084         (_gethtbyaddr): Likewise.
54085         * resolv/ns_print.c (dst_s_get_int16): Likewise.
54086         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54087         * resolv/res_init.c (__res_vinit): Likewise.
54088         (net_mask): Likewise.
54089         * resolv/res_mkquery.c (outchar): Likewise.
54090         (PRINT): Likewise.
54091         * stdio-common/printf_fp.c (outchar): Likewise.
54092         (PRINT): Likewise.
54093         * stdio-common/printf_fphex.c (outchar): Likewise.
54094         (PRINT): Likewise.
54095         * stdio-common/printf_size.c (outchar): Likewise.
54096         (PRINT): Likewise.
54097         * stdio-common/test_rdwr.c (main): Likewise.
54098         * stdio-common/tfformat.c (matches): Likewise.
54099         * stdio-common/vfprintf.c (outchar): Likewise.
54100         (printf_unknown): Likewise.
54101         (buffered_vfprintf): Likewise.
54102         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54103         * stdio-common/xbug.c (AppendToBuffer): Likewise.
54104         (ReadFile): Likewise.
54105         * stdlib/qsort.c (SWAP): Likewise.
54106         (_quicksort): Likewise.
54107         * stdlib/setenv.c (__add_to_environ): Likewise.
54108         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54109         * stdlib/strtol_l.c (__strtol_l): Likewise.
54110         * stdlib/tst-strtod.c (main): Likewise.
54111         * stdlib/tst-strtol.c (main): Likewise.
54112         * stdlib/tst-strtoll.c (main): Likewise.
54113         * string/bits/string2.h (__strcmp_cc): Likewise.
54114         (__strcmp_cg): Likewise.
54115         (__strcspn_c1): Likewise.
54116         (__strcspn_c2): Likewise.
54117         (__strcspn_c3): Likewise.
54118         (__strspn_c1): Likewise.
54119         (__strspn_c2): Likewise.
54120         (__strspn_c3): Likewise.
54121         (__strsep_1c): Likewise.
54122         (__strsep_2c): Likewise.
54123         (__strsep_3c): Likewise.
54124         * string/memccpy.c (__memccpy): Likewise.
54125         * string/stpcpy.c (__stpcpy): Likewise.
54126         * string/strcmp.c (strcmp): Likewise.
54127         * string/strrchr.c (strrchr): Likewise.
54128         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54129         Likewise.
54130         * sysdeps/mach/hurd/getcwd.c
54131         (_hurd_canonicalize_directory_name_internal): Likewise.
54132         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54133         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54134         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54135         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54136         Likewise, in both definitions.
54137         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54138         definitions.
54139         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54140         64] (__bswap_64): Likewise.
54141         * time/test_time.c (main): Likewise.
54142         * time/tzfile.c (__tzfile_read): Likewise.
54143         (__tzfile_compute): Likewise.
54144         * time/tzset.c (__tzset_parse_tz): Likewise.
54145         (tzset_internal): Likewise.
54146         (compute_change): Likewise.
54147         * wcsmbs/wcscat.c (__wcscat): Likewise.
54148         * wcsmbs/wcschr.c (wcschr): Likewise.
54149         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54150         * wcsmbs/wcscspn.c (wcscspn): Likewise.
54151         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54152         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54153         * wcsmbs/wcsspn.c (wcsspn): Likewise.
54154         * wcsmbs/wcsstr.c (wcsstr): Likewise.
54155         * wcsmbs/wmemchr.c (wmemchr): Likewise.
54156         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54157         * wcsmbs/wmemset.c (wmemset): Likewise.
54159 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
54161         * scripts/config.guess: Update to version 2013-05-16.
54162         * scripts/config.sub: Update to version 2013-04-24.
54163         * scripts/install-sh: Update to version 2011-11-20.07.
54164         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54165         * scripts/move-if-change: Update to version 2012-01-06 07:23.
54167 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
54169         * debug/fgetws_u_chk.c: Fix leading whitespaces.
54170         * elf/sln.c: Likewise.
54171         * hurd/hurd/ioctl.h: Likewise.
54172         * hurd/hurdmalloc.c: Likewise.
54173         * hurd/xattr.c: Likewise.
54174         * include/shlib-compat.h: Likewise.
54175         * inet/ruserpass.c: Likewise.
54176         * libio/iofgets_u.c: Likewise.
54177         * libio/iofgetws_u.c: Likewise.
54178         * locale/programs/ld-identification.c: Likewise.
54179         * locale/programs/ld-time.c: Likewise.
54180         * mach/msg-destroy.c: Likewise.
54181         * nss/nss_files/files-netgrp.c: Likewise.
54182         * resolv/res_data.c: Likewise.
54183         * soft-fp/op-1.h: Likewise.
54184         * soft-fp/op-2.h: Likewise.
54185         * soft-fp/op-4.h: Likewise.
54186         * soft-fp/op-common.h: Likewise.
54187         * stdio-common/printf_fphex.c: Likewise.
54188         * stdlib/strtod_l.c: Likewise.
54189         * sunrpc/rpc/clnt.h: Likewise.
54190         * sysdeps/generic/framestate.c: Likewise.
54191         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54192         * sysdeps/i386/bsd-setjmp.S: Likewise.
54193         * sysdeps/i386/__longjmp.S: Likewise.
54194         * sysdeps/i386/setjmp.S: Likewise.
54195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54196         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54197         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54198         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54199         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54200         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54201         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54202         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54203         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54204         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54205         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54206         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54207         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54208         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54209         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54210         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54211         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54212         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54213         * sysdeps/ieee754/support.c: Likewise.
54214         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54215         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54216         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54217         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54218         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54219         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54220         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54221         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54222         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54223         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54224         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54225         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54226         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54227         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54228         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54229         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54230         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54233 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
54235         * posix/transbug.c: Remove executable mode.
54237 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
54239         * crypt/speeds.c: Remove trailing whitespace.
54240         * dlfcn/default.c: Likewise.
54241         * elf/ifuncdep2.c: Likewise.
54242         * elf/ifuncmain1.c: Likewise.
54243         * elf/ifuncmain1vis.c: Likewise.
54244         * elf/testobj.h: Likewise.
54245         * elf/tst-stackguard1.c: Likewise.
54246         * gmon/sys/gmon.h: Likewise.
54247         * hurd/hurdmsg.c: Likewise.
54248         * hurd/new-fd.c: Likewise.
54249         * hurd/ports-get.c: Likewise.
54250         * iconvdata/ibm1008_420.c: Likewise.
54251         * inet/tst-getni1.c: Likewise.
54252         * inet/tst-getni2.c: Likewise.
54253         * libio/ioungetc.c: Likewise.
54254         * libio/wfiledoalloc.c: Likewise.
54255         * manual/libm-err-tab.pl: Likewise.
54256         * math/w_dremf.c: Likewise.
54257         * misc/ftruncate.c: Likewise.
54258         * posix/bug-glob2.c: Likewise.
54259         * posix/tst-pcre.c: Likewise.
54260         * posix/wait4.c: Likewise.
54261         * resolv/README: Likewise.
54262         * resolv/res_debug.h: Likewise.
54263         * resolv/tst-inet_ntop.c: Likewise.
54264         * setjmp/bug269-setjmp.c: Likewise.
54265         * soft-fp/extended.h: Likewise.
54266         * soft-fp/op-1.h: Likewise.
54267         * soft-fp/op-2.h: Likewise.
54268         * soft-fp/op-4.h: Likewise.
54269         * soft-fp/op-8.h: Likewise.
54270         * soft-fp/testit.c: Likewise.
54271         * stdio-common/bug16.c: Likewise.
54272         * stdlib/random.c: Likewise.
54273         * sunrpc/rpcsvc/rquota.x: Likewise.
54274         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54275         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54276         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54277         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54278         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54279         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54280         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54281         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54282         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54283         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54284         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54285         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54286         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54287         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54288         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54290         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54291         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54292         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54293         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54301         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54302         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54303         * sysdeps/ieee754/s_lib_version.c: Likewise.
54304         * sysdeps/mach/hurd/check_fds.c: Likewise.
54305         * sysdeps/mach/hurd/getsockname.c: Likewise.
54306         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54307         * sysdeps/mach/hurd/recvfrom.c: Likewise.
54308         * sysdeps/powerpc/bits/link.h: Likewise.
54309         * sysdeps/powerpc/dl-procinfo.c: Likewise.
54310         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54311         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54312         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54313         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54314         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54315         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54316         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54317         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54318         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54319         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54320         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54321         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54322         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54323         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54324         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54325         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54326         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54328         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54329         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54330         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54331         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54332         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54333         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54334         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54335         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54336         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54337         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54338         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54339         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54340         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54341         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54342         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54343         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54344         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54345         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54346         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54347         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54348         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54349         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54350         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54351         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54352         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54353         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54354         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54355         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54356         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54357         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54358         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54361         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54362         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54363         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54364         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54365         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54366         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54367         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54368         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54369         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54370         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54371         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54372         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54373         * sysdeps/powerpc/sysdep.h: Likewise.
54374         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54375         * sysdeps/s390/s390-64/sub_n.S: Likewise.
54376         * sysdeps/sh/dl-trampoline.S: Likewise.
54377         * sysdeps/sh/memset.S: Likewise.
54378         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54379         * sysdeps/sh/strlen.S: Likewise.
54380         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54381         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54382         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54383         * sysdeps/sparc/sparc32/rem.S: Likewise.
54384         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54385         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54386         * sysdeps/sparc/sparc32/strchr.S: Likewise.
54387         * sysdeps/sparc/sparc32/udiv.S: Likewise.
54388         * sysdeps/sparc/sparc32/urem.S: Likewise.
54389         * sysdeps/sparc/sparc64/add_n.S: Likewise.
54390         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54391         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54392         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54393         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54394         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54395         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54396         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54397         * sysdeps/unix/bsd/times.c: Likewise.
54398         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54399         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54403         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54404         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54405         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54406         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54407         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54408         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54409         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54410         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54411         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54412         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54413         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54414         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54415         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54416         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54417         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54418         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54419         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54420         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54421         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54422         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54423         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54424         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54425         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54426         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54427         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54428         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54429         * sysdeps/x86_64/strcspn.S: Likewise.
54431 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54433         * locale/C-translit.h: Revert #include <stdint.h> because this is a
54434         generated file.  Regenerate properly from gen-translit.pl.
54435         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
54436         locale/C-translit.h.
54438 2013-06-05  Andreas Schwab  <schwab@suse.de>
54440         [BZ #15100]
54441         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54442         week as 6 instead of -1.
54443         * time/tst-strptime.c (day_tests): Add test case.
54445 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54447         * sysdeps/generic/math_private.h
54448         (libc_feholdexcept_setround_53bit): Replace with
54449         libc_feholdsetround_53bit.
54450         (libc_feupdateenv_53bit): Replace with
54451         libc_feresetround_53bit.
54452         (SET_RESTORE_ROUND_53BIT): Adjust.
54454 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54456         * string/test-strchrnul.c: Add copyright header.
54458         * posix/tst-getaddrinfo4.c: Increase test timeout.
54460 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
54462         [BZ #15536]
54463         * math/libm-test.inc (MAX_EXP): Remove
54464         (MIN_EXP): Define.
54465         (ulp): Use MIN_EXP - MANT_DIG.
54466         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54468 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
54470         * po/be.po: Revert last change.
54471         * po/zh_CN.po: Likewise.
54472         * po/header.pot: Likewise.
54474 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
54476         * Makefile ($(common-objpfx)linkobj/libc.so): Define
54477         link-libc-deps to empty as target-specific variable.
54478         * Makerules (link-libc-args): New variable.
54479         (libc-for-link): Likewise.
54480         (link-libc-deps): Likewise.
54481         (lib%.so): Depend on $(link-libc-deps).  Link with
54482         $(link-libc-args).
54483         (build-module): Link with $(link-libc-args).
54484         (build-module-asneeded): Likewise.
54485         (build-module-helper-objlist): Filter out $(link-libc-deps) from
54486         list of objects.
54487         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54488         target-specific variable.
54489         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54490         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54491         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54492         libc.
54493         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54494         libc and ld.so.
54495         ($(objpfx)libpcprofile.so): Likewise.
54496         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54497         libc_nonshared.a.
54498         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54499         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54500         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54501         $(link-libc-deps).
54502         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54503         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54504         * login/Makefile ($(objpfx)libutil.so): Likewise.
54505         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54506         * math/Makefile ($(objpfx)libm.so): Likewise.
54507         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54508         $(objpfx)libnsl.so): Define libc-for-link as target-specific
54509         variable instead of depending directly on libc.
54510         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54511         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54512         $(link-libc-deps).
54513         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54514         libc.
54515         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54516         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54517         ($(objpfx)libanl.so): Likewise.
54518         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54519         ld.so.
54520         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54521         $(link-libc-deps).
54522         * sysdeps/i386/fpu/Makefile: Remove file.
54523         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54524         ($(objpfx)libm.so): Remove dependency on ld.so.
54526 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
54528         [BZ # 15553]
54529         * nis/yp_xdr.c (XDRMAXNAME): Define.
54530         (XDRMAXRECORD): Define.
54531         (xdr_domainname): Use XDRMAXNAME.
54532         (xdr_mapname): Likewise.
54533         (xdr_peername): Likewise.
54534         (xdr_keydat): Use XDRMAXRECORD.
54535         (xdr_valdat): Likewise.
54537 2013-05-30  Jeff Law  <law@redhat.com>
54539         [BZ #14256]
54540         * manual/errno.texi (ESTALE): Update to account for more than
54541         just NFS file systems.
54542         * sysdeps/gnu/errlist.c: Regenerated.
54544 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54546         [BZ #15465]
54547         * elf/Makefile (tests): Add tst-null-argv.
54548         (modules-names):  Add tst-null-argv-lib.
54549         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54550         (tst-null-argv-ENV): Set environment for tst-null-argv.
54551         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54552         (RTLD_PROGNAME): New macro.
54553         * elf/tst-null-argv.c: New test case.
54554         * elf/tst-null-argv-lib.c: Library for test case.
54555         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54556         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54557         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54558         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54559         * elf/dl-init.c (call_init): Likewise.
54560         (_dl_init): Likewise.
54561         * elf/dl-load.c (print_search_path): Likewise.
54562         (_dl_map_object): Likewise.
54563         * elf/dl-lookup.c (do_lookup_x): Likewise.
54564         (add_dependency): Likewise.
54565         (_dl_lookup_symbol_x): Likewise.
54566         (_dl_debug_bindings): Likewise.
54567         * elf/dl-open.c (_dl_show_scope): Likewise.
54568         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54569         * elf/dl-version.c (match_symbol): Likewise.
54570         (_dl_check_map_versions): Likewise.
54571         * elf/rtld.c (dl_main): Likewise.
54572         (print_unresolved): Use RTLD_PROGNAME.
54573         (print_missing_version): Likewise.
54574         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54575         (elf_machine_rela): Likewise.
54576         * sysdeps/powerpc/powerpc32/dl-machine.c
54577         (__process_machine_rela): Likewise.
54578         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54579         Likewise.
54580         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54581         Likewise.
54582         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54583         Likewise.
54584         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54585         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54586         Likewise.
54587         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54588         Likewise.
54589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54591 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
54593         * po/be.po: Add descriptive title.
54594         * po/zh_CN.po: Likewise.
54595         * po/header.pot: Likewise.
54597 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
54599         * locale/programs/locarchive.c (create_archive): Inlucde fname in
54600         error message.
54601         (enlarge_archive): Likewise.
54603 2013-05-28  Ben North  <ben@redfrontdoor.org>
54605         * manual/arith.texi (frexp): It is the magnitude of the return
54606         value which lies in [0.5, 1), not the return value itself.
54608 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54612 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
54614         * stdio-common/bug26.c (main): Correct fscanf template.
54616         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54617         declare _dl_skip_args.
54619         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54620         Don't declare.
54622         * manual/platform.texi: Add missing @end deftypefun.
54624 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54626         [BZ #15529]
54627         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54628         bit of mantissa of 2^16382.
54629         * math/libm-test.inc (hypot_test_data): Add more tests.
54631         * math/libm-test.inc: Add drem and pow10 to list of tested
54632         functions.
54633         (pow10_test): New function.
54634         (drem_test): Likewise.
54635         (drem_test_tonearest): Likewise.
54636         (drem_test_towardzero): Likewise.
54637         (drem_test_downward): Likewise.
54638         (drem_test_upward): Likewise.
54639         (main): Call the new functions.
54641         * math/libm-test.inc (finite_test_data): Remove.
54642         (finite_test): Run tests from isfinite_test_data.
54643         (gamma_test_data): Remove.
54644         (gamma_test): Run tests from lgamma_test_data.
54645         * sysdeps/i386/fpu/libm-test-ulps: Update.
54646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54648 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54650         * manual/platform.texi: Add PowerPC PPR function set documentation.
54651         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54652         implementation.
54654 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
54656         * math/libm-test.inc (MAX_EXP): Define.
54657         (ULPDIFF): Define.
54658         (ulp): New function.
54659         (check_float_internal): Use ULPDIFF.
54660         (cpow_test): Disable failing test.
54661         (check_ulp): Test ulp() implementation.
54662         (main): Call check_ulp before starting tests.
54664 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54666         * math/gen-libm-test.pl (generate_testfile): Do not handle
54667         START_DATA and END_DATA.
54668         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54669         END_DATA.
54670         (acos_tonearest_test_data): Likewise.
54671         (acos_towardzero_test_data): Likewise.
54672         (acos_downward_test_data): Likewise.
54673         (acos_upward_test_data): Likewise.
54674         (acosh_test_data): Likewise.
54675         (asin_test_data): Likewise.
54676         (asin_tonearest_test_data): Likewise.
54677         (asin_towardzero_test_data): Likewise.
54678         (asin_downward_test_data): Likewise.
54679         (asin_upward_test_data): Likewise.
54680         (asinh_test_data): Likewise.
54681         (atan_test_data): Likewise.
54682         (atanh_test_data): Likewise.
54683         (atan2_test_data): Likewise.
54684         (cabs_test_data): Likewise.
54685         (cacos_test_data): Likewise.
54686         (cacosh_test_data): Likewise.
54687         (carg_test_data): Likewise.
54688         (casin_test_data): Likewise.
54689         (casinh_test_data): Likewise.
54690         (catan_test_data): Likewise.
54691         (catanh_test_data): Likewise.
54692         (cbrt_test_data): Likewise.
54693         (ccos_test_data): Likewise.
54694         (ccosh_test_data): Likewise.
54695         (ceil_test_data): Likewise.
54696         (cexp_test_data): Likewise.
54697         (cimag_test_data): Likewise.
54698         (clog_test_data): Likewise.
54699         (clog10_test_data): Likewise.
54700         (conj_test_data): Likewise.
54701         (copysign_test_data): Likewise.
54702         (cos_test_data): Likewise.
54703         (cos_tonearest_test_data): Likewise.
54704         (cos_towardzero_test_data): Likewise.
54705         (cos_downward_test_data): Likewise.
54706         (cos_upward_test_data): Likewise.
54707         (cosh_test_data): Likewise.
54708         (cosh_tonearest_test_data): Likewise.
54709         (cosh_towardzero_test_data): Likewise.
54710         (cosh_downward_test_data): Likewise.
54711         (cosh_upward_test_data): Likewise.
54712         (cpow_test_data): Likewise.
54713         (cproj_test_data): Likewise.
54714         (creal_test_data): Likewise.
54715         (csin_test_data): Likewise.
54716         (csinh_test_data): Likewise.
54717         (csqrt_test_data): Likewise.
54718         (ctan_test_data): Likewise.
54719         (ctan_tonearest_test_data): Likewise.
54720         (ctan_towardzero_test_data): Likewise.
54721         (ctan_downward_test_data): Likewise.
54722         (ctan_upward_test_data): Likewise.
54723         (ctanh_test_data): Likewise.
54724         (ctanh_tonearest_test_data): Likewise.
54725         (ctanh_towardzero_test_data): Likewise.
54726         (ctanh_downward_test_data): Likewise.
54727         (ctanh_upward_test_data): Likewise.
54728         (erf_test_data): Likewise.
54729         (erfc_test_data): Likewise.
54730         (exp_test_data): Likewise.
54731         (exp_tonearest_test_data): Likewise.
54732         (exp_towardzero_test_data): Likewise.
54733         (exp_downward_test_data): Likewise.
54734         (exp_upward_test_data): Likewise.
54735         (exp10_test_data): Likewise.
54736         (exp2_test_data): Likewise.
54737         (expm1_test_data): Likewise.
54738         (fabs_test_data): Likewise.
54739         (fdim_test_data): Likewise.
54740         (finite_test_data): Likewise.
54741         (floor_test_data): Likewise.
54742         (fma_test_data): Likewise.
54743         (fma_towardzero_test_data): Likewise.
54744         (fma_downward_test_data): Likewise.
54745         (fma_upward_test_data): Likewise.
54746         (fmax_test_data): Likewise.
54747         (fmin_test_data): Likewise.
54748         (fmod_test_data): Likewise.
54749         (fpclassify_test_data): Likewise.
54750         (frexp_test_data): Likewise.
54751         (gamma_test_data): Likewise.
54752         (hypot_test_data): Likewise.
54753         (ilogb_test_data): Likewise.
54754         (isfinite_test_data): Likewise.
54755         (isgreater_test_data): Likewise.
54756         (isgreaterequal_test_data): Likewise.
54757         (isinf_test_data): Likewise.
54758         (isless_test_data): Likewise.
54759         (islessequal_test_data): Likewise.
54760         (islessgreater_test_data): Likewise.
54761         (isnan_test_data): Likewise.
54762         (isnormal_test_data): Likewise.
54763         (issignaling_test_data): Likewise.
54764         (isunordered_test_data): Likewise.
54765         (j0_test_data): Likewise.
54766         (j1_test_data): Likewise.
54767         (jn_test_data): Likewise.
54768         (ldexp_test_data): Likewise.
54769         (lgamma_test_data): Likewise.
54770         (lrint_test_data): Likewise.
54771         (lrint_tonearest_test_data): Likewise.
54772         (lrint_towardzero_test_data): Likewise.
54773         (lrint_downward_test_data): Likewise.
54774         (lrint_upward_test_data): Likewise.
54775         (llrint_test_data): Likewise.
54776         (llrint_tonearest_test_data): Likewise.
54777         (llrint_towardzero_test_data): Likewise.
54778         (llrint_downward_test_data): Likewise.
54779         (llrint_upward_test_data): Likewise.
54780         (log_test_data): Likewise.
54781         (log10_test_data): Likewise.
54782         (log1p_test_data): Likewise.
54783         (log2_test_data): Likewise.
54784         (logb_test_data): Likewise.
54785         (logb_downward_test_data): Likewise.
54786         (lround_test_data): Likewise.
54787         (llround_test_data): Likewise.
54788         (modf_test_data): Likewise.
54789         (nearbyint_test_data): Likewise.
54790         (nextafter_test_data): Likewise.
54791         (nexttoward_test_data): Likewise.
54792         (pow_test_data): Likewise.
54793         (pow_tonearest_test_data): Likewise.
54794         (pow_towardzero_test_data): Likewise.
54795         (pow_downward_test_data): Likewise.
54796         (pow_upward_test_data): Likewise.
54797         (remainder_test_data): Likewise.
54798         (remainder_tonearest_test_data): Likewise.
54799         (remainder_towardzero_test_data): Likewise.
54800         (remainder_downward_test_data): Likewise.
54801         (remainder_upward_test_data): Likewise.
54802         (remquo_test_data): Likewise.
54803         (rint_test_data): Likewise.
54804         (rint_tonearest_test_data): Likewise.
54805         (rint_towardzero_test_data): Likewise.
54806         (rint_downward_test_data): Likewise.
54807         (rint_upward_test_data): Likewise.
54808         (round_test_data): Likewise.
54809         (scalb_test_data): Likewise.
54810         (scalbn_test_data): Likewise.
54811         (scalbln_test_data): Likewise.
54812         (signbit_test_data): Likewise.
54813         (sin_test_data): Likewise.
54814         (sin_tonearest_test_data): Likewise.
54815         (sin_towardzero_test_data): Likewise.
54816         (sin_downward_test_data): Likewise.
54817         (sin_upward_test_data): Likewise.
54818         (sincos_test_data): Likewise.
54819         (sinh_test_data): Likewise.
54820         (sinh_tonearest_test_data): Likewise.
54821         (sinh_towardzero_test_data): Likewise.
54822         (sinh_downward_test_data): Likewise.
54823         (sinh_upward_test_data): Likewise.
54824         (sqrt_test_data): Likewise.
54825         (tan_test_data): Likewise.
54826         (tan_tonearest_test_data): Likewise.
54827         (tan_towardzero_test_data): Likewise.
54828         (tan_downward_test_data): Likewise.
54829         (tan_upward_test_data): Likewise.
54830         (tanh_test_data): Likewise.
54831         (tgamma_test_data): Likewise.
54832         (trunc_test_data): Likewise.
54833         (y0_test_data): Likewise.
54834         (y1_test_data): Likewise.
54835         (yn_test_data): Likewise.
54836         (significand_test_data): Likewise.
54838         * math/gen-libm-test.pl (@functions): Remove variable.
54839         (generate_testfile): Don't handle START and END lines.
54840         * math/libm-test.inc (START): New macro.
54841         (END): Likewise.
54842         (END_COMPLEX): Likewise.
54843         (acos_test): Use END macro without arguments.
54844         (acos_test_tonearest): Likewise.
54845         (acos_test_towardzero): Likewise.
54846         (acos_test_downward): Likewise.
54847         (acos_test_upward): Likewise.
54848         (acosh_test): Likewise.
54849         (asin_test): Likewise.
54850         (asin_test_tonearest): Likewise.
54851         (asin_test_towardzero): Likewise.
54852         (asin_test_downward): Likewise.
54853         (asin_test_upward): Likewise.
54854         (asinh_test): Likewise.
54855         (atan_test): Likewise.
54856         (atanh_test): Likewise.
54857         (atan2_test): Likewise.
54858         (cabs_test): Likewise.
54859         (cacos_test): Use END_COMPLEX macro without arguments.
54860         (cacosh_test): Likewise.
54861         (carg_test): Use END macro without arguments.
54862         (casin_test): Use END_COMPLEX macro without arguments.
54863         (casinh_test): Likewise.
54864         (catan_test): Likewise.
54865         (catanh_test): Likewise.
54866         (cbrt_test): Use END macro without arguments.
54867         (ccos_test): Use END_COMPLEX macro without arguments.
54868         (ccosh_test): Likewise.
54869         (ceil_test): Use END macro without arguments.
54870         (cexp_test): Use END_COMPLEX macro without arguments.
54871         (cimag_test): Use END macro without arguments.
54872         (clog_test): Use END_COMPLEX macro without arguments.
54873         (clog10_test): Likewise.
54874         (conj_test): Likewise.
54875         (copysign_test): Use END macro without arguments.
54876         (cos_test): Likewise.
54877         (cos_test_tonearest): Likewise.
54878         (cos_test_towardzero): Likewise.
54879         (cos_test_downward): Likewise.
54880         (cos_test_upward): Likewise.
54881         (cosh_test): Likewise.
54882         (cosh_test_tonearest): Likewise.
54883         (cosh_test_towardzero): Likewise.
54884         (cosh_test_downward): Likewise.
54885         (cosh_test_upward): Likewise.
54886         (cpow_test): Use END_COMPLEX macro without arguments.
54887         (cproj_test): Likewise.
54888         (creal_test): Use END macro without arguments.
54889         (csin_test): Use END_COMPLEX macro without arguments.
54890         (csinh_test): Likewise.
54891         (csqrt_test): Likewise.
54892         (ctan_test): Likewise.
54893         (ctan_test_tonearest): Likewise.
54894         (ctan_test_towardzero): Likewise.
54895         (ctan_test_downward): Likewise.
54896         (ctan_test_upward): Likewise.
54897         (ctanh_test): Likewise.
54898         (ctanh_test_tonearest): Likewise.
54899         (ctanh_test_towardzero): Likewise.
54900         (ctanh_test_downward): Likewise.
54901         (ctanh_test_upward): Likewise.
54902         (erf_test): Use END macro without arguments.
54903         (erfc_test): Likewise.
54904         (exp_test): Likewise.
54905         (exp_test_tonearest): Likewise.
54906         (exp_test_towardzero): Likewise.
54907         (exp_test_downward): Likewise.
54908         (exp_test_upward): Likewise.
54909         (exp10_test): Likewise.
54910         (exp2_test): Likewise.
54911         (expm1_test): Likewise.
54912         (fabs_test): Likewise.
54913         (fdim_test): Likewise.
54914         (finite_test): Likewise.
54915         (floor_test): Likewise.
54916         (fma_test): Likewise.
54917         (fma_test_towardzero): Likewise.
54918         (fma_test_downward): Likewise.
54919         (fma_test_upward): Likewise.
54920         (fmax_test): Likewise.
54921         (fmin_test): Likewise.
54922         (fmod_test): Likewise.
54923         (fpclassify_test): Likewise.
54924         (frexp_test): Likewise.
54925         (gamma_test): Likewise.
54926         (hypot_test): Likewise.
54927         (ilogb_test): Likewise.
54928         (isfinite_test): Likewise.
54929         (isgreater_test): Likewise.
54930         (isgreaterequal_test): Likewise.
54931         (isinf_test): Likewise.
54932         (isless_test): Likewise.
54933         (islessequal_test): Likewise.
54934         (islessgreater_test): Likewise.
54935         (isnan_test): Likewise.
54936         (isnormal_test): Likewise.
54937         (issignaling_test): Likewise.
54938         (isunordered_test): Likewise.
54939         (j0_test): Likewise.
54940         (j1_test): Likewise.
54941         (jn_test): Likewise.
54942         (ldexp_test): Likewise.
54943         (lgamma_test): Likewise.
54944         (lrint_test): Likewise.
54945         (lrint_test_tonearest): Likewise.
54946         (lrint_test_towardzero): Likewise.
54947         (lrint_test_downward): Likewise.
54948         (lrint_test_upward): Likewise.
54949         (llrint_test): Likewise.
54950         (llrint_test_tonearest): Likewise.
54951         (llrint_test_towardzero): Likewise.
54952         (llrint_test_downward): Likewise.
54953         (llrint_test_upward): Likewise.
54954         (log_test): Likewise.
54955         (log10_test): Likewise.
54956         (log1p_test): Likewise.
54957         (log2_test): Likewise.
54958         (logb_test): Likewise.
54959         (logb_test_downward): Likewise.
54960         (lround_test): Likewise.
54961         (llround_test): Likewise.
54962         (modf_test): Likewise.
54963         (nearbyint_test): Likewise.
54964         (nextafter_test): Likewise.
54965         (nexttoward_test): Likewise.
54966         (pow_test): Likewise.
54967         (pow_test_tonearest): Likewise.
54968         (pow_test_towardzero): Likewise.
54969         (pow_test_downward): Likewise.
54970         (pow_test_upward): Likewise.
54971         (remainder_test): Likewise.
54972         (remainder_test_tonearest): Likewise.
54973         (remainder_test_towardzero): Likewise.
54974         (remainder_test_downward): Likewise.
54975         (remainder_test_upward): Likewise.
54976         (remquo_test): Likewise.
54977         (rint_test): Likewise.
54978         (rint_test_tonearest): Likewise.
54979         (rint_test_towardzero): Likewise.
54980         (rint_test_downward): Likewise.
54981         (rint_test_upward): Likewise.
54982         (round_test): Likewise.
54983         (scalb_test): Likewise.
54984         (scalbn_test): Likewise.
54985         (scalbln_test): Likewise.
54986         (signbit_test): Likewise.
54987         (sin_test): Likewise.
54988         (sin_test_tonearest): Likewise.
54989         (sin_test_towardzero): Likewise.
54990         (sin_test_downward): Likewise.
54991         (sin_test_upward): Likewise.
54992         (sincos_test): Likewise.
54993         (sinh_test): Likewise.
54994         (sinh_test_tonearest): Likewise.
54995         (sinh_test_towardzero): Likewise.
54996         (sinh_test_downward): Likewise.
54997         (sinh_test_upward): Likewise.
54998         (sqrt_test): Likewise.
54999         (tan_test): Likewise.
55000         (tan_test_tonearest): Likewise.
55001         (tan_test_towardzero): Likewise.
55002         (tan_test_downward): Likewise.
55003         (tan_test_upward): Likewise.
55004         (tanh_test): Likewise.
55005         (tgamma_test): Likewise.
55006         (trunc_test): Likewise.
55007         (y0_test): Likewise.
55008         (y1_test): Likewise.
55009         (yn_test): Likewise.
55010         (significand_test): Likewise.
55012 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55014         [BZ #15381]
55015         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55017 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55019         [BZ #14894]
55020         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55021         __ppc_mdoio and __ppc_mdoom.
55022         * manual/platform.texi: Document new functions __ppc_yield,
55023         __ppc_mdoio and __ppc_mdoom.
55025 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55027         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55028         (main): Mention "tls" pseudo-hwcap is legacy.
55029         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55031 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55033         * math/gen-libm-test.pl (parse_args): Output only string of
55034         arguments as text for test name, not full call or descriptions of
55035         tests for extra outputs.
55036         (generate_testfile): Do not pass function name to parse_args.
55037         Generate this_func variable from START.
55038         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55039         field to arg_str.
55040         (struct test_ff_f_data): Likewise.
55041         (test_ff_f_data_nexttoward): Likewise.
55042         (struct test_fi_f_data): Likewise.
55043         (struct test_fl_f_data): Likewise.
55044         (struct test_if_f_data): Likewise.
55045         (struct test_fff_f_data): Likewise.
55046         (struct test_c_f_data): Likewise.
55047         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55048         (struct test_fF_f1_data): Likewise.
55049         (struct test_ffI_f1_data): Likewise.
55050         (struct test_c_c_data): Rename test_name field to arg_str.
55051         (struct test_cc_c_data): Likewise.
55052         (struct test_f_i_data): Likewise.
55053         (struct test_ff_i_data): Likewise.
55054         (struct test_f_l_data): Likewise.
55055         (struct test_f_L_data): Likewise.
55056         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55057         and extra2_name.
55058         (COMMON_TEST_SETUP): New macro.
55059         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55060         (COMMON_TEST_CLEANUP): Likewise.
55061         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55062         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55063         macros.
55064         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55065         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55066         macros.
55067         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55068         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55069         cleanup macros.
55070         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55071         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55072         macros.
55073         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55074         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55075         macros.
55076         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55077         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
55078         cleanup macros.
55079         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55080         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
55081         cleanup macros.
55082         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55083         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
55084         cleanup macros.
55085         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55086         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
55087         macros.
55088         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55089         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
55090         macros.
55091         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55092         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
55093         macros.
55094         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55095         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
55096         cleanup macros.
55097         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55098         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
55099         cleanup macros.
55100         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55101         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
55102         macros.
55103         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55104         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
55105         cleanup macros.
55106         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55107         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
55108         macros.
55109         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55110         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
55111         macros.
55112         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55113         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
55114         cleanup macros.
55115         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55117 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
55119         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55120         to _sifields.sigfault.
55121         (si_addr_lsb): Define new macro.
55122         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55123         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55124         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55126 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
55128         [BZ #15441]
55129         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55130         returns -1.
55131         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55132         null return -1.
55133         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55134         loading the domain.
55136 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55138         * math/gen-libm-test.pl (parse_args): Do not include expected
55139         result in test name.
55140         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55141         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55142         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55143         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55144         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55147 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55149         * benchtests/Makefile: Sort function entries.
55151         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55152         tanh, asinh, acosh, atanh.
55153         * benchtests/acos-inputs: New file.
55154         * benchtests/acosh-inputs: New file.
55155         * benchtests/asin-inputs: New file.
55156         * benchtests/asinh-inputs: New file.
55157         * benchtests/atanh-inputs: New file.
55158         * benchtests/cosh-inputs: New file.
55159         * benchtests/log-inputs: New file.
55160         * benchtests/sinh-inputs: New file.
55161         * benchtests/tanh-inputs: New file.
55163 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
55165         [BZ #15339]
55166         * posix/tst-getaddrinfo4.c: New test.
55167         * posix/Makefile (tests): Add it.
55169 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55171         [BZ #15339]
55172         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55173         when no services were used.
55174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55175         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55177 2013-05-21  Andreas Schwab  <schwab@suse.de>
55179         [BZ #15014]
55180         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55181         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55182         successful.
55183         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55184         redundant variable declarations and reallocation of buffer when
55185         parsing as IPv6 address.  Always set NSS status when called from
55186         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
55187         buffer too small.  Correct computation of needed size.
55188         * nss/Makefile (tests): Add test-digits-dots.
55189         * nss/test-digits-dots.c: New test.
55191 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55193         * benchtests/Makefile: Remove instructions for adding
55194         benchmark tests.
55195         * benchtests/README: New file to explain how to execute and
55196         enhance the benchmark tests.
55198 2013-05-21  Andreas Schwab  <schwab@suse.de>
55200         [BZ #15493]
55201         * setjmp/Makefile (tests): Add tst-sigsetjmp.
55202         * setjmp/tst-sigsetjmp.c: New test.
55204 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55206         * sysdeps/x86_64/memset.S (memset): New implementation.
55207         (__bzero): Likewise.
55208         (__memset_tail): New function.
55210 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55212         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55213         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55214         __memcpy_sse2_unaligned ifunc selection.
55215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55216         Add memcpy-sse2-unaligned.S.
55217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55218         Add: __memcpy_sse2_unaligned.
55220 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
55222         [BZ #15490]
55223         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55224         math_force_eval before restoring floating-point envrionment.
55225         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55226         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55227         Likewise.
55228         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55229         <math_private.h>.
55230         (__nearbyintl): Use math_force_eval before restoring
55231         floating-point environment.
55232         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55234         * math/gen-libm-test.pl (special_functions): Remove.
55235         (parse_args): Don't handle TEST_extra.  Handle functions with no
55236         return value.
55237         * math/libm-test.inc (struct test_sincos_data): Replace with
55238         struct test_fFF_11_data.
55239         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55240         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55241         (sincos_test_data): Change element type to struct
55242         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
55243         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55244         RUN_TEST_LOOP_sincos.
55245         * math/README.libm-test: Don't mention special handling of
55246         individual functions.
55247         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55248         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55249         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55250         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55251         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55254         * math/gen-libm-test.pl (get_variable): Remove function.
55255         (parse_args): Don't show pointer parameters to call in test
55256         names.  Use "extra output N" in test names for extra outputs
55257         rather than naming variables.
55259 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
55261         [BZ #15488]
55262         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55263         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55264         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55265         double tests.
55266         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55267         disable.
55268         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55269         check_long_double.
55271         * math/gen-libm-test.pl (@tests): Remove variable.
55272         ($count): Likewise.
55273         (new_test): Remove function.
55274         (show_exceptions): New function.
55275         (special_functions): Use show_exceptions instead of new_test.
55276         (parse_args): Likewise.
55277         (generate_testfile): Pass only function name in generated call to
55278         print_max_error or print_complex_max_error.
55279         (get_ulps): Do not handle complex tests specially.
55280         (output_test): Rename to ...
55281         (get_all_ulps_for_test): ... this.  Return a string rather than
55282         printing to a file.  Require ulps to be present.
55283         (output_ulps): Generate arrays rather than #defines.
55284         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55285         (struct ulp_data): New type.
55286         (BUILD_COMPLEX_ULP): Remove macro.
55287         (compare_ulp_data): New function.
55288         (find_ulps): Likewise.
55289         (find_test_ulps): Likewise.
55290         (find_function_ulps): Likewise.
55291         (find_complex_function_ulps): Likewise.
55292         (print_max_error): Determine allowed ulps using
55293         find_function_ulps.
55294         (print_complex_max_error): Determine allowed ulps using
55295         find_complex_function_ulps.
55296         (check_float_internal): Determine max ulps using find_test_ulps.
55297         (check_float): Do not take max_ulp parameter.  Update call to
55298         check_float_internal.
55299         (check_complex): Likewise.
55300         (check_int): Do not take max_ulp parameter.
55301         (check_long): Likewise.
55302         (check_bool): Likewise.
55303         (check_longlong): Likewise.
55304         (struct test_f_f_data): Remove max_ulp field.
55305         (struct test_ff_f_data): Likewise.
55306         (struct test_ff_f_data_nexttoward): Likewise.
55307         (struct test_fi_f_data): Likewise.
55308         (struct test_fl_f_data): Likewise.
55309         (struct test_if_f_data): Likewise.
55310         (struct test_fff_f_data): Likewise.
55311         (struct test_c_f_data): Likewise.
55312         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55313         (struct test_fF_f1_data): Likewise.
55314         (struct test_ffI_f1_data): Likewise.
55315         (struct test_c_c_data): Remove max_ulp field.
55316         (struct test_cc_c_data): Likewise.
55317         (struct test_f_i_data): Likewise.
55318         (struct test_ff_i_data): Likewise.
55319         (struct test_f_l_data): Likewise.
55320         (struct test_f_L_data): Likewise.
55321         (struct test_sincos_data): Likewise.
55322         (RUN_TEST_f_f): Do not handle ulps.
55323         (RUN_TEST_LOOP_f_f): Likewise.
55324         (RUN_TEST_2_f): Likewise.
55325         (RUN_TEST_LOOP_2_f): Likewise.
55326         (RUN_TEST_fff_f): Likewise.
55327         (RUN_TEST_LOOP_fff_f): Likewise.
55328         (RUN_TEST_c_f): Likewise.
55329         (RUN_TEST_LOOP_c_f): Likewise.
55330         (RUN_TEST_f_f1): Likewise.
55331         (RUN_TEST_LOOP_f_f1): Likewise.
55332         (RUN_TEST_fF_f1): Likewise.
55333         (RUN_TEST_LOOP_fF_f1): Likewise.
55334         (RUN_TEST_fI_f1): Likewise.
55335         (RUN_TEST_LOOP_fI_f1): Likewise.
55336         (RUN_TEST_ffI_f1): Likewise.
55337         (RUN_TEST_LOOP_ffI_f1): Likewise.
55338         (RUN_TEST_c_c): Likewise.
55339         (RUN_TEST_LOOP_c_c): Likewise.
55340         (RUN_TEST_cc_c): Likewise.
55341         (RUN_TEST_LOOP_cc_c): Likewise.
55342         (RUN_TEST_f_i): Likewise.
55343         (RUN_TEST_LOOP_f_i): Likewise.
55344         (RUN_TEST_f_i_tg): Likewise.
55345         (RUN_TEST_LOOP_f_i_tg): Likewise.
55346         (RUN_TEST_ff_i_tg): Likewise.
55347         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55348         (RUN_TEST_f_b): Likewise.
55349         (RUN_TEST_LOOP_f_b): Likewise.
55350         (RUN_TEST_f_b_tg): Likewise.
55351         (RUN_TEST_LOOP_f_b_tg): Likewise.
55352         (RUN_TEST_f_l): Likewise.
55353         (RUN_TEST_LOOP_f_l): Likewise.
55354         (RUN_TEST_f_L): Likewise.
55355         (RUN_TEST_LOOP_f_L): Likewise.
55356         (RUN_TEST_sincos): Likewise.
55357         (RUN_TEST_LOOP_sincos): Likewise.
55359 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
55361         [BZ #15480]
55362         [BZ #15485]
55363         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55364         main case of finite arguments, set rounding mode to FE_TONEAREST
55365         and discard exceptions.
55366         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55367         exceptions.
55368         (remainder_tonearest_test_data): New variable.
55369         (remainder_test_tonearest): New function.
55370         (remainder_towardzero_test_data): New variable.
55371         (remainder_test_towardzero): New function.
55372         (remainder_downward_test_data): New variable.
55373         (remainder_test_downward): New function.
55374         (remainder_upward_test_data): New variable.
55375         (remainder_test_upward): New function.
55376         (main): Call the new test functions.
55378         * math/libm-test.inc (struct test_f_f1_data): Remove field
55379         extra_init.
55380         (struct test_fF_f1_data): Likewise.
55381         (struct test_ffI_f1_data): Likewise.
55382         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
55383         based on value of EXTRA_EXPECTED.
55384         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55385         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
55386         EXTRA_VAR based on value of EXTRA_EXPECTED.
55387         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55388         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
55389         EXTRA_VAR based on value of EXTRA_EXPECTED.
55390         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55391         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
55392         EXTRA_VAR based on value of EXTRA_EXPECTED.
55393         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55394         * math/gen-libm-test.pl (parse_args): Don't output initializers
55395         for extra output values.
55397         * math/libm-test.inc (check_int): Expect result to be exactly
55398         equal to expected value and do not handle ulps.
55399         (check_long): Likewise.
55400         (check_longlong): Likewise.
55402         * math/libm-test.inc (ceil_test_data): Test for "inexact"
55403         exceptions.
55404         (cimag_test_data): Likewise.
55405         (conj_test_data): Likewise.
55406         (copysign_test_data): Likewise.
55407         (cproj_test_data): Likewise.
55408         (creal_test_data): Likewise.
55409         (fabs_test_data): Likewise.
55410         (fdim_test_data): Likewise.
55411         (finite_test_data): Likewise.
55412         (floor_test_data): Likewise.
55413         (fmax_test_data): Likewise.
55414         (fmin_test_data): Likewise.
55415         (fmod_test_data): Likewise.
55416         (fpclassify_test_data): Likewise.
55417         (frexp_test_data): Likewise.
55418         (ilogb_test_data): Likewise.
55419         (isfinite_test_data): Likewise.
55420         (isgreater_test_data): Likewise.
55421         (isgreaterequal_test_data): Likewise.
55422         (isinf_test_data): Likewise.
55423         (isless_test_data): Likewise.
55424         (islessequal_test_data): Likewise.
55425         (islessgreater_test_data): Likewise.
55426         (isnan_test_data): Likewise.
55427         (isnormal_test_data): Likewise.
55428         (issignaling_test_data): Likewise.
55429         (isunordered_test_data): Likewise.
55430         (ldexp_test_data): Likewise.
55431         (lrint_test_data): Likewise.
55432         (lrint_test_data) [TEST_FLOAT]: Disable one test.
55433         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55434         (lrint_tonearest_test_data): Test for "inexact" exceptions.
55435         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55436         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55437         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55438         test input.
55439         (lrint_towardzero_test_data): Test for "inexact" exceptions.
55440         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55441         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55442         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55443         that test input.
55444         (lrint_downward_test_data): Test for "inexact" exceptions.
55445         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55446         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55447         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55448         test input.
55449         (lrint_upward_test_data): Test for "inexact" exceptions.
55450         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55451         test input.
55452         (llrint_test_data): Test for "inexact" exceptions.
55453         (llrint_test_data) [TEST_FLOAT]: Disable one test.
55454         (llrint_tonearest_test_data): Test for "inexact" exceptions.
55455         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55456         (llrint_towardzero_test_data): Test for "inexact" exceptions.
55457         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55458         (llrint_downward_test_data): Test for "inexact" exceptions.
55459         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55460         (llrint_upward_test_data): Test for "inexact" exceptions.
55461         (logb_test_data): Likewise.
55462         (logb_downward_test_data): Likewise.
55463         (nextafter_test_data): Likewise.
55464         (nexttoward_test_data): Likewise.
55465         (remainder_test_data): Likewise.
55466         (remquo_test_data): Likewise.
55467         (scalbn_test_data): Likewise.
55468         (scalbln_test_data): Likewise.
55469         (signbit_test_data): Likewise.
55470         (sqrt_test_data): Likewise.
55471         (significand_test_data): Likewise.
55473 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55475         [BZ #15424]
55476         * benchtests/bench-modf.c (struct args): Mark arg0 as
55477         volatile.
55478         * scripts/bench.pl: Mark members of struct args as volatile.
55480 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55482         [BZ # 15497]
55483         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55484         negative infinity on POWER6 or lower.
55485         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55487 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
55489         [BZ #15442]
55490         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55491         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55492         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55493         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55494         (_FP_SETQNAN): New macro.
55495         (_FP_SETQNAN_SEMIRAW): Likewise.
55496         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55497         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55498         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55499         (FP_EXTEND): Use _FP_FRAC_SNANP.
55500         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55501         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55502         into account.
55503         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55504         New macro.
55505         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55506         Likewise.
55508 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55510         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55511         with DIVIDE_BY_ZERO_EXCEPTION.
55512         (gamma_test_data): Likewise.
55513         (lgamma_test_data): Likewise.
55514         (log_test_data): Likewise.
55515         (log10_test_data): Likewise.
55516         (log2_test_data): Likewise.
55517         (tgamma_test_data): Likewise.
55519         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55520         (acos_test_tonearest): Likewise.
55521         (acos_test_towardzero): Likewise.
55522         (acos_test_downward): Likewise.
55523         (acos_test_upward): Likewise.
55524         (acosh_test): Likewise.
55525         (asin_test): Likewise.
55526         (asin_test_tonearest): Likewise.
55527         (asin_test_towardzero): Likewise.
55528         (asin_test_downward): Likewise.
55529         (asin_test_upward): Likewise.
55530         (asinh_test): Likewise.
55531         (atan_test): Likewise.
55532         (atanh_test): Likewise.
55533         (atan2_test): Likewise.
55534         (cabs_test): Likewise.
55535         (cacos_test): Likewise.
55536         (cacosh_test): Likewise.
55537         (casin_test): Likewise.
55538         (casinh_test): Likewise.
55539         (catan_test): Likewise.
55540         (catanh_test): Likewise.
55541         (cbrt_test): Likewise.
55542         (ccos_test): Likewise.
55543         (ccosh_test): Likewise.
55544         (cexp_test): Likewise.
55545         (clog_test): Likewise.
55546         (clog10_test): Likewise.
55547         (cos_test): Likewise.
55548         (cos_test_tonearest): Likewise.
55549         (cos_test_towardzero): Likewise.
55550         (cos_test_downward): Likewise.
55551         (cos_test_upward): Likewise.
55552         (cosh_test): Likewise.
55553         (cosh_test_tonearest): Likewise.
55554         (cosh_test_towardzero): Likewise.
55555         (cosh_test_downward): Likewise.
55556         (cosh_test_upward): Likewise.
55557         (cpow_test): Likewise.
55558         (csin_test): Likewise.
55559         (csinh_test): Likewise.
55560         (csqrt_test): Likewise.
55561         (ctan_test): Likewise.
55562         (ctan_test_tonearest): Likewise.
55563         (ctan_test_towardzero): Likewise.
55564         (ctan_test_downward): Likewise.
55565         (ctan_test_upward): Likewise.
55566         (ctanh_test): Likewise.
55567         (ctanh_test_tonearest): Likewise.
55568         (ctanh_test_towardzero): Likewise.
55569         (ctanh_test_downward): Likewise.
55570         (ctanh_test_upward): Likewise.
55571         (erf_test): Likewise.
55572         (erfc_test): Likewise.
55573         (exp_test): Likewise.
55574         (exp_test_tonearest): Likewise.
55575         (exp_test_towardzero): Likewise.
55576         (exp_test_downward): Likewise.
55577         (exp_test_upward): Likewise.
55578         (exp10_test): Likewise.
55579         (exp2_test): Likewise.
55580         (expm1_test): Likewise.
55581         (fmod_test): Likewise.
55582         (gamma_test): Likewise.
55583         (hypot_test): Likewise.
55584         (j0_test): Likewise.
55585         (j1_test): Likewise.
55586         (jn_test): Likewise.
55587         (lgamma_test): Likewise.
55588         (log_test): Likewise.
55589         (log10_test): Likewise.
55590         (log1p_test): Likewise.
55591         (log2_test): Likewise.
55592         (logb_test_downward): Likewise.
55593         (pow_test): Likewise.
55594         (pow_test_tonearest): Likewise.
55595         (pow_test_towardzero): Likewise.
55596         (pow_test_downward): Likewise.
55597         (pow_test_upward): Likewise.
55598         (remainder_test): Likewise.
55599         (remquo_test): Likewise.
55600         (sin_test): Likewise.
55601         (sin_test_tonearest): Likewise.
55602         (sin_test_towardzero): Likewise.
55603         (sin_test_downward): Likewise.
55604         (sin_test_upward): Likewise.
55605         (sincos_test): Likewise.
55606         (sinh_test): Likewise.
55607         (sinh_test_tonearest): Likewise.
55608         (sinh_test_towardzero): Likewise.
55609         (sinh_test_downward): Likewise.
55610         (sinh_test_upward): Likewise.
55611         (sqrt_test): Likewise.
55612         (tan_test): Likewise.
55613         (tan_test_tonearest): Likewise.
55614         (tan_test_towardzero): Likewise.
55615         (tan_test_downward): Likewise.
55616         (tan_test_upward): Likewise.
55617         (tanh_test): Likewise.
55618         (tgamma_test): Likewise.
55619         (y0_test): Likewise.
55620         (y1_test): Likewise.
55621         (yn_test): Likewise.
55623         * math/gen-libm-test.pl (adjust_arg): Remove function.
55624         (special_function): Remove argument $in_func.  Only handle
55625         generating output for tables of tests, not inside functions.
55626         (parse_args): Likewise.
55627         (generate_testfile): Remove variable $in_func.  Update call to
55628         parse_args.
55629         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55630         (MINUS_ZERO_INIT): Rename macro to minus_zero.
55631         (PLUS_INFTY_INIT): Rename macro to plus_infty.
55632         (MINUS_INFTY_INIT): Rename macro to minus_infty.
55633         (QNAN_VALUE_INIT): Rename macro to qnan_value.
55634         (MAX_VALUE_INIT): Rename macro to max_value.
55635         (MIN_VALUE_INIT): Rename macro to min_value.
55636         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55637         (plus_zero): Remove variable.
55638         (minus_zero): Likewise.
55639         (plus_infty): Likewise.
55640         (minus_infty): Likewise.
55641         (qnan_value): Likewise.
55642         (max_value): Likewise.
55643         (min_value): Likewise.
55644         (min_subnorm_value): Likewise.
55646 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55648         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55649         uint64_t or uint32_t usage.
55650         * crypt/sha256-block.c: Likewise.
55651         * crypt/sha256-crypt.c: Likewise.
55652         * crypt/sha256.c: Likewise.
55653         * crypt/sha512-block.c: Likewise.
55654         * crypt/sha512-crypt.c: Likewise.
55655         * crypt/sha512.c: Likewise.
55656         * debug/backtrace-tst.c: Likewise.
55657         * debug/pcprofiledump.c: Likewise.
55658         * elf/cache.c: Likewise.
55659         * elf/dl-cache.c: Likewise.
55660         * elf/dl-misc.c: Likewise.
55661         * elf/dl-profile.c: Likewise.
55662         * elf/dl-support.c: Likewise.
55663         * elf/ldconfig.c: Likewise.
55664         * elf/sprof.c: Likewise.
55665         * iconv/dummy-repertoire.c: Likewise.
55666         * iconv/iconv_charmap.c: Likewise.
55667         * iconv/skeleton.c: Likewise.
55668         * iconvdata/8bit-generic.c: Likewise.
55669         * iconvdata/cp737.h: Likewise.
55670         * iconvdata/cp775.h: Likewise.
55671         * iconvdata/ibm1008.h: Likewise.
55672         * iconvdata/ibm1025.h: Likewise.
55673         * iconvdata/ibm1046.h: Likewise.
55674         * iconvdata/ibm1097.h: Likewise.
55675         * iconvdata/ibm1112.h: Likewise.
55676         * iconvdata/ibm1122.h: Likewise.
55677         * iconvdata/ibm1123.h: Likewise.
55678         * iconvdata/ibm1124.h: Likewise.
55679         * iconvdata/ibm1129.h: Likewise.
55680         * iconvdata/ibm1130.h: Likewise.
55681         * iconvdata/ibm1132.h: Likewise.
55682         * iconvdata/ibm1133.h: Likewise.
55683         * iconvdata/ibm1137.h: Likewise.
55684         * iconvdata/ibm1140.h: Likewise.
55685         * iconvdata/ibm1141.h: Likewise.
55686         * iconvdata/ibm1142.h: Likewise.
55687         * iconvdata/ibm1143.h: Likewise.
55688         * iconvdata/ibm1144.h: Likewise.
55689         * iconvdata/ibm1145.h: Likewise.
55690         * iconvdata/ibm1146.h: Likewise.
55691         * iconvdata/ibm1147.h: Likewise.
55692         * iconvdata/ibm1148.h: Likewise.
55693         * iconvdata/ibm1149.h: Likewise.
55694         * iconvdata/ibm1153.h: Likewise.
55695         * iconvdata/ibm1154.h: Likewise.
55696         * iconvdata/ibm1155.h: Likewise.
55697         * iconvdata/ibm1156.h: Likewise.
55698         * iconvdata/ibm1157.h: Likewise.
55699         * iconvdata/ibm1158.h: Likewise.
55700         * iconvdata/ibm1160.h: Likewise.
55701         * iconvdata/ibm1161.h: Likewise.
55702         * iconvdata/ibm1162.h: Likewise.
55703         * iconvdata/ibm1163.h: Likewise.
55704         * iconvdata/ibm1164.h: Likewise.
55705         * iconvdata/ibm1166.h: Likewise.
55706         * iconvdata/ibm1167.h: Likewise.
55707         * iconvdata/ibm12712.h: Likewise.
55708         * iconvdata/ibm1390.h: Likewise.
55709         * iconvdata/ibm1399.h: Likewise.
55710         * iconvdata/ibm16804.h: Likewise.
55711         * iconvdata/ibm4517.h: Likewise.
55712         * iconvdata/ibm4899.h: Likewise.
55713         * iconvdata/ibm4909.h: Likewise.
55714         * iconvdata/ibm4971.h: Likewise.
55715         * iconvdata/ibm5347.h: Likewise.
55716         * iconvdata/ibm803.h: Likewise.
55717         * iconvdata/ibm856.h: Likewise.
55718         * iconvdata/ibm901.h: Likewise.
55719         * iconvdata/ibm902.h: Likewise.
55720         * iconvdata/ibm9030.h: Likewise.
55721         * iconvdata/ibm9066.h: Likewise.
55722         * iconvdata/ibm921.h: Likewise.
55723         * iconvdata/ibm922.h: Likewise.
55724         * iconvdata/ibm9448.h: Likewise.
55725         * iconvdata/isiri-3342.h: Likewise.
55726         * iconvdata/jis0201.h: Likewise.
55727         * include/link.h: Likewise.
55728         * include/netdb.h: Likewise.
55729         * inet/check_native.c: Likewise.
55730         * inet/check_pf.c: Likewise.
55731         * inet/getipv4sourcefilter.c: Likewise.
55732         * inet/getnameinfo.c: Likewise.
55733         * inet/getsourcefilter.c: Likewise.
55734         * inet/htonl.c: Likewise.
55735         * inet/setipv4sourcefilter.c: Likewise.
55736         * inet/setsourcefilter.c: Likewise.
55737         * inet/test-inet6_opt.c: Likewise.
55738         * inet/tst-network.c: Likewise.
55739         * locale/C-collate.c: Likewise.
55740         * locale/C-ctype.c: Likewise.
55741         * locale/C-time.c: Likewise.
55742         * locale/C-translit.h: Likewise.
55743         * locale/loadarchive.c: Likewise.
55744         * locale/programs/3level.h: Likewise.
55745         * locale/programs/charmap.c: Likewise.
55746         * locale/programs/charmap.h: Likewise.
55747         * locale/programs/ld-address.c: Likewise.
55748         * locale/programs/ld-collate.c: Likewise.
55749         * locale/programs/ld-ctype.c: Likewise.
55750         * locale/programs/ld-identification.c: Likewise.
55751         * locale/programs/ld-measurement.c: Likewise.
55752         * locale/programs/ld-messages.c: Likewise.
55753         * locale/programs/ld-monetary.c: Likewise.
55754         * locale/programs/ld-name.c: Likewise.
55755         * locale/programs/ld-numeric.c: Likewise.
55756         * locale/programs/ld-paper.c: Likewise.
55757         * locale/programs/ld-telephone.c: Likewise.
55758         * locale/programs/ld-time.c: Likewise.
55759         * locale/programs/linereader.c: Likewise.
55760         * locale/programs/locale.c: Likewise.
55761         * locale/programs/locarchive.c: Likewise.
55762         * locale/programs/locfile.h: Likewise.
55763         * locale/programs/repertoire.c: Likewise.
55764         * locale/programs/simple-hash.c: Likewise.
55765         * locale/programs/simple-hash.h: Likewise.
55766         * malloc/memusage.c: Likewise.
55767         * malloc/memusagestat.c: Likewise.
55768         * nis/nis_defaults.c: Likewise.
55769         * nis/nis_hash.c: Likewise.
55770         * nis/nis_print.c: Likewise.
55771         * nis/nis_xdr.c: Likewise.
55772         * nscd/connections.c: Likewise.
55773         * nscd/hstcache.c: Likewise.
55774         * nscd/nscd_gethst_r.c: Likewise.
55775         * nscd/nscd_getserv_r.c: Likewise.
55776         * nscd/nscd_helper.c: Likewise.
55777         * nscd/servicescache.c: Likewise.
55778         * nss/makedb.c: Likewise.
55779         * nss/nss_db/db-XXX.c: Likewise.
55780         * nss/nss_db/db-initgroups.c: Likewise.
55781         * nss/nss_db/db-netgrp.c: Likewise.
55782         * nss/nss_files/files-network.c: Likewise.
55783         * nss/nss_files/files-parse.c: Likewise.
55784         * posix/bug-regex5.c: Likewise.
55785         * posix/fnmatch_loop.c: Likewise.
55786         * posix/regcomp.c: Likewise.
55787         * posix/regexec.c: Likewise.
55788         * posix/tst-rfc3484-2.c: Likewise.
55789         * posix/tst-rfc3484-3.c: Likewise.
55790         * posix/tst-rfc3484.c: Likewise.
55791         * resolv/nss_dns/dns-canon.c: Likewise.
55792         * resolv/nss_dns/dns-network.c: Likewise.
55793         * resolv/res_init.c: Likewise.
55794         * resolv/res_mkquery.c: Likewise.
55795         * resolv/tst-aton.c: Likewise.
55796         * stdlib/cxa_atexit.c: Likewise.
55797         * stdlib/cxa_finalize.c: Likewise.
55798         * stdlib/gen-fpioconst.c: Likewise.
55799         * stdlib/strtol_l.c: Likewise.
55800         * string/tst-endian.c: Likewise.
55801         * sunrpc/auth_des.c: Likewise.
55802         * sunrpc/clnt_udp.c: Likewise.
55803         * sunrpc/rtime.c: Likewise.
55804         * sunrpc/svcauth_des.c: Likewise.
55805         * sunrpc/xdr.c: Likewise.
55806         * sunrpc/xdr_intXX_t.c: Likewise.
55807         * sunrpc/xdr_rec.c: Likewise.
55808         * sysdeps/generic/ldconfig.h: Likewise.
55809         * sysdeps/generic/ldsodefs.h: Likewise.
55810         * sysdeps/generic/memusage.h: Likewise.
55811         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55812         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55813         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55814         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55815         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55817         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55818         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55819         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55820         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55821         * sysdeps/posix/getaddrinfo.c: Likewise.
55822         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55823         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55824         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55825         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55826         * sysdeps/powerpc/test-gettimebase.c: Likewise.
55827         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55828         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55829         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55830         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55831         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55832         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55833         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55834         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55835         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55836         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55837         * sysdeps/x86_64/dl-tls.h: Likewise.
55838         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55839         * time/alt_digit.c: Likewise.
55840         * time/era.c: Likewise.
55841         * wcsmbs/tst-c16c32-1.c: Likewise.
55843 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55845         * math/libm-test.inc (struct test_sincos_data): New type.
55846         (RUN_TEST_LOOP_sincos): New macro.
55847         (sincos_test_data): New variable.
55848         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55850 2013-05-16  Richard Henderson  <rth@redhat.com>
55852         * math/atest-exp2.c (LIMB64): New macro.
55853         (CONSTSZ): New macro.
55854         (mp_exp1, mp_exp_m1, mp_log2): New variables.
55855         (hexdig): Move ...
55856         (print_mpn_fp): ... to function scope.
55857         (read_mpn_hex): Remove.
55858         (get_log2): Remove.
55859         (exp2_mpn): Use mp_log2.
55860         (main): Use mp_exp1.
55862 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55864         * math/libm-test.inc: Remove comment about not testing "inexact"
55865         exceptions.
55866         (INEXACT_EXCEPTION): New macro.
55867         (NO_INEXACT_EXCEPTION): Likewise.
55868         (INVALID_EXCEPTION_OK): Update value.
55869         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55870         (OVERFLOW_EXCEPTION_OK): Likewise.
55871         (UNDERFLOW_EXCEPTION_OK): Likewise.
55872         (IGNORE_ZERO_INF_SIGN): Likewise.
55873         (ERRNO_UNCHANGED): Likewise.
55874         (ERRNO_EDOM): Likewise.
55875         (ERRNO_ERANGE): Likewise.
55876         (test_exceptions): Handle testing "inexact" exceptions.
55877         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
55878         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
55879         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
55880         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
55881         INEXACT_EXCEPTION.
55882         (rint_towardzero_test_data): Likewise.
55883         (rint_downward_test_data): Likewise.
55884         (rint_upward_test_data): Likewise.
55886         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
55887         with OVERFLOW_EXCEPTION.
55888         (exp10_test_data): Likewise.
55889         (exp2_test_data): Likewise.
55890         (expm1_test_data): Likewise.
55891         (lgamma_test_data): Likewise.
55892         (pow_test_data): Likewise.
55893         (tgamma_test_data): Likewise.
55894         (yn_test_data): Remove duplicate test of overflow.
55896         * math/libm-test.inc (struct test_cc_c_data): New type.
55897         (RUN_TEST_LOOP_cc_c): New macro.
55898         (cpow_test_data): New variable.
55899         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
55901         * math/libm-test.inc (struct test_f_L_data): New type.
55902         (RUN_TEST_LOOP_f_L): New macro.
55903         (llrint_test_data): New variable.
55904         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
55905         (llrint_tonearest_test_data): New variable.
55906         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
55907         (llrint_towardzero_test_data): New variable.
55908         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
55909         (llrint_downward_test_data): New variable.
55910         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
55911         (llrint_upward_test_data): New variable.
55912         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
55913         (llround_test_data): New variable.
55914         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
55916 2013-05-13  Peter Collingbourne  <pcc@google.com>
55918         * math/atest-exp2.c (get_log2): Remove const attribute.
55920 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
55922         * math/libm-test.inc (struct test_f_l_data): New type.
55923         (RUN_TEST_LOOP_f_l): New macro.
55924         (lrint_test_data): New variable.
55925         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
55926         (lrint_tonearest_test_data): New variable.
55927         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
55928         (lrint_towardzero_test_data): New variable.
55929         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
55930         (lrint_downward_test_data): New variable.
55931         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
55932         (lrint_upward_test_data): New variable.
55933         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
55934         (lround_test_data): New variable.
55935         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
55937 2013-05-15  Peter Collingbourne  <pcc@google.com>
55939         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
55940         (EXTRACT_WORDS64) Use where appropriate.
55941         (INSERT_WORDS64) Likewise.
55943         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
55944         constraints with x constraints.
55945         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
55947         * malloc/obstack.c (_obstack_compat): Add initializer.
55949 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55951         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
55952         si_trapno and add si_addr_lsb to _sifields.sigfault.
55953         (si_trapno): Remove macro.
55954         (si_addr_lsb): Define new macro.
55955         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55957 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
55959         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
55960         instead of TEST_f_l.
55961         (llrint_test_tonearest): Likewise.
55962         (llrint_test_towardzero): Likewise.
55963         (llrint_test_downward): Likewise.
55964         (llrint_test_upward): Likewise.
55965         (llround_test): Likewise.
55967         * math/libm-test.inc (struct test_f_i_data): Add comment.
55968         (RUN_TEST_LOOP_f_b): New macro.
55969         (RUN_TEST_LOOP_f_b_tg): Likewise.
55970         (finite_test_data): New variable.
55971         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
55972         (isfinite_test_data): New variable.
55973         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55974         (isinf_test_data): New variable.
55975         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55976         (isnan_test_data): New variable.
55977         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55978         (isnormal_test_data): New variable.
55979         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55980         (issignaling_test_data): New variable.
55981         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55982         (signbit_test_data): New variable.
55983         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55985         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
55986         with INVALID_EXCEPTION.
55987         (acosh_test_data): Likewise.
55988         (asin_test_data): Likewise.
55989         (atanh_test_data): Likewise.
55990         (fmod_test_data): Likewise.
55991         (log_test_data): Likewise.
55992         (log10_test_data): Likewise.
55993         (log2_test_data): Likewise.
55994         (pow_test_data): Likewise.
55995         (sqrt_test_data): Likewise.
55996         (y0_test_data): Likewise.
55997         (y1_test_data): Likewise.
55998         (yn_test_data): Likewise.
56000         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56001         function contents.
56003         * math/libm-test.inc (struct test_ff_i_data): New type.
56004         (RUN_TEST_LOOP_ff_i_tg): New macro.
56005         (isgreater_test_data): New variable.
56006         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56007         (isgreaterequal_test_data): New variable.
56008         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56009         (isless_test_data): New variable.
56010         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56011         (islessequal_test_data): New variable.
56012         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56013         (islessgreater_test_data): New variable.
56014         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56015         (isunordered_test_data): New variable.
56016         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56018 2013-05-14  David S. Miller  <davem@davemloft.net>
56020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56022 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56024         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56026         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56027         extra_test to int.
56028         (struct test_f_i_data): Change type of max_ulp to int.
56030         * math/libm-test.inc (test_ffI_f1_data): New type.
56031         (RUN_TEST_LOOP_ffI_f1): New macro.
56032         (remquo_test_data): New variable.
56033         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56035         * setjmp/tst-setjmp-fp.c: New file.
56036         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56037         (link-libm): New variable.
56038         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56040         * math/libm-test.inc (struct test_f_i_data): New type.
56041         (RUN_TEST_LOOP_f_i): New macro.
56042         (RUN_TEST_LOOP_f_i_tg): Likewise.
56043         (fpclassify_test_data): New variable.
56044         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56045         (ilogb_test_data): New variable.
56046         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56048         * math/libm-test.inc (scalbln_test): Correct function name in END
56049         call.
56051         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56052         (RUN_TEST_LOOP_fI_f1): New macro.
56053         (frexp_test_data): New variable.
56054         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56056         * math/libm-test.inc (struct test_fF_f1_data): New type.
56057         (RUN_TEST_LOOP_fF_f1): New macro.
56058         (modf_test_data): New variable.
56059         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56061         * math/libm-test.inc (struct test_f_f1_data): New type.
56062         (RUN_TEST_LOOP_f_f1): New macro.
56063         (gamma_test_data): New variable.
56064         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56065         (lgamma_test_data): New variable.
56066         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56068 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56070         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56071         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56072         (main): Comment "tls" pseudo-hwcap.
56074 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56076         * math/libm-test.inc (struct test_fl_f_data): New type.
56077         (RUN_TEST_LOOP_fl_f): New variable.
56078         (scalbln_test_data): New variable.
56079         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56081         * math/libm-test.inc (struct test_fi_f_data): New type.
56082         (RUN_TEST_LOOP_fi_f): New macro.
56083         (ldexp_test_data): New variable.
56084         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56085         (scalbn_test_data): New variable.
56086         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56088         * math/libm-test.inc (struct test_c_f_data): New type.
56089         (RUN_TEST_LOOP_c_f): New macro.
56090         (cabs_test_data): New variable.
56091         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56092         (carg_test_data): New variable.
56093         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56094         (cimag_test_data): New variable.
56095         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56096         (creal_test_data): New variable.
56097         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56099         * math/libm-test.inc (struct test_if_f_data): New type.
56100         (RUN_TEST_LOOP_if_f): New macro.
56101         (jn_test_data): New variable.
56102         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56103         (yn_test_data): New variable.
56104         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56106         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56108 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56110         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56111         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56113 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56115         * benchtests/Makefile (CPPFLAGS-nonlib): Add
56116         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56117         (bench-deps): Add bench-timing.h.
56118         * benchtests-bench-skeleton.c: Include bench-timing.h.
56119         (main): Use TIMING_* macros instead of clock_gettime.
56120         * benchtests/bench-timing.h: New file.
56122         [BZ #14582]
56123         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56124         Renamed from _LIB_VERSION.
56125         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56127 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
56129         * math/libm-test.inc (struct test_fff_f_data): New type.
56130         (RUN_TEST_LOOP_fff_f): New macro.
56131         (fma_test_data): New variable.
56132         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56133         (fma_towardzero_test_data): New variable.
56134         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56135         (fma_downward_test_data): New variable.
56136         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56137         (fma_upward_test_data): New variable.
56138         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56140         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56141         (struct test_c_c_data): New type.
56142         (RUN_TEST_LOOP_c_c): New macro.
56143         (cacos_test_data): New variable.
56144         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56145         (cacosh_test_data): New variable.
56146         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56147         (casin_test_data): New variable.
56148         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56149         (casinh_test_data): New variable.
56150         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56151         (catan_test_data): New variable.
56152         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56153         (catanh_test_data): New variable.
56154         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56155         (ccos_test_data): New variable.
56156         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56157         (ccosh_test_data): New variable.
56158         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56159         (cexp_test_data): New variable.
56160         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56161         (clog_test_data): New variable.
56162         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56163         (clog10_test_data): New variable.
56164         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56165         (conj_test_data): New variable.
56166         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56167         (cproj_test_data): New variable.
56168         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56169         (csin_test_data): New variable.
56170         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56171         (csinh_test_data): New variable.
56172         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56173         (csqrt_test_data): New variable.
56174         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56175         (ctan_test_data): New variable.
56176         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56177         (ctan_tonearest_test_data): New variable.
56178         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56179         (ctan_towardzero_test_data): New variable.
56180         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56181         (ctan_downward_test_data): New variable.
56182         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56183         (ctan_upward_test_data): New variable.
56184         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56185         (ctanh_test_data): New variable.
56186         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56187         (ctanh_tonearest_test_data): New variable.
56188         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56189         (ctanh_towardzero_test_data): New variable.
56190         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56191         (ctanh_downward_test_data): New variable.
56192         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56193         (ctanh_upward_test_data): New variable.
56194         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56195         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56196         of BUILD_COMPLEX.
56198         * math/libm-test.inc (struct test_ff_f_data): New type.
56199         (struct test_ff_f_data_nexttoward): Likewise.
56200         (RUN_TEST_LOOP_2_f): New macro.
56201         (RUN_TEST_LOOP_ff_f): Likewise.
56202         (atan2_test_data): New variable.
56203         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56204         (copysign_test_data): New variable.
56205         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56206         (fdim_test_data): New variable.
56207         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56208         (fmax_test_data): New variable.
56209         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56210         (fmin_test_data): New variable.
56211         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56212         (fmod_test_data): New variable.
56213         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56214         (hypot_test_data): New variable.
56215         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56216         (nextafter_test_data): New variable.
56217         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56218         (nexttoward_test_data): New variable.
56219         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56220         (pow_test_data): New variable.
56221         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56222         (pow_tonearest_test_data): New variable.
56223         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56224         (pow_towardzero_test_data): New variable.
56225         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56226         (pow_downward_test_data): New variable.
56227         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56228         (pow_upward_test_data): New variable.
56229         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56230         (remainder_test_data): New variable.
56231         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56232         (scalb_test_data): New variable.
56233         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56234         * sysdeps/i386/fpu/libm-test-ulps: Update.
56236 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
56238         * math/libm-test.inc (fma_test): Use max_value instead of local
56239         variable fltmax.
56240         (nextafter_test): Likewise.
56242         * math/libm-test.inc (acos_towardzero_test_data): New variable.
56243         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56244         (acos_downward_test_data): New variable.
56245         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56246         (acos_upward_test_data): New variable.
56247         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56248         (acosh_test_data): New variable.
56249         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56250         (asin_test_data): New variable.
56251         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56252         (asin_tonearest_test_data): New variable.
56253         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56254         (asin_towardzero_test_data): New variable.
56255         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56256         (asin_downward_test_data): New variable.
56257         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56258         (asin_upward_test_data): New variable.
56259         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56260         (asinh_test_data): New variable.
56261         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56262         (atan_test_data): New variable.
56263         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56264         (atanh_test_data): New variable.
56265         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56266         (cbrt_test_data): New variable.
56267         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56268         (ceil_test_data): New variable.
56269         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56270         (cos_test_data): New variable.
56271         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56272         (cos_tonearest_test_data): New variable.
56273         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56274         (cos_towardzero_test_data): New variable.
56275         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56276         (cos_downward_test_data): New variable.
56277         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56278         (cos_upward_test_data): New variable.
56279         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56280         (cosh_test_data): New variable.
56281         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56282         (cosh_tonearest_test_data): New variable.
56283         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56284         (cosh_towardzero_test_data): New variable.
56285         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56286         (cosh_downward_test_data): New variable.
56287         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56288         (cosh_upward_test_data): New variable.
56289         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56290         (erf_test_data): New variable.
56291         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56292         (erfc_test_data): New variable.
56293         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56294         (exp_test_data): New variable.
56295         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56296         (exp_tonearest_test_data): New variable.
56297         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56298         (exp_towardzero_test_data): New variable.
56299         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56300         (exp_downward_test_data): New variable.
56301         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56302         (exp_upward_test_data): New variable.
56303         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56304         (exp10_test_data): New variable.
56305         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56306         (exp2_test_data): New variable.
56307         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56308         (expm1_test_data): New variable.
56309         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56310         (fabs_test_data): New variable.
56311         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56312         (floor_test_data): New variable.
56313         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56314         (j0_test_data): New variable.
56315         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56316         (j1_test_data): New variable.
56317         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56318         (log_test_data): New variable.
56319         (log_test): Run tests with RUN_TEST_LOOP_f_f.
56320         (log10_test_data): New variable.
56321         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56322         (log1p_test_data): New variable.
56323         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56324         (log2_test_data): New variable.
56325         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56326         (logb_test_data): New variable.
56327         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56328         (logb_downward_test_data): New variable.
56329         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56330         (nearbyint_test_data): New variable.
56331         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56332         (rint_test_data): New variable.
56333         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56334         (rint_tonearest_test_data): New variable.
56335         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56336         (rint_towardzero_test_data): New variable.
56337         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56338         (rint_downward_test_data): New variable.
56339         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56340         (rint_upward_test_data): New variable.
56341         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56342         (round_test_data): New variable.
56343         (round_test): Run tests with RUN_TEST_LOOP_f_f.
56344         (sin_test_data): New variable.
56345         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56346         (sin_tonearest_test_data): New variable.
56347         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56348         (sin_towardzero_test_data): New variable.
56349         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56350         (sin_downward_test_data): New variable.
56351         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56352         (sin_upward_test_data): New variable.
56353         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56354         (sinh_test_data): New variable.
56355         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56356         (sinh_tonearest_test_data): New variable.
56357         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56358         (sinh_towardzero_test_data): New variable.
56359         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56360         (sinh_downward_test_data): New variable.
56361         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56362         (sinh_upward_test_data): New variable.
56363         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56364         (sqrt_test_data): New variable.
56365         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56366         (tan_test_data): New variable.
56367         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56368         (tan_tonearest_test_data): New variable.
56369         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56370         (tan_towardzero_test_data): New variable.
56371         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56372         (tan_downward_test_data): New variable.
56373         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56374         (tan_upward_test_data): New variable.
56375         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56376         (tanh_test_data): New variable.
56377         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56378         (tgamma_test_data): New variable.
56379         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56380         (trunc_test_data): New variable.
56381         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56382         (y0_test_data): New variable.
56383         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56384         (y1_test_data): New variable.
56385         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56386         (significand_test_data): New variable.
56387         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56389 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
56391         [BZ #12387]
56392         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56394 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56396         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56398 2013-05-10  Andreas Jaeger  <aj@suse.de>
56400         [BZ #15448]
56401         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56402         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56404 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56406         * math/gen-libm-test.pl (adjust_arg): New function.
56407         (special_functions): Handle generating output in both functions
56408         and arrays.
56409         (parse_args): Likewise.
56410         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
56411         $in_func argument to parse_args.
56412         * math/libm-test.inc (struct test_f_f_data): New type.
56413         (IF_ROUND_INIT_): New macro.
56414         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56415         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56416         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56417         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56418         (ROUND_RESTORE_): Likewise.
56419         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56420         (ROUND_RESTORE_FE_TONEAREST): Likewise.
56421         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56422         (ROUND_RESTORE_FE_UPWARD): Likewise.
56423         (RUN_TEST_LOOP_f_f): New macro.
56424         (acos_test_data): New variable.
56425         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56426         (acos_tonearest_test_data): New variable.
56427         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56429 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56431         * benchtests/bench-skeleton.c (startup): Fix coding style.
56433 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56435         [BZ #6809]
56436         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56437         negative infinity argument.
56438         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56439         negative infinity argument.
56440         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56441         negative infinity argument.
56442         * math/libm-test.inc (tgamma_test): Expect errno to be set for
56443         domain errors.
56445 2013-05-10  Florian Weimer  <fweimer@redhat.com>
56447         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56448         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56449         * iconv/iconv_prog.c (main): Likewise.
56450         * locale/programs/charmap-dir.c (charmap_readdir)
56451         (fopen_uncompressed): Likewise.
56452         * locale/programs/locfile.c (siblings_uncached)
56453         (write_locale_data): Use lstat64 instead of lstat.
56454         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56455         stat.
56457 2013-05-10  Andreas Jaeger  <aj@suse.de>
56459         [BZ #15395]
56460         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56461         localization.
56462         Include <locale.h>.
56464 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
56466         * elf/dl-close.c (_dl_close_worker): Add comments.
56468 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
56470         [BZ #15359]
56471         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56472         high part of pi/2.
56473         (__ieee754_rem_pio2l): Update comments.
56475         [BZ #15429]
56476         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56477         high part of pi/2.
56478         (__ieee754_rem_pio2l): Update comments.
56480         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56481         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56483         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56484         M_PI_4l.
56486         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56487         (M_PI_34_LOG10El): Likewise.
56488         (M_PI2_LOG10El): Likewise.
56489         (M_PI4_LOG10El): Likewise.
56490         (M_PI_LOG10El): Likewise.
56492 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56496 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
56498         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56499         (MINUS_ZERO_INIT): Likewise.
56500         (PLUS_INFTY_INIT): Likewise.
56501         (MINUS_INFTY_INIT): Likewise.
56502         (QNAN_VALUE_INIT): Likewise.
56503         (MAX_VALUE_INIT): Likewise.
56504         (MIN_VALUE_INIT): Likewise.
56505         (MIN_SUBNORM_VALUE_INIT): Likewise.
56506         (plus_zero): Initialize with PLUS_ZERO_INIT.
56507         (minus_zero): Initialize with MINUS_ZERO_INIT.
56508         (plus_infty): Initialize with PLUS_INFTY_INIT.
56509         (minus_infty): Initialize with MINUS_INFTY_INIT.
56510         (qnan_value): Initialize with QNAN_VALUE_INIT.
56511         (max_value): Initialize with MAX_VALUE_INIT.
56512         (min_value): Initialize with MIN_VALUE_INIT.
56513         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56515         * math/libm-test.inc (RUN_TEST_if_f): New macro.
56516         (jn_test): Use TEST_if_f instead of TEST_ff_f.
56517         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56518         (yn_test): Use TEST_if_f instead of TEST_ff_f.
56520         * math/libm-test.inc (RUN_TEST_f_f): New macro.
56521         (RUN_TEST_2_f): Likewise.
56522         (RUN_TEST_ff_f): Likewise.
56523         (RUN_TEST_fi_f): Likewise.
56524         (RUN_TEST_fl_f): Likewise.
56525         (RUN_TEST_fff_f): Likewise.
56526         (RUN_TEST_c_f): Likewise.
56527         (RUN_TEST_f_f1): Likewise.
56528         (RUN_TEST_fF_f1): Likewise.
56529         (RUN_TEST_fI_f1): Likewise.
56530         (RUN_TEST_ffI_f1): Likewise.
56531         (RUN_TEST_c_c): Likewise.
56532         (RUN_TEST_cc_c): Likewise.
56533         (RUN_TEST_f_i): Likewise.
56534         (RUN_TEST_f_i_tg): Likewise.
56535         (RUN_TEST_ff_i_tg): Likewise.
56536         (RUN_TEST_f_b): Likewise.
56537         (RUN_TEST_f_b_tg): Likewise.
56538         (RUN_TEST_f_l): Likewise.
56539         (RUN_TEST_f_L): Likewise.
56540         (RUN_TEST_sincos): Likewise.
56541         * math/gen-libm-test.pl (new_test): Take new argument to indicate
56542         whether to show exceptions.  Do not include ");\n" in return
56543         value.
56544         (special_functions): Output call to RUN_TEST_sincos instead of
56545         check_float calls.  Update calls to new_test.
56546         (parse_args): Output call to single RUN_TEST_* macro instead of
56547         check_* calls and other assignments.  Update calls to new_test.
56549         [BZ #2546]
56550         [BZ #2560]
56551         [BZ #5159]
56552         [BZ #15426]
56553         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56554         input to result for tgamma overflow.
56555         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56556         (gamma_coeff): New variable.
56557         (NCOEFF): New macro.
56558         (gamma_positive): New function.
56559         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56560         underflow here.  Use gamma_positive instead of exp (lgamma) for
56561         other arguments.
56562         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56563         (gamma_coeff): New variable.
56564         (NCOEFF): New macro.
56565         (gammaf_positive): New function.
56566         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56567         underflow here.  Use gamma_positive instead of exp (lgamma) for
56568         other arguments.
56569         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56570         (gamma_coeff): New variable.
56571         (NCOEFF): New macro.
56572         (gammal_positive): New function.
56573         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56574         underflow here.  Use gamma_positive instead of exp (lgamma) for
56575         other arguments.
56576         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56577         (gamma_coeff): New variable.
56578         (NCOEFF): New macro.
56579         (gammal_positive): New function.
56580         (__ieee754_gammal_r): Handle positive infinity, overflow and
56581         underflow here.  Handle NaN the same as positive infinity.  Remove
56582         check x < 0xffffffff for negative integers.  Use gamma_positive
56583         instead of exp (lgamma) for other arguments.
56584         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56585         (gamma_coeff): New variable.
56586         (NCOEFF): New macro.
56587         (gammal_positive): New function.
56588         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56589         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56590         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56591         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56592         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56593         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56594         * sysdeps/generic/math_private.h (__gamma_productf): New
56595         prototype.
56596         (__gamma_product): Likewise.
56597         (__gamma_productl): Likewise.
56598         * math/Makefile (libm-calls): Add gamma_product.
56599         * math/libm-test.inc (tgamma_test): Add more tests.
56600         * sysdeps/i386/fpu/libm-test-ulps: Update.
56601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56603 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
56605         * benchtests/bench-skeleton.c (main): Preheat CPU.
56607 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
56609         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56611 2013-05-07  Roland McGrath  <roland@hack.frob.com>
56613         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56614         and _dl_skip_args_internal.
56616 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
56618         * manual/message.texi (Message Translation): Talk about users.
56619         Message to key mapping impacts design.
56621 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56623         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56625         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56627         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56628         * sysdeps/wordsize-64/glob64.c: ... here.
56630         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56631         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56632         New macros.
56634         * debug/getlogin_r_chk.c: Moved to ...
56635         * login/getlogin_r_chk.c: ... here.
56636         * debug/Makefile (routines): Move getlogin_r_chk to ...
56637         * login/Makefile (routines): ... here.
56638         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56639         * login/Versions (libc: GLIBC_2.4): ... here.
56641         * io/poll.c (__poll): Renamed from poll.
56642         Add libc_hidden_def.
56643         (poll): Define as weak alias.
56645         * debug/ptsname_r_chk.c: Moved to ...
56646         * login/ptsname_r_chk.c: ... here.
56647         * debug/Makefile (routines): Move ptsname_r_chk to ...
56648         * login/Makefile (routines): ... here.
56649         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56650         * login/Versions (libc: GLIBC_2.4): ... here.
56652         * posix/getlogin.c: Moved to ...
56653         * login/getlogin.c: ... here.
56654         * posix/getlogin_r.c: Moved to ...
56655         * login/getlogin_r.c: ... here.
56656         * posix/getlogin_r.c: Moved to ...
56657         * login/getlogin_r.c: ... here.
56658         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56659         * login/Makefile (routines): ... here.
56660         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56661         * login/Versions (libc: GLIBC_2.0): ... here.
56663         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56664         (setrlimit): Define as weak alias.
56666         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56667         Call __ names for open, ftruncate, and close.
56668         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56669         (truncate): Define as weak alias.
56671 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
56673         * math/gen-libm-test.pl (parse_args): Initialize x before each
56674         test of frexp, modf and remquo.
56676         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56677         test signgam value.
56679 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56681         [BZ #15418]
56682         [BZ #15419]
56683         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56684         internal tests.
56685         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56687 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56689         * elf/dl-writev.h: New file.
56690         * elf/dl-misc.c: Include it.
56691         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56692         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56694 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
56696         * math/libm-test.inc (noXFails): Remove variable.
56697         (noXPasses): Likewise.
56698         (BUILD_COMPLEX_INT): Remove macro.
56699         (print_screen): Remove xfail argument.
56700         (print_screen_max_error): Likewise.
56701         (update_stats): Likewise.
56702         (print_max_error): Likewise.  Update calls to other affected
56703         functions.
56704         (print_complex_max_error): Likewise.
56705         (test_single_exception): Update calls to print_screen.
56706         (test_single_errno): Likewise.
56707         (check_float_internal): Remove xfail argument.  Update calls to
56708         other affected functions.
56709         (check_float): Likewise.
56710         (check_complex): Likewise.
56711         (check_int): Likewise.
56712         (check_long): Likewise.
56713         (check_bool): Likewise.
56714         (check_longlong): Likewise.
56715         (main): Don't print noXFails and noXPasses.
56716         * math/gen-libm-test.pl (top level): Don't mention expected
56717         failure handling in comment.
56718         (new_test): Don't handle expected failures.
56719         (parse_args): Don't mention expected failure handling in comment.
56720         (generate_testfile): Don't handle expected failures.
56721         (parse_ulps): Likewise.
56722         (print_ulps_file): Likewise.
56723         (get_failure): Remove function.
56724         (output_test): Don't handle expected failures.
56725         * make/README.libm-test: Don't mention expected failure handling.
56727         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
56728         (minus_zero): Likewise.
56729         (plus_infty): Likewise.
56730         (minus_infty): Likewise.
56731         (qnan_value): Likewise.
56732         (max_value): Likewise.
56733         (min_value): Likewise.
56734         (min_subnorm_value): Likewise.
56735         (initialize): Do not initialize those variables dynamically.
56737 2013-05-03  Roland McGrath  <roland@hack.frob.com>
56739         * io/open.c (__open_2): Moved to ...
56740         * io/open_2.c: ... this new file.
56741         * io/open64.c (__open64_2): Moved to ...
56742         * io/open64_2.c: ... this new file.
56743         * io/openat.c (__openat_2): Moved to ...
56744         * io/openat_2.c: ... this new file.
56745         * io/openat64.c (__openat64_2): Moved to ...
56746         * io/openat64_2.c: ... this new file.
56747         * io/Makefile (routines): Add them.
56748         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56749         * sysdeps/unix/sysv/linux/open_2.c: File removed.
56750         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56751         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56752         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56753         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56754         (__openat64): Add hidden_ver.
56755         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56756         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56758         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56759         Separately conditionalize setting of GLRO(dl_sysinfo) so
56760         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56761         as well, but the actual setting is only under [NEED_DL_SYSINFO].
56763 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56765         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56767         definition.
56768         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56769         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56770         (_libc_vdso_platform_setup): Add __vdso_time initialization.
56771         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56772         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56774 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
56776         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56777         test signgam value.
56779         * math/libm-test.inc (hypot_test): Do not use
56780         IGNORE_ZERO_INF_SIGN.
56782 2013-05-03  Andreas Jaeger  <aj@suse.de>
56784         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56785         Linux 3.9.
56786         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56787         (PF_MAX): Adjust for VSOCK change.
56789 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56793 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
56795         [BZ #15264]
56796         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56797         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56798         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56800 2013-05-02  David S. Miller  <davem@davemloft.net>
56802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56804 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
56806         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56808 2013-05-01  Roland McGrath  <roland@hack.frob.com>
56810         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56812 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
56814         [BZ #14952]
56815         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56816         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56817         Use __attribute__ ((__gnu_inline__)).
56818         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56819         Don't use __attribute__ ((__gnu_inline__)).
56821 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
56823         [BZ #15423]
56824         * math/s_catan.c (__catan): Handle small real or imaginary part of
56825         input specially to avoid spurious underflow.
56826         * math/s_catanf.c (__catanf): Likewise.
56827         * math/s_catanh.c (__catanh): Likewise.
56828         * math/s_catanhf.c (__catanhf): Likewise.
56829         * math/s_catanhl.c (__catanhl): Likewise.
56830         * math/s_catanl.c (__catanl): Likewise.
56831         * math/libm-test.inc (catan_test): Add more tests.
56832         (catanh_test): Likewise.
56833         * sysdeps/i386/fpu/libm-test-ulps: Update.
56834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56836 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56840 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
56842         [BZ #15416]
56843         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56844         accurately for denominator in atan2.
56845         * math/s_catanf.c (__catanf): Likewise.
56846         * math/s_catanh.c (__catanh): Likewise.
56847         * math/s_catanhf.c (__catanhf): Likewise.
56848         * math/s_catanhl.c (__catanhl): Likewise.
56849         * math/s_catanl.c (__catanl): Likewise.
56850         * math/libm-test.inc (catan_test): Add more tests.
56851         (catanh_test): Likewise.
56852         * sysdeps/i386/fpu/libm-test-ulps: Update.
56853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56855 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56857         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56859         * benchtests/Makefile (bench): Remove slow benchmarks.
56860         * benchtests/atan-inputs: Add slow benchmark inputs.
56861         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56862         (BENCH_FUNC): Accept variant offset.
56863         (VARIANT): Define.
56864         * benchtests/bench-skeleton.c (main): Run benchmark for each
56865         variant.
56866         * benchtests/cos-inputs: Add slow benchmark inputs.
56867         * benchtests/exp-inputs: Likewise.
56868         * benchtests/pow-inputs: Likewise.
56869         * benchtests/sin-inputs: Likewise.
56870         * benchtests/slowatan-inputs: Remove.
56871         * benchtests/slowatan.c: Remove.
56872         * benchtests/slowcos-inputs: Remove.
56873         * benchtests/slowcos.c: Remove.
56874         * benchtests/slowexp-inputs: Remove.
56875         * benchtests/slowexp.c: Remove.
56876         * benchtests/slowpow-inputs: Remove.
56877         * benchtests/slowpow.c: Remove.
56878         * benchtests/slowsin-inputs: Remove.
56879         * benchtests/slowsin.c: Remove.
56880         * benchtests/slowtan-inputs: Remove.
56881         * benchtests/slowtan.c: Remove.
56882         * benchtests/tan-inputs: Add slow benchmark inputs.
56883         * scripts/bench.pl: Parse comments and directives.
56885         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
56886         in CPPFLAGS.
56887         ($(objpfx)bench-%.c): Remove *-ITER.
56888         * benchtests/bench-modf.c: Remove definition of ITER.
56889         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
56890         (main): Loop for DURATION seconds instead of fixed number of
56891         iterations.
56892         * scripts/bench.pl: Don't expect iterations in parameters.
56894 2013-04-29  Roland McGrath  <roland@hack.frob.com>
56896         * io/fchdir.c (__fchdir): Renamed from fchdir.
56897         (fchdir): Define as weak alias.
56899 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
56901         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
56902         (ERRNO_EDOM): Likewise.
56903         (ERRNO_ERANGE): Likewise.
56904         (noErrnoTests): New variable.
56905         (init_max_error): Set errno to 0.
56906         (test_single_errno): New function.
56907         (test_errno): Likewise.
56908         (check_float_internal): Call test_errno.  Set errno to 0.
56909         (check_complex): Refer to errno tests in comment.
56910         (check_int): Call test_errno.  Set errno to 0.
56911         (check_long): Likewise.
56912         (check_bool): Likewise.
56913         (check_longlong): Likewise.
56914         (cos_test): Use ERRNO_* flags for errno tests instead of
56915         check_int.
56916         (expm1_test): Likewise.
56917         (fmod_test): Likewise.
56918         (ilogb_test): Likewise.
56919         (lgamma_test): Likewise.
56920         (pow_test): Likewise.
56921         (remainder_test): Likewise.
56922         (sin_test): Likewise.
56923         (tan_test): Likewise.
56924         (yn_test): Likewise.
56925         (initialize): Set errno to 0.
56926         (main): Print number of errno tests.
56927         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
56929 2013-04-29  Andreas Jaeger  <aj@suse.de>
56931         [BZ #15084]
56932         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
56933         and RES_USEVC.
56935         [BZ #15085]
56936         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
56937         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
56938         unimplemented.
56940         [BZ #15380]
56941         * stdlib/random.c (__initstate): Return NULL if
56942         __initstate fails.
56944         [BZ #15086]
56945         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
56946         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
56947         RES_SNGLKUPREOP.
56949 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56953 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
56955         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
56956         of individual tests.
56957         (casin_test): Likewise.
56958         (casinh_test): Likewise.
56960 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
56962         [BZ #15409]
56963         * math/s_catan.c (__catan): Handle arguments with large real or
56964         imaginary part separately without squaring.
56965         * math/s_catanf.c (__catanf): Likewise.
56966         * math/s_catanh.c (__catanh): Likewise.
56967         * math/s_catanhf.c (__catanhf): Likewise.
56968         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
56969         and redefine.
56970         (__catanhl): Handle arguments with large real or imaginary part
56971         separately without squaring.
56972         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
56973         and redefine.
56974         (__catanl): Handle arguments with large real or imaginary part
56975         separately without squaring.
56976         * math/libm-test.inc (catan_test): Add more tests.
56977         (catanh_test): Likewise.
56978         * sysdeps/i386/fpu/libm-test-ulps: Update.
56979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56981 2013-04-27  Andreas Jaeger  <aj@suse.de>
56983         [BZ #15007]
56984         * stdlib/stdlib.h: Update guards for qecvt.
56985         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
56986         <stdlib.h>.
56988 2013-04-27  Allan McRae  <allan@archlinux.org>
56990         * sysdeps/i386/fpu/libm-test-ulps: Update.
56992 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
56994         [BZ #15406]
56995         * math/s_catan.c: Include <float.h>.
56996         (__catan): Ensure underflow exception occurs for underflowed
56997         result.
56998         * math/s_catanf.c: Include <float.h>.
56999         (__catanf): Ensure underflow exception occurs for underflowed
57000         result.
57001         * math/s_catanh.c: Include <float.h>.
57002         (__catanh): Ensure underflow exception occurs for underflowed
57003         result.
57004         * math/s_catanhf.c: Include <float.h>.
57005         (__catanhf): Ensure underflow exception occurs for underflowed
57006         result.
57007         * math/s_catanhl.c: Include <float.h>.
57008         (__catanhl): Ensure underflow exception occurs for underflowed
57009         result.
57010         * math/s_catanl.c: Include <float.h>.
57011         (__catanl): Ensure underflow exception occurs for underflowed
57012         result.
57013         * math/libm-test.inc (catan_test): Add more tests.
57014         (catanh_test): Likewise.
57016         [BZ #15405]
57017         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57018         underflowed result.
57019         * math/s_ccoshf.c (__ccoshf): Likewise.
57020         * math/s_ccoshl.c (__ccoshl): Likewise.
57021         * math/s_csin.c (__csin): Likewise.
57022         * math/s_csinf.c (__csinf): Likewise.
57023         * math/s_csinh.c (__csinh): Likewise.
57024         * math/s_csinhf.c (__csinhf): Likewise.
57025         * math/s_csinhl.c (__csinhl): Likewise.
57026         * math/s_csinl.c (__csinl): Likewise.
57027         * math/libm-test.inc (ccos_test): Add more tests.
57028         (ccosh_test): Likewise.
57029         (csin_test): Likewise.
57030         (csinh_test): Likewise.
57032 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57034         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57035         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57036         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57037         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57038         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57039         powerpc/power5+/fpu folders.
57040         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57043 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57047 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57049         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57050         additions to variable.
57051         [$(config-machine) = x86_64] (modules-names): Likewise.
57052         ($(objpfx)tst-audit3): Remove dependency.
57053         ($(objpfx)tst-audit3.out): Likewise.
57054         ($(objpfx)tst-audit4): Likewise.
57055         ($(objpfx)tst-audit4.out): Likewise.
57056         ($(objpfx)tst-audit5): Likewise.
57057         ($(objpfx)tst-audit5.out): Likewise.
57058         ($(objpfx)tst-audit6): Likewise.
57059         ($(objpfx)tst-audit6.out): Likewise.
57060         ($(objpfx)tst-audit7): Likewise.
57061         ($(objpfx)tst-audit7.out): Likewise.
57062         (tst-audit3-ENV): Remove variable.
57063         (tst-audit4-ENV): Likewise.
57064         (tst-audit5-ENV): Likewise.
57065         (tst-audit6-ENV): Likewise.
57066         (tst-audit7-ENV): Likewise.
57067         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57068         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57069         addition to variable.
57070         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57071         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57072         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57073         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57074         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57075         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57076         tst-audit3, tst-audit4 and tst-audit5.
57077         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57078         tst-audit6 and tst-audit7.
57079         [$(subdir) = elf] (modules-names): Add audit modules for those
57080         tests.
57081         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57082         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57083         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57084         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57085         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57086         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57087         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57088         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57089         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57090         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57091         [$(subdir) = elf] (tst-audit3-ENV): New variable.
57092         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57093         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57094         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57095         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57096         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57097         Likewise.
57098         [$(subdir) = elf && $(config-cflags-avx) = yes]
57099         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57100         [$(subdir) = elf && $(config-cflags-avx) = yes]
57101         (CFLAGS-tst-auditmod4a.c): Likewise.
57102         [$(subdir) = elf && $(config-cflags-avx) = yes]
57103         (CFLAGS-tst-auditmod4b.c): Likewise.
57104         [$(subdir) = elf && $(config-cflags-avx) = yes]
57105         (CFLAGS-tst-auditmod6b.c): Likewise.
57106         [$(subdir) = elf && $(config-cflags-avx) = yes]
57107         (CFLAGS-tst-auditmod6c.c): Likewise.
57108         [$(subdir) = elf && $(config-cflags-avx) = yes]
57109         (CFLAGS-tst-auditmod7b.c): Likewise.
57110         * elf/tst-audit3.c: Move to ...
57111         * sysdeps/x86_64/tst-audit3.c: ... here.
57112         * elf/tst-audit4.c: Move to ...
57113         * sysdeps/x86_64/tst-audit4.c: ... here.
57114         * elf/tst-audit5.c: Move to ...
57115         * sysdeps/x86_64/tst-audit5.c: ... here.
57116         * elf/tst-audit6.c: Move to ...
57117         * sysdeps/x86_64/tst-audit6.c: ... here.
57118         * elf/tst-audit7.c: Move to ...
57119         * sysdeps/x86_64/tst-audit7.c: ... here.
57120         * elf/tst-auditmod3a.c: Move to ...
57121         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57122         * elf/tst-auditmod3b.c: Move to ...
57123         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57124         * elf/tst-auditmod4a.c: Move to ...
57125         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57126         * elf/tst-auditmod4b.c: Move to ...
57127         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57128         * elf/tst-auditmod5a.c: Move to ...
57129         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57130         * elf/tst-auditmod5b.c: Move to ...
57131         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57132         * elf/tst-auditmod6a.c: Move to ...
57133         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57134         * elf/tst-auditmod6b.c: Move to ...
57135         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57136         * elf/tst-auditmod6c.c: Move to ...
57137         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57138         * elf/tst-auditmod7a.c: Move to ...
57139         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57140         * elf/tst-auditmod7b.c: Move to ...
57141         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57143 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
57145         [BZ #15366]
57146         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57147         define unconditionally.
57148         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57149         define unconditionally.
57150         (INT8_C, INT16_C, etc.): Likewise.
57152 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
57154         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57155         __ehdr_start with hidden visibility.
57157         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57159 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
57161         * math/libm-test.inc (cos_test): Use accurate hex constants.
57162         (sincost_test): Likewise.
57164 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
57166         * math/libm-test.inc (catan_test): Add more tests.
57167         (catanh_test): Likewise.
57169         * math/s_catanf.c (__catanf): Use suffixed floating-point
57170         constants.
57171         * math/s_catanhf.c (__catanhf): Likewise.
57172         * math/s_catanhl.c (__catanhl): Likewise.
57173         * math/s_catanl.c (__catanl): Likewise.
57175         [BZ #15394]
57176         * math/s_catan.c (__catan): Calculate imaginary part of result
57177         with log1p not log unless computing log of number close to 0.
57178         * math/s_catanf.c (__catanf): Likewise.
57179         * math/s_catanl.c (__catanl): Likewise.
57180         * math/s_catanh.c (__catanh): Calculate real part of result with
57181         log1p not log unless computing log of number close to 0.
57182         * math/s_catanhf.c (__catanhf): Likewise.
57183         * math/s_catanhl.c (__catanhl): Likewise.
57184         * math/libm-test.inc (catan_test): Add more tests.
57185         (catanh_test): Likewise.
57186         * sysdeps/i386/fpu/libm-test-ulps: Update.
57187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57189 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57191         * benchtests/Makefile: Mention files in which fast and slow
57192         paths of math functions are implemented.
57194 2013-04-23  Roland McGrath  <roland@hack.frob.com>
57196         * sysdeps/posix/timespec_get.c: New file.
57198 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57200         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57201         POWER.
57202         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57203         for POWER.
57204         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57205         powerpc/power5/fpu folders.
57206         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57207         * benchtests/Makefile: Add modf testcase.
57208         * benchtests/bench-modf.c: New file: Benchmark test for mo
57210 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57212         [BZ #14888]
57213         * time/Makefile (tests): Add tst-strptime-whitespace.
57214         * time/strptime_l.c (get_number): Use ISSPACE.
57215         (__strptime_internal): Likewise.
57216         * time/tst-strptime-whitespace.c: New test case.
57218 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
57220         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57221         member.
57222         (_nss_files_init): Set it here.
57224 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
57226         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57227         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57228         unsigned.
57230 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
57232         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57234 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57236         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57237         size just once.
57239 2013-04-21  David S. Miller  <davem@davemloft.net>
57241         * po/ru.po: Update Russion translation from translation project.
57243 2013-04-17  Adam Conrad  <adconrad@0c3.net>
57245         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57246         and setfsgid.
57248 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
57250         * configure.in: Remove i386 configure warning. Remove i386 case.
57251         * configure: Regenerate.
57252         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57253         Add example to error message.
57254         * sysdeps/i386/configure: Regenerate.
57256 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57258         * benchtests/Makefile (bench): Add cos, tan, slowcos and
57259         slowtan.
57260         * benchtests/cos-inputs: New file.
57261         * benchtests/slowcos-inputs: New file.
57262         * benchtests/slowcos.c: New file.
57263         * benchtests/slowtan-inputs: New file.
57264         * benchtests/slowtan.c: New file.
57265         * benchtests/tan-inputs: New file.
57267 2013-04-16  Roland McGrath  <roland@hack.frob.com>
57269         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57270         considered kosher.
57272 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57274         * benchtests/Makefile: Include cppflags-iterator.mk to add
57275         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57277         * Makefile.in (bench-clean): New target.
57278         * benchtests/Makefile (bench-clean): Likewise.
57280 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
57282         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57284 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
57286         * stdio-common/tstdiomisc.c: Fix coding-style violation.
57288 2013-04-15  Andreas Schwab  <schwab@suse.de>
57290         * nscd/grpcache.c (cache_addgr): Properly check for short write.
57291         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57292         * nscd/pwdcache.c (cache_addpw): Likewise.
57293         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
57294         more than recsize.
57296 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57298         * benchtests/Makefile (bench): Write all output to
57299         bench-out.tmp together.
57301 2013-04-15  Andreas Schwab  <schwab@suse.de>
57303         * nscd/nscd.c (main): Don't fork again after closing files.
57305 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57307         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57309         * benchtests/Rules (bench-deps): Collect dependencies into a
57310         single variable.  Add Makefile to dependencies.
57311         ($(objpfx)bench-%.c): Depend on bench-deps.
57313 2013-04-12  Roland McGrath  <roland@hack.frob.com>
57314             Xavier Roche  <roche+kml2@exalead.com>
57316         [BZ #15361]
57317         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57318         just that it's a file descriptor.
57319         * manual/llio.texi (Synchronizing AIO Operations): Update description
57320         for EBADF error from aio_fsync.
57322 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57324         * Rules (bench): Move target definition...
57325         * benchtests/Makefile: ... here.
57327 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
57329         * math/libm-test.inc (cos_test): Fix PI/2 test.
57330         (sincos_test): Likewise.
57331         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57332         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57334 2013-04-11  Andreas Schwab  <schwab@suse.de>
57336         [BZ #13988]
57337         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57338         accept exponent character only when digits were seen.
57339         * stdio-common/Makefile (tests): Add bug26.
57340         * stdio-common/bug26.c: New file.
57342         [BZ #14293]
57343         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57344         non-freeable.
57346 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57348         * Makeconfig (rtld-prefix): Define built linker prefix.
57349         * Rules (run-bench): Use it.
57350         * math/Makefile (run-regen-ulps): Likewise.
57352         * Rules (bench): Remove eval.
57354 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57355             Roland McGrath  <roland@hack.frob.com>
57356             Ondrej Bilka  <neleai@seznam.cz>
57358         [BZ #15346]
57359         * time/getdate.c: Include ctype.h and alloca.h.
57360         (__getdate_r): Trim leading and trailing spaces of input.
57361         * time/tst-getdate.c (tests): Add tests with leading and
57362         trailing spaces.
57364 2013-04-08  Roland McGrath  <roland@hack.frob.com>
57366         [BZ #14280]
57367         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57368         when computing value.
57370 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57372         * math/README.libm-test (How can I generate "libm-test-ulps"?):
57373         Use testrun.sh to run libm tests.
57375         [BZ #15309]
57376         * elf/dl-open.c (dl_open_worker): memset all of seen array.
57378 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
57380         [BZ #15264]
57381         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57383 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57385         * Makefile.in (regen-ulps): New target.
57386         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57387         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57388         [ifneq (no,$(PERL)] (regen-ulps): New target.
57389         [ifeq (no,$(PERL)] (regen-ulps): New target.
57390         * math/libm-test.inc (ulps_file_name): Define.
57391         (output_dir): New variable.
57392         (options): Add "output-dir" option.
57393         (parse_opt): Handle 'o' case.
57394         (main): If output_dir is non-NULL use it as a prefix
57395         otherwise use "".
57396         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57398 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57400         [BZ #10060, #10062]
57401         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57402         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57403         fail configure if __sync_val_compare_and_swap is not inlined.
57404         * sysdeps/i386/configure: Regenerate.
57405         * configure.in: Build for i686 when configured for i386.
57406         * configure: Regenerate.
57407         * README: Remove i386 reference.
57409 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57411         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57412         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57414 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57416         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57417         (lmsnanval): New variables.
57418         (F): Add conversion tests.
57419         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57420         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57422         * stdio-common/tstdiomisc.c (F): Properly collect individual
57423         tests' results.
57425         [BZ #14686, #15336]
57426         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57427         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57428         Instead, use input NaN values or generate a qNaN by arithmetic
57429         operation.  Also fix bugs to comply with the standard.
57430         * math/libm-test.inc (remainder_test): Add more tests.
57432         [BZ #15335, #15342]
57433         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57435         input NaN values or generate a qNaN by arithmetic operation.
57437         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57438         unreachable code.
57440         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57441         definitions.
57443 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
57445         [BZ #14478]
57446         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57447         underflowed result.
57448         * math/s_cexpf.c (__cexpf): Likewise.
57449         * math/s_cexpl.c (__cexpl): Likewise.
57450         * math/libm-test.inc (cexp_test): Add more tests.
57452 2013-04-03  Andreas Schwab  <schwab@suse.de>
57454         [BZ #15330]
57455         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57456         order arrays from heap if bigger than alloca cutoff.
57458 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
57460         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57461         (SNAN_TESTS_double): Refer to GCC PR56831.
57462         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57463         GCC PR56828.
57465 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57467         * Rules (bench): Move bench.out after the run is complete.
57469         * Rules (bench): Echo currently running benchmark.
57471         * benchtests/Makefile (bench): Add atan and slowatan.
57472         * benchtests/atan-inputs: New file.
57473         * benchtests/slowatan-inputs: New file.
57474         * benchtests/slowatan.c: New file.
57476         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57477         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57478         its value.
57480         [BZ #15305]
57481         * sysdeps/unix/sysv/linux/kernel-features.h
57482         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57483         __ASSUME_XFS_RESTRICTED_CHOWN.
57484         * sysdeps/unix/sysv/linux/pathconf.c
57485         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57486         Save and restore errno.
57488 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
57490         [BZ #15327]
57491         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57492         arguments using __kernel_casinh.
57493         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57494         arguments using __kernel_casinhf.
57495         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57496         arguments using __kernel_casinhl.
57497         * math/libm-test.inc (cacosh_test): Add more tests.
57498         * sysdeps/i386/fpu/libm-test-ulps: Update.
57499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57501 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57503         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57506         * bench/Makefile (bench): Add sin and slowsin.
57507         * benchtests/sin-inputs: New file.
57508         * benchtests/slowsin-inputs: New file.
57509         * benchtests/slowsin.c: New file.
57511         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57512         (bench): Add slowexp and slowpow.
57513         (exp-ITER): Increase iterations.
57514         (pow-ITER): Likewise.
57515         * benchtests/exp-inputs: Change input.
57516         * benchtests/pow-inputs: Likewise.
57517         * benchtests/slowexp-inputs: New file.
57518         * benchtests/slowexp.c: New file.
57519         * benchtests/slowpow-inputs: New file.
57520         * benchtests/slowpow.c: New file.
57522 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57524         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57525         instructions.
57526         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57527         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57528         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57529         * benchtests/Makefile: Add rint benchtest.
57530         * benchtests/rint-inputs: Input for rint benchtest.
57532 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57534         * Versions.def (libm): Add GLIBC_2.18.
57535         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57536         hidden libm prototypes.
57537         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57538         * math/Makefile (libm-calls): Add s_issignaling.
57539         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57540         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
57541         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57542         declaration.
57543         * math/math.h [__USE_GNU] (issignaling): New macro.
57544         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57545         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57546         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57547         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57548         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57549         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57550         * manual/arith.texi (issignaling): New section.
57551         * manual/libm-err-tab.pl (@all_functions): Update comment.
57552         * math/gen-libm-test.pl (parse_args): Apply special handling for
57553         issignaling.
57554         * math/libm-test.inc (print_float, issignaling_test): New
57555         functions.
57556         (check_float_internal): Add issignaling checks.
57557         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57558         default definition.
57559         * sysdeps/powerpc/math-tests.h: New file.
57560         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57561         tests.
57562         * math/test-snan.c (TEST_FUNC): Likewise.
57564 2013-03-30  David S. Miller  <davem@davemloft.net>
57566         * po/de.po: Update from translation team.
57568 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
57570         [BZ #10357]
57571         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57572         imaginary part less than 1.0 and real part less than 0.5
57573         specially.
57574         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57575         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57576         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57577         (cacos_test): Add more tests.
57578         (casin_test): Likewise.
57579         (casinh_test): Likewise.
57580         * sysdeps/i386/fpu/libm-test-ulps: Update.
57581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57583 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57585         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57586         ONE with its value.
57588         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57589         (__pow_mp): Replace ONE and MONE with their values.
57590         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57591         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57592         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57593         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57594         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57595         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57597         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57599         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57600         (__pow_mp): Replace ZERO and MZERO with their values.
57601         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57602         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57603         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57605         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57606         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57607         (__sqr): Likewise.
57609         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57611         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57613 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57615         * include/stdlib.h [!SHARED] (__call_tls_dtors):
57616         Declare with __attribute__ ((weak)).
57617         * stdlib/exit.c (__libc_atexit) [!SHARED]:
57618         Call __call_tls_dtors only if it's not NULL.
57620 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57622         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57623         didn't do it already, then set _dl_phdr and _dl_phnum based on the
57624         magic __ehdr_start linker symbol if it's defined.
57625         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57626         them up here if it was already done.
57628         * elf/dl-support.c (_dl_phdr): Make pointer to const.
57629         (_dl_aux_init): Use const in cast when setting it.
57630         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57631         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57632         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57634         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57635         Declare them here.
57636         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57637         * csu/libc-tls.c: Nor here.
57638         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57640         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57641         (__libc_message): Never call vsyslog.
57643 2013-03-28  Alan Modra  <amodra@gmail.com>
57645         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57646         Define as empty.
57647         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57648         Likewise.
57650 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57652         [BZ #15214]
57653         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57654         underflow.
57655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57657 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57659         [BZ #15304]
57660         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57661         Don't add gid passed as argument.
57663         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57665 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
57667         [BZ #15307]
57668         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57669         imaginary part between 1.0 and 1.5 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 (cacos_test): Add more tests.
57674         (casin_test): Likewise.
57675         (casinh_test): Likewise.
57676         * sysdeps/i386/fpu/libm-test-ulps: Update.
57677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57679 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57681         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57682         constants.
57683         (norm): Likewise.
57684         (denorm): Likewise.
57685         (__dbl_mp): Likewise.
57686         (add_magnitudes): Likewise.
57687         (sub_magnitudes): Likewise.
57688         (__add): Likewise.
57689         (__sub): Likewise.
57690         (__mul): Likewise.
57691         (__sqr): Likewise.
57692         (__inv): Likewise.
57693         (__dvd): Likewise.
57695         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57696         commented code.
57697         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57698         (__dubcos): Likewise.
57699         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57700         (__ieee754_acos): Likewise.
57701         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57702         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57703         (__exp1): Likewise.
57704         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57706         (log1): Likewise.
57707         (my_log2): Likewise.
57708         (checkint): Likewise.
57709         * sysdeps/ieee754/dbl-64/e_remainder.c
57710         (__ieee754_remainder): Likewise.
57711         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57713         (bsloww): Likewise.
57714         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57716         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57717         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57718         MANTISSA_STORE_T to store computations on mantissa.  Use
57719         macros for rounding and division.
57720         (denorm): Likewise.
57721         (__dbl_mp): Likewise.
57722         (add_magnitudes): Likewise.
57723         (sub_magnitudes): Likewise.
57724         (__mul): Likewise.
57725         (__sqr): Likewise.
57726         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57727         powers of two in terms of TWOPOW macro.
57728         (mp_no): Make type of mantissa as MANTISSA_T.
57729         [!RADIXI]: Define RADIXI.
57730         [!TWO52]: Define TWO52.
57731         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57733 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57735         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57736         llroundl symbol when building for PPC32.
57738 2013-03-24  Mark H Weaver  <mhw@netris.org>
57740         * manual/arith.texi (Normalization Functions): Fix prototypes for
57741         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57743 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57745         [BZ #13889]
57746         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57747         high value to check if expl overflow.
57748         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57749         to check for underflow and overflow.
57750         * math/libm-test.inc: Add exp test.
57752 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
57754         [BZ #11120]
57755         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57756         with NOT_IN_libc.
57758 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57760         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57761         symbol.
57763 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57765         * math/gen-libm-test.pl (parse_args, special_functions): Properly
57766         wrap blocks consisting of several statements.
57768         * sysdeps/generic/math-tests.h: New file.
57769         * sysdeps/i386/fpu/math-tests.h: Likewise.
57770         * math/test-snan.c: Include it.
57771         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57773 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57775         [BZ #15285]
57776         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57777         (__ieee754_j0l): Do not improve calculations using cos of twice
57778         input for inputs above LDBL_MAX / 2.0L.
57779         (__ieee754_y0l): Likewise.
57780         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57781         (__ieee754_j1l): Do not improve calculations using cos of twice
57782         input for inputs above LDBL_MAX / 2.0L.
57783         (__ieee754_y1l): Likewise.
57784         * math/libm-test.inc (j0_test): Add another test.
57785         (j1_test): Likewise.
57786         (y0_test): Likewise.
57787         (y1_test): Likewise.
57788         * sysdeps/i386/fpu/libm-test-ulps: Update.
57790 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57792         * Rules ($(objpfx)bench-%.c): Include code from a C source
57793         file.
57795 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57797         [BZ #15287]
57798         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57799         imaginary part 1.0 and real part less than 0.5 specially.
57800         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57801         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57802         * math/libm-test.inc (cacos_test): Add more tests.
57803         (casin_test): Likewise.
57804         (casinh_test): Likewise.
57805         * sysdeps/i386/fpu/libm-test-ulps: Update.
57806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57808 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57810         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57811         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57813 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
57815         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57816         * config.make.in (config-cflags-sse4): Remove variable.
57817         (config-cflags-avx): Likewise.
57818         (config-cflags-sse2avx): Likewise.
57819         (config-cflags-novzeroupper): Likewise.
57820         (config-asflags-i686): Likewise.
57821         (have-mfma4): Likewise.
57822         (have-as-vis3): Likewise.
57823         (MIG): Likewise.
57824         * configure.in (MIG): Do not AC_SUBST.
57825         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57826         (libc_cv_cc_sse4): Do not AC_SUBST.
57827         (libc_cv_cc_avx): Likewise.
57828         (libc_cv_cc_sse2avx): Likewise.
57829         (libc_cv_cc_novzeroupper): Likewise.
57830         (libc_cv_cc_fma4): Likewise.
57831         (libc_cv_as_i686): Likewise.
57832         (libc_cv_sparc_as_vis3): Likewise.
57833         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57834         LIBC_CONFIG_VAR.
57835         (config-asflags-i686): Likewise.
57836         (config-cflags-avx): Likewise.
57837         (config-cflags-sse2avx): Likewise.
57838         (have-mfma4): Likewise.
57839         (config-cflags-novzeroupper): Likewise.
57840         * sysdeps/mach/configure.in (MIG): Likewise.
57841         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57842         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57843         LIBC_CONFIG_VAR.
57844         (config-cflags-avx): Likewise.
57845         (config-cflags-sse2avx): Likewise.
57846         (have-mfma4): Likewise.
57847         (config-cflags-novzeroupper): Likewise.
57848         * configure: Regenerated.
57849         * sysdeps/i386/configure: Likewise.
57850         * sysdeps/mach/configure: Likewise.
57851         * sysdeps/sparc/configure: Likewise.
57852         * sysdeps/x86_64/configure: Likewise.
57854 2013-03-20  Roland McGrath  <roland@hack.frob.com>
57856         [BZ #14812]
57857         * locale/programs/localedef.c (options): Put N_ translation marker
57858         on argument names, not just descriptions.
57860 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57862         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57864 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
57866         [BZ #14176]
57867         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57869 2013-03-19  Roland McGrath  <roland@hack.frob.com>
57871         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
57872         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
57873         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
57874         [!BEFORE_ABORT] (before_abort): New function.
57875         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
57876         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
57877         (writev_for_fatal): New function.
57878         (WRITEV_FOR_FATAL): New macro; call that.
57879         (backtrace_and_maps): New function.
57880         (BEFORE_ABORT): New macro; call that.
57881         (struct str_list): Type removed.
57882         (__libc_message, __libc_fatal): Functions removed.
57883         Include <sysdeps/posix/libc_fatal.c> instead.
57885 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
57887         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
57888         constants.
57889         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
57890         double constants.
57892 2013-03-19  Andreas Schwab  <schwab@suse.de>
57894         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
57895         * sysdeps/gnu/configure: Regenerate.
57897         * configure.in: Substitute libc_cv_rtlddir.
57898         * configure: Regenerate.
57899         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
57900         * Makeconfig (rtlddir, inst_rtlddir): New variables.
57901         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
57902         * elf/Makefile (install-others, CFLAGS-interp.c)
57903         (ldso_install, common-ldd-rewrite): Likewise.
57904         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
57905         $(inst_slibdir)/$(rtld-installed-name).
57906         * scripts/rellns-sh: Add -p option.
57907         * Makerules (make-shlib-link): Use rellns-sh to get relative name
57908         for source.
57910 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57912         * manual/nptl.texi: Renamed to ...
57913         * manual/threads.texi: ... this.
57914         * manual/Makefile (chapters): Update.
57916 2013-03-18  Roland McGrath  <roland@hack.frob.com>
57918         [BZ #14812]
57919         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
57920         on argument names, not just descriptions.
57921         * malloc/memusagestat.c (options): Likewise.
57922         * nss/getent.c (options): Likewise.
57924 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
57926         [BZ #14812]
57927         * iconv/iconv_prog.c (options): Put N_ translation marker
57928         on argument names, not just descriptions.
57929         * iconv/iconvconfig.c (options): Likewise.
57931 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
57933         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
57934         implementation which is faster on all x86_64 architectures.
57935         Tested on AMD, Intel Nehalem, SNB, IVB.
57936         * sysdeps/x86_64/strnlen.S: Likewise.
57938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57939         Remove all multiarch strlen and strnlen versions.
57940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57941         Remove strlen and strnlen related parts.
57943         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
57944         Inline strlen part.
57945         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
57947         * sysdeps/x86_64/multiarch/strlen.S: Remove.
57948         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
57949         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
57950         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
57951         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57952         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
57954 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
57956         * manual/memory.texi (Malloc Tunable Parameters):
57957         Sort parameters alphabetically. Add comments for missing entries.
57959 2013-03-17  David S. Miller  <davem@davemloft.net>
57961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57963 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
57965         [BZ #15283]
57966         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
57967         for arguments at most half maximum finite value.
57968         * math/libm-test.inc (j0_test): Add more tests.
57969         (j1_test): Likewise.
57970         (y0_test): Likewise.
57971         (y1_test): Likewise.
57972         * sysdeps/i386/fpu/libm-test-ulps: Update.
57973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57975         [BZ #14155]
57976         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
57977         1 / x and functions P and Q for arguments above 0x1p256L.
57978         (__ieee754_y0l): Likewise.
57979         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
57980         (__ieee754_y1l): Likewise.
57981         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
57982         (j1_test): Likewise.
57983         (y0_test): Likewise.
57984         (y1_test): Likewise.
57986 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
57988         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
57989         variable.
57991 2013-03-15  Roland McGrath  <roland@hack.frob.com>
57993         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
57994         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
57995         zero since it's initialized to EXEC_PAGESIZE.
57997         * sysdeps/unix/sysv/linux/ldsodefs.h
57998         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
57999         * sysdeps/generic/ldsodefs.h: ... here.
58001 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58003         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58005         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58006         math/test-snan.c.
58007         * math/test-snan.c: Renamed from
58008         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58009         * math/Makefile (tests): Add test-snan.
58010         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58011         test-powerpc-snan.
58013         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58014         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58015         functions.
58016         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58017         __builtin_nan family of functions.
58018         * math/libm-test.inc (initialize): Initialize qnan_value with
58019         __builtin_nan family of functions.
58020         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58021         Remove variables.
58022         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58023         Remove functions.
58024         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58025         storage class.  Initialize qNaN_var and sNaN_var with
58026         __builtin_nan and __builtin_nans families of functions,
58027         respectively.
58029         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58030         (sqrt_test): Remove duplicate test with qNaN input.
58031         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58032         (round_test, signbit_test, significand_test): Note missing +/-Inf
58033         as well as qNaN tests.
58035         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58036         qNaN_var.  Fix a few strings, too.
58037         * math/libm-test.inc (nan_value): Rename to qnan_value.
58038         * math/gen-libm-test.pl (%beautify): Adjust to that.
58039         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58040         * math/test-misc.c (main): Likewise.
58041         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58042         to __qnan_bytes, and __qnan_union, respectively.
58043         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58044         Likewise.
58045         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58046         and lqnanval, respectively.
58047         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58048         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58049         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58050         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58052         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58053         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58054         doubles.
58056         * math/test-misc.c (main): Fix copy'n'pastos.
58057         * misc/tst-efgcvt.c (special): Likewise.
58059         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58060         Remove declarations.
58062 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58064         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58065         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58066         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58067         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58069 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58072         macro to return vdso values correctly in IFUNC implementations.
58073         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58074         Optimization by using IFUNC.
58076 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58077             Richard Henderson  <rth@redhat.com>
58078             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58080         * Makefile.in (bench): New target.
58081         * NEWS: Mention the benchmark framework.
58082         * Rules (bench): Likewise.
58083         (binaries-bench): Generate binaries for functions to
58084         benchmark.
58085         * benchtests/Makefile: New makefile for benchmark tests.
58086         * benchtests/bench-skeleton.c: New skeleton file for benchmark
58087         programs.
58088         * benchtests/exp-inputs: New input file for EXP function.
58089         * benchtests/pow-inputs: New input file for POW function.
58090         * scripts/bench.pl: New script to generate source files for
58091         benchmark programs.
58093 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58095         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58096         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58097         computations on mantissa.  Use macros for rounding and
58098         division.
58099         (denorm): Likewise.
58100         (__dbl_mp): Likewise.
58101         (add_magnitudes): Likewise.
58102         (sub_magnitudes): Likewise.
58103         (__mul): Likewise.
58104         (__sqr): Likewise.
58105         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58106         powers of two in terms of TWOPOW macro.
58107         (mp_no): Make type of mantissa as MANTISSA_T.
58108         [!RADIXI]: Define RADIXI.
58109         [!TWO52]: Define TWO52.
58110         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58112         * manual/nptl.texi (cindex): Modify threads to pthreads.
58114 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
58116         * sysdeps/x86_64/preconfigure: Regenerated.
58118 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
58120         [BZ #14155]
58121         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58122         0x1p28 and above.
58123         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58124         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58125         0x1p28 and above.
58126         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58127         * math/libm-test.inc (j0_test): Do not allow one spurious
58128         underflow exception.
58129         (y1_test): Likewise.
58131 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58133         * manual/Makefile (chapters): Add nptl.
58134         * manual/debug.texi (Debugging Support): Add link to Threads
58135         chapter.
58136         * manual/nptl.texi: New file.
58138         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58140 2013-03-14  Petr Baudis  <pasky@ucw.cz>
58142         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58143         for non-NULL pointer before the memory validity test. Pointed
58144         out by Holger Brunck <holger.brunck@keymile.com>.
58146 2013-03-13  Andreas Schwab  <schwab@suse.de>
58148         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58149         instead of .os.
58151 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
58153         * timezone/zic.c: Update from tzcode 2013b.
58155 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
58157         * manual/install.texi (Configuring and compiling):
58158         Mention i686 and i586.
58159         * INSTALL: Regenerate.
58161 2013-03-12  Roland McGrath  <roland@hack.frob.com>
58163         * sysdeps/init_array/elf-init.c: New file.
58164         * csu/elf-init.c
58165         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58166         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58168         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58169         __gmon_start__ as global, but as static with a .preinit_array pointer.
58170         * sysdeps/init_array/gmon-start.c: New file.  Use that.
58171         * sysdeps/init_array/crti.S: New file, empty except for comments.
58172         * sysdeps/init_array/crtn.S: Likewise.
58174 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
58176         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58177         definining bcopy.
58178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58179         Remove Prefer_SSE_for_memop.
58180         * sysdeps/x86_64/multiarch/init-arch.h: Remove
58181         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58182         HAS_PREFER_SSE_FOR_MEMOP.
58183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58184         memset-x86-64.
58185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58186         Remove bzero, memset ifunc support.
58187         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58188         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58189         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58190         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58192 2013-03-11  Andreas Schwab  <schwab@suse.de>
58194         [BZ #15234]
58195         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58196         by SHLIB_COMPAT.
58197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58198         (GLIBC_2.16): Remove pthread_atfork.
58200 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
58202         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58203         (ptestcases.h): Likewise.
58205 2013-03-08  Roland McGrath  <roland@hack.frob.com>
58207         * Makeconfig ($(common-objpfx)config.status): Depend on
58208         sysdeps/*/preconfigure{,.in} too.
58210 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
58212         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58213         (__free_hook): Use void * instead of __malloc_ptr_t.
58214         (__malloc_hook): Likewise.
58215         (__realloc_hook): Likewise.
58216         (__memalign_hook): Likewise.
58217         (__after_morecore_hook): Likewise.
58218         * malloc/arena.c (save_malloc_hook): Likewise.
58219         (save_free_hook): Likewise.
58220         * malloc/hooks.c (malloc_hook_ini): Likewise.
58221         (realloc_hook_ini): Likewise.
58222         (memalign_hook_ini): Likewise.
58223         * malloc/malloc.c (malloc_hook_ini): Likewise.
58224         (realloc_hook_ini): Likewise.
58225         (memalign_hook_ini): Likewise.
58226         (__free_hook): Likewise.
58227         (__malloc_hook): Likewise.
58228         (__realloc_hook): Likewise.
58229         (__memalign_hook): Likewise.
58230         (__libc_malloc): Likewise.
58231         (__libc_free): Likewise.
58232         (__libc_realloc): Likewise.
58233         (__libc_memalign): Likewise.
58234         (__libc_valloc): Likewise.
58235         (__libc_pvalloc): Likewise.
58236         (__libc_calloc): Likewise.
58237         (__posix_memalign): Likewise.
58238         * malloc/morecore.c (__sbrk): Likewise.
58239         (__default_morecore): Likewise.
58241         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58243         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58244         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58245         __malloc_ptrdiff_t.
58247         * malloc/malloc.h (__malloc_size_t): Remove macro.
58248         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58249         __malloc_size_t.
58250         (old_memalign_hook): Likewise.
58251         (old_realloc_hook): Likewise.
58252         (struct hdr): Likewise.
58253         (flood): Likewise.
58254         (mallochook): Likewise.
58255         (memalignhook): Likewise.
58256         (reallochook): Likewise.
58257         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58258         (tr_old_realloc_hook): Likewise.
58259         (tr_old_memalign_hook): Likewise.
58260         (tr_mallochook): Likewise.
58261         (tr_reallochook): Likewise.
58262         (tr_memalignhook): Likewise.
58264 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58267         default_ldbl_pack and using as default implementation.
58268         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58269         implementation.
58270         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58271         redundant definition.
58272         (ldbl_insert_mantissa): Likewise.
58273         (ldbl_canonicalize): Likewise.
58274         (ldbl_nearbyint): Likewise.
58275         (ldbl_pack): Rename to ldbl_pack_ppc.
58276         (ldbl_unpack): Rename to ldbl_unpack_ppc.
58277         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58278         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58280 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58282         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58283         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58284         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58285         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58287         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58288         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58289         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58291 2013-03-07  Andreas Jaeger  <aj@suse.de>
58293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58294         bits/mman-linux.h.
58296 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58298         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58299         Include mpa.h and declare __MPEXP.
58300         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58301         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58302         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58303         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58304         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58305         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58306         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58308         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58309         (__slowpow): Use long double EXPL and LOGL functions to
58310         compute POW.
58311         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58312         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58313         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58314         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58315         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58316         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58319         intermediate variable to calculate exponent.
58320         (__sqr): Likewise.
58321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58322         Likewise.
58323         (__sqr): Likewise.
58325         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58326         [!NO__SQR]: Define __sqr.
58327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58328         and NO__SQR.  Remove all code except __mul and __sqr.  Include
58329         sysdeps/ieee754/dbl-64/mpa.c.
58330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58332         [BZ #12723]
58333         * posix/Makefile (tests): Add tst-pathconf.
58334         * posix/tst-pathconf.c: New test case.
58335         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58336         _PC_PIPE_BUF.
58337         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58339 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
58341         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58343 2013-03-06  Andreas Jaeger  <aj@suse.de>
58345         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58346         definition via __MAP_ANONYMOUS.
58348         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58349         it's not part of Linux headers.
58351         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58352         (MAP_HUGE_MASK): Define.
58354         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58355         Define.
58356         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58357         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58358         Define.
58359         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58360         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58361         Define.
58362         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58363         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58364         Define.
58365         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58367         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58368         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58369         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58370         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58371         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58372         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58374         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58375         Handle f2fs.
58377         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58378         Handle f2fs and efivarfs.
58380         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58381         f2fs.
58383         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58384         (EFIVARFS_MAGIC): Add.
58385         (F2FS_LINK_MAX): Add.
58387 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58389         * stdio-common/vfprintf.c: Replace __builtin_expect with
58390         __glibc_unlikely.
58392 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
58394         [BZ #13550]
58395         * sysdeps/generic/bp-sym.h: Remove file.
58396         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58397         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58398         <bp-sym.h> and <bp-asm.h>.
58399         (__longjmp): Don't use BP_SYM.
58400         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58401         and <bp-asm.h>.
58402         (memcpy): Don't use BP_SYM.
58403         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58404         <bp-sym.h> and <bp-asm.h>.
58405         (memcpy): Don't use BP_SYM.
58406         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58407         <bp-asm.h>.
58408         (memcpy): Don't use BP_SYM.
58409         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58410         <bp-asm.h>.
58411         (memset): Don't use BP_SYM.
58412         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58413         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58414         (__bzero): Don't use BP_SYM.
58415         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58416         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58417         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58418         <bp-sym.h> and <bp-asm.h>.
58419         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58420         pointers.
58421         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58422         <bp-sym.h> and <bp-asm.h>.
58423         (memcpy): Don't use BP_SYM.
58424         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58425         <bp-sym.h> and <bp-asm.h>.
58426         (memset): Don't use BP_SYM.
58427         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58428         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58429         (__bzero): Don't use BP_SYM.
58430         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58431         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58432         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58433         <bp-sym.h> and <bp-asm.h>.
58434         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58435         pointers.
58436         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58437         <bp-sym.h> and <bp-asm.h>.
58438         (memcpy): Don't use BP_SYM.
58439         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58440         <bp-sym.h> and <bp-asm.h>.
58441         (memset): Don't use BP_SYM.
58442         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58443         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58444         (__bzero): Don't use BP_SYM.
58445         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58446         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58447         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58448         <bp-sym.h> and <bp-asm.h>.
58449         (__memchr): Don't use BP_SYM.
58450         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58451         <bp-sym.h> and <bp-asm.h>.
58452         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58453         pointers.
58454         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58455         <bp-sym.h> and <bp-asm.h>.
58456         (memcpy): Don't use BP_SYM.
58457         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58458         <bp-sym.h> and <bp-asm.h>.
58459         (__mempcpy): Don't use BP_SYM.
58460         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58461         <bp-sym.h> and <bp-asm.h>.
58462         (__memrchr): Don't use BP_SYM.
58463         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58464         <bp-sym.h> and <bp-asm.h>.
58465         (memset): Don't use BP_SYM.
58466         (__bzero): Likewise.
58467         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58468         <bp-sym.h> and <bp-asm.h>.
58469         (__rawmemchr): Don't use BP_SYM.
58470         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58471         <bp-sym.h> and <bp-asm.h>.
58472         (__STRCMP): Don't use BP_SYM.
58473         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58474         <bp-sym.h> and <bp-asm.h>.
58475         (strchr): Don't use BP_SYM.
58476         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58477         <bp-sym.h> and <bp-asm.h>.
58478         (__strchrnul): Don't use BP_SYM.
58479         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58480         <bp-sym.h> and <bp-asm.h>.
58481         (strlen): Don't use BP_SYM.
58482         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58483         <bp-sym.h> and <bp-asm.h>.
58484         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58485         pointers.
58486         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58487         <bp-sym.h> and <bp-asm.h>.
58488         (__strnlen): Don't use BP_SYM.
58489         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58490         <bp-sym.h> and <bp-asm.h>.
58491         (__GI__setjmp): Don't use BP_SYM.
58492         (_setjmp): Likewise.
58493         (__sigsetjmp): Likewise.
58494         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58495         (L(start_addresses)): Don't use BP_SYM.
58496         (_start): Likewise.
58497         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58498         <bp-asm.h>.
58499         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58500         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58501         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58502         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58503         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58504         <bp-asm.h>.
58505         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58506         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
58507         about bounded pointers.
58508         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58509         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58510         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58511         <bp-asm.h>.
58512         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58513         about bounded pointers.  Remove GKM FIXME comments.
58514         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58515         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58516         <bp-asm.h>.
58517         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58518         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
58519         Remove GKM FIXME comments.
58520         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58521         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58522         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58523         <bp-asm.h>.
58524         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58525         about bounded pointers.  Remove GKM FIXME comment.
58526         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58527         and <bp-asm.h>.
58528         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58529         pointers.
58530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58531         <bp-sym.h> and <bp-asm.h>.
58532         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58534         <bp-sym.h> and <bp-asm.h>.
58535         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58536         comment.
58538 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58540         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58541         call free(NULL).
58543 2013-03-05  David S. Miller  <davem@davemloft.net>
58545         * po/es.po: Update from translation team.
58547 2013-03-05  Andreas Jaeger  <aj@suse.de>
58549         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58550         <bits/mman-linux.h>.
58551         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58552         is fine.
58553         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58554         <bits/mman-linux.h> to end of file.
58555         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58556         is fine.
58557         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58558         <bits/mman-linux.h> to end of file.
58559         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58560         is fine.
58561         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58562         <bits/mman-linux.h> to end of file.
58564         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58565         (MCL_CURRENT, MCL_FUTURE): Define here.
58567 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58569         [BZ #15232]
58570         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58571         attribute_hidden.
58572         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58574 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58576         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58577         fourth parameter needed for rt_sigprocmask syscall.
58578         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58579         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58580         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58581         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58582         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58583         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58585 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
58587         [BZ #13550]
58588         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58589         comment about bounded pointers.
58590         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58591         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58593 2013-03-04  Andreas Jaeger  <aj@suse.de>
58595         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58596         common definitions.
58598         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58599         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58600         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58601         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58602         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58603         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58605 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58607         [BZ #15055]
58608         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58609         __ieee754_sqrl instead of __sqrl.
58611 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
58613         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58614         * sysdeps/powerpc/fpu_control.h: ... here.
58615         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58616         * sysdeps/powerpc/bits/fenvinline.h: ... here.
58617         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58618         * sysdeps/powerpc/bits/mathinline.h: ... here.
58620 2013-03-01  Roland McGrath  <roland@hack.frob.com>
58622         * elf/dl-hwcaps.c (_dl_important_hwcaps):
58623         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58624         to just [NEED_DL_SYSINFO_DSO].
58625         * elf/dl-support.c: Likewise.
58626         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58627         * elf/rtld.c (dl_main): Likewise.
58628         * elf/setup-vdso.h (setup_vdso): Likewise.
58629         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58630         * sysdeps/unix/sysv/linux/dl-sysdep.c
58631         (_dl_discover_osversion): Likewise.
58633 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
58635         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58636         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58638 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
58640         * NEWS: Mention libm performance improvements and non-x86 PI
58641         futex support.
58643         * csu/libc-start.c (__pthread_initialize_minimal): Change
58644         function arguments.
58645         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58647 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
58649         [BZ #13550]
58650         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58651         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58652         <bp-sym.h> and <bp-asm.h>.
58653         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58654         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58655         and <bp-asm.h>.
58656         (memcpy): Don't use BP_SYM.
58657         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58658         <bp-asm.h>.
58659         (__mpn_add_n): Don't use BP_SYM.
58660         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58661         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58662         and <bp-asm.h>.
58663         (__mpn_addmul_1): Don't use BP_SYM.
58664         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58665         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58666         <bp-sym.h>.
58667         (_setjmp): Don't use BP_SYM.
58668         (__novmx_setjmp): Likewise.
58669         (__GI__setjmp): Likewise.
58670         (__vmx_setjmp): Likewise.
58671         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58672         <bp-sym.h>.
58673         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58674         (__bzero): Don't use BP_SYM.
58675         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58676         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58677         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58678         <bp-sym.h> and <bp-asm.h>.
58679         (memcpy): Don't use BP_SYM.
58680         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58681         <bp-sym.h> and <bp-asm.h>.
58682         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58683         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58684         <bp-sym.h> and <bp-asm.h>.
58685         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58686         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58687         <bp-asm.h>.
58688         (__mpn_lshift): Don't use BP_SYM.
58689         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58690         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58691         <bp-asm.h>.
58692         (memset): Don't use BP_SYM.
58693         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58694         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58695         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58696         <bp-asm.h>.
58697         (__mpn_mul_1): Don't use BP_SYM.
58698         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58699         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58700         <bp-sym.h> and <bp-asm.h>.
58701         (memcmp): Don't use BP_SYM.
58702         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58703         <bp-sym.h> and <bp-asm.h>.
58704         (memcpy): Don't use BP_SYM.
58705         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58706         <bp-sym.h> and <bp-asm.h>.
58707         (memset): Don't use BP_SYM.
58708         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58709         <bp-sym.h> and <bp-asm.h>.
58710         (strncmp): Don't use BP_SYM.
58711         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58712         <bp-sym.h> and <bp-asm.h>.
58713         (memcpy): Don't use BP_SYM.
58714         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58715         <bp-sym.h> and <bp-asm.h>.
58716         (memset): Don't use BP_SYM.
58717         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58718         <bp-sym.h> and <bp-asm.h>.
58719         (__memchr): Don't use BP_SYM.
58720         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58721         <bp-sym.h> and <bp-asm.h>.
58722         (memcmp): Don't use BP_SYM.
58723         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58724         <bp-sym.h> and <bp-asm.h>.
58725         (memcpy): Don't use BP_SYM.
58726         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58727         <bp-sym.h> and <bp-asm.h>.
58728         (__mempcpy): Don't use BP_SYM.
58729         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58730         <bp-sym.h> and <bp-asm.h>.
58731         (__memrchr): Don't use BP_SYM.
58732         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58733         <bp-sym.h> and <bp-asm.h>.
58734         (memset): Don't use BP_SYM.
58735         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58736         <bp-sym.h> and <bp-asm.h>.
58737         (__rawmemchr): Don't use BP_SYM.
58738         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58739         <bp-sym.h> and <bp-asm.h>.
58740         (__STRCMP): Don't use BP_SYM.
58741         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58742         <bp-sym.h> and <bp-asm.h>.
58743         (strchr): Don't use BP_SYM.
58744         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58745         <bp-sym.h> and <bp-asm.h>.
58746         (__strchrnul): Don't use BP_SYM.
58747         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58748         <bp-sym.h> and <bp-asm.h>.
58749         (strlen): Don't use BP_SYM.
58750         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58751         <bp-sym.h> and <bp-asm.h>.
58752         (strncmp): Don't use BP_SYM.
58753         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58754         <bp-sym.h> and <bp-asm.h>.
58755         (__strnlen): Don't use BP_SYM.
58756         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58757         <bp-asm.h>.
58758         (__mpn_rshift): Don't use BP_SYM.
58759         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58760         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58761         <bp-sym.h> and <bp-asm.h>.
58762         (__sigsetjmp): Don't use BP_SYM.
58763         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58764         (L(start_addresses)): Don't use BP_SYM.
58765         (_start): Likewise.
58766         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58767         <bp-asm.h>.
58768         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58769         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58770         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58771         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58772         <bp-asm.h>.
58773         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58774         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58775         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58776         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58777         <bp-asm.h>.
58778         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58779         comments.
58780         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58781         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58782         <bp-asm.h>.
58783         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
58784         FIXME comments.
58785         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58786         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58787         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58788         <bp-asm.h>.
58789         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58790         comment.
58791         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58792         and <bp-asm.h>.
58793         (strncmp): Don't use BP_SYM,
58794         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58795         <bp-asm.h>.
58796         (__mpn_sub_n): Don't use BP_SYM.
58797         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58798         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58799         and <bp-asm.h>.
58800         (__mpn_submul_1): Don't use BP_SYM.
58801         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58803         <bp-sym.h> and <bp-asm.h>.
58804         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58806         <bp-sym.h> and <bp-asm.h>.
58807         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58808         comment.
58810 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58813         Use ZK to minimize writes to Z.
58814         (sub_magnitudes): Simplify code a bit.
58815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58816         Use ZK to minimize writes to Z.
58817         (sub_magnitudes): Simplify code a bit.
58819 2013-02-27  Roland McGrath  <roland@hack.frob.com>
58821         * csu/gmon-start.c: Add special exception to license text.
58823 2013-02-27  Richard Henderson  <rth@redhat.com>
58825         * scripts/config.guess: Update from config.git.
58826         * scripts/config.sub: Likewise.
58828 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58830         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58832         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58834         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58836         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58838         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58840 2013-02-26  Roland McGrath  <roland@hack.frob.com>
58842         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58843         [$(build-shared = yes].
58845 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58847         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58848         (__mul): Reduce iterations for calculating mantissa.
58850         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58851         MPTWO.
58852         (__mpranred): Likewise.
58854         [BZ #15160]
58855         * malloc/memusagestat.c (main): Draw graphs for heap and stack
58856         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58858 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
58860         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58861         Define __attribute__.
58863 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58865         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58866         unused.
58867         * posix/regex_internal.h (__attribute): Remove.
58868         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58869         (re_string_context_at): Likewise.
58870         (bitset_not): Use __attribute__ and mark function as possibly
58871         unused.
58872         (bitset_merge): Likewise.
58873         (bitset_mask): Likewise.
58874         (re_string_char_size_at): Likewise.
58875         (re_string_wchar_at): Likewise.
58876         (re_string_elem_size_at): Likewise.
58878 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58880         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
58881         code.
58882         (cc32): Likewise.
58884         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
58885         (__acr): Likewise.
58886         (__cpy): Likewise.
58887         (norm): Likewise.
58888         (denorm): Likewise.
58889         (__dbl_mp): Likewise.
58890         (add_magnitudes): Likewise.
58891         (sub_magnitudes): Likewise.
58892         (__mul): Likewise.
58893         (__inv): Likewise.
58895         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
58896         style.
58898         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
58899         style.
58901         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
58902         code.
58904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
58905         up changes with default code.
58906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
58907         Likewise.
58909 2013-02-24  Allan McRae  <allan@archlinux.org>
58911         * manual/socket.texi (The Internet Namespace): Order menu items
58912         to match that in the file.
58914         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
58915         node listing of the info page menu.
58917 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
58919         [BZ #13550]
58920         * sysdeps/i386/bp-asm.h: Remove file.
58921         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58922         (PARMS): Do not use macros from bp-asm.h.
58923         (S1): Likewise.
58924         (S2): Likewise.
58925         (SIZE): Likewise.
58926         (__mpn_add_n): Do not use BP_SYM
58927         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
58928         "bp-asm.h".
58929         (PARMS): Do not use macros from bp-asm.h.
58930         (S1): Likewise.
58931         (SIZE): Likewise.
58932         (__mpn_addmul_1): Do not use BP_SYM
58933         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
58934         "bp-asm.h".
58935         (PARMS): Do not use macros from bp-asm.h.
58936         (SIGMSK): Likewise.
58937         (_setjmp): Likewise.  Do not use BP_SYM.
58938         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
58939         "bp-asm.h".
58940         (PARMS): Do not use macros from bp-asm.h.
58941         (SIGMSK): Likewise.
58942         (setjmp): Likewise.  Do not use BP_SYM.
58943         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
58944         "bp-asm.h".
58945         (PARMS): Do not use macros from bp-asm.h.
58946         (__frexp): Do not use BP_SYM.
58947         (frexp): Likewise.
58948         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
58949         "bp-asm.h".
58950         (PARMS): Do not use macros from bp-asm.h.
58951         (__frexpf): Do not use BP_SYM.
58952         (frexpf): Likewise.
58953         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
58954         "bp-asm.h".
58955         (PARMS): Do not use macros from bp-asm.h.
58956         (__frexpl): Do not use BP_SYM.
58957         (frexpl): Likewise.
58958         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
58959         "bp-asm.h".
58960         (PARMS): Do not use macros from bp-asm.h.
58961         (__remquo): Do not use BP_SYM.
58962         (remquo): Likewise.
58963         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
58964         "bp-asm.h".
58965         (PARMS): Do not use macros from bp-asm.h.
58966         (__remquof): Do not use BP_SYM.
58967         (remquof): Likewise.
58968         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
58969         "bp-asm.h".
58970         (PARMS): Do not use macros from bp-asm.h.
58971         (__remquol): Do not use BP_SYM.
58972         (remquol): Likewise.
58973         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
58974         "bp-asm.h".
58975         (PARMS): Do not use macros from bp-asm.h.
58976         (DEST): Likewise.
58977         (SRC): Likewise.
58978         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
58979         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
58980         "bp-asm.h".
58981         (PARMS): Do not use macros from bp-asm.h.
58982         (strlen): Do not use BP_SYM.
58983         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
58984         "bp-asm.h".
58985         (PARMS): Do not use macros from bp-asm.h.
58986         (S1): Likewise.
58987         (S2): Likewise.
58988         (SIZE): Likewise.
58989         (__mpn_add_n): Do not use BP_SYM.
58990         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
58991         "bp-asm.h".
58992         (PARMS): Do not use macros from bp-asm.h.
58993         (S1): Likewise.
58994         (SIZE): Likewise.
58995         (__mpn_addmul_1): Do not use BP_SYM.
58996         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
58997         weak_alias.
58998         (bzero): Likewise.
58999         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59000         "bp-asm.h".
59001         (PARMS): Do not use macros from bp-asm.h.
59002         (S): Likewise.
59003         (SIZE): Likewise.
59004         (__mpn_lshift): Do not use BP_SYM.
59005         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59006         "bp-asm.h".
59007         (PARMS): Do not use macros from bp-asm.h.
59008         (DEST): Likewise.
59009         (SRC): Likewise.
59010         (LEN): Likewise.
59011         (memcpy): Likewise.  Do not use BP_SYM.
59012         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59013         libc_hidden_def and weak_alias.
59014         (mempcpy): Do not use BP_SYM in weak_alias.
59015         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59016         "bp-asm.h".
59017         (PARMS): Do not use macros from bp-asm.h.
59018         (DEST): Likewise.
59019         (LEN): Likewise.
59020         [!BZERO_P] (CHR): Likewise.
59021         (memset): Likewise.  Do not use BP_SYM.
59022         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59023         "bp-asm.h".
59024         (PARMS): Do not use macros from bp-asm.h.
59025         (S1): Likewise.
59026         (SIZE): Likewise.
59027         (__mpn_mul_1): Do not use BP_SYM.
59028         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59029         "bp-asm.h".
59030         (PARMS): Do not use macros from bp-asm.h.
59031         (S): Likewise.
59032         (SIZE): Likewise.
59033         (__mpn_rshift): Do not use BP_SYM.
59034         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59035         "bp-asm.h".
59036         (PARMS): Do not use macros from bp-asm.h.
59037         (STR): Likewise.
59038         (CHR): Likewise.
59039         (strchr): Likewise.  Do not use BP_SYM.
59040         (index): Do not use BP_SYM in weak_alias.
59041         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59042         "bp-asm.h".
59043         (PARMS): Do not use macros from bp-asm.h.
59044         (DEST): Likewise.
59045         (SRC): Likewise.
59046         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59047         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59048         "bp-asm.h".
59049         (PARMS): Do not use macros from bp-asm.h.
59050         (strlen): Do not use BP_SYM.
59051         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59052         "bp-asm.h".
59053         (PARMS): Do not use macros from bp-asm.h.
59054         (S1): Likewise.
59055         (S2): Likewise.
59056         (SIZE): Likewise.
59057         (__mpn_sub_n): Do not use BP_SYM.
59058         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59059         "bp-asm.h".
59060         (PARMS): Do not use macros from bp-asm.h.
59061         (S1): Likewise.
59062         (SIZE): Likewise.
59063         (__mpn_submul_1): Do not use BP_SYM.
59064         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59065         "bp-asm.h".
59066         (PARMS): Do not use macros from bp-asm.h.
59067         (S1): Likewise.
59068         (S2): Likewise.
59069         (SIZE): Likewise.
59070         (__mpn_add_n): Do not use BP_SYM.
59071         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59072         weak_alias.
59073         (bzero): Likewise.
59074         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59075         "bp-asm.h".
59076         (PARMS): Do not use macros from bp-asm.h.
59077         (BLK2): Likewise.
59078         (LEN): Likewise.
59079         (memcmp): Do not use BP_SYM.
59080         (bcmp): Do not use BP_SYM in weak_alias.
59081         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59082         "bp-asm.h".
59083         (PARMS): Do not use macros from bp-asm.h.
59084         (DEST): Likewise.
59085         (SRC): Likewise.
59086         (LEN): Likewise.
59087         (memcpy): Likewise.  Do not use BP_SYM.
59088         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59089         "bp-asm.h".
59090         (PARMS): Do not use macros from bp-asm.h.
59091         (DEST): Likewise.
59092         (SRC): Likewise.
59093         (LEN): Likewise.
59094         (memmove): Likewise.  Do not use BP_SYM.
59095         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59096         "bp-asm.h".
59097         (PARMS): Do not use macros from bp-asm.h.
59098         (DEST): Likewise.
59099         (SRC): Likewise.
59100         (LEN): Likewise.
59101         (__mempcpy): Likewise.  Do not use BP_SYM.
59102         (mempcpy): Do not use BP_SYM in weak_alias.
59103         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59104         "bp-asm.h".
59105         (PARMS): Do not use macros from bp-asm.h.
59106         (DEST): Likewise.
59107         (LEN): Likewise.
59108         [!BZERO_P] (CHR): Likewise.
59109         (memset): Likewise.  Do not use BP_SYM.
59110         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59111         "bp-asm.h".
59112         (PARMS): Do not use macros from bp-asm.h.
59113         (STR2): Likewise.
59114         (strcmp): Do not use BP_SYM.
59115         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59116         "bp-asm.h".
59117         (PARMS): Do not use macros from bp-asm.h.
59118         (STR): Likewise.
59119         (DELIM): Likewise.
59120         [USE_AS_STRTOK_R] (SAVE): Likewise.
59121         (FUNCTION): Likewise.  Do not use BP_SYM.
59122         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59123         aliases.
59124         (strtok_r): Likewise.
59125         (__GI___strtok_r): Likewise.
59126         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59127         (PARMS): Do not use macros from bp-asm.h.
59128         (S): Likewise.
59129         (SIZE): Likewise.
59130         (__mpn_lshift): Do not use BP_SYM.
59131         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59132         (PARMS): Do not use macros from bp-asm.h.
59133         (STR): Likewise.
59134         (CHR): Likewise.
59135         (__memchr): Do not use BP_SYM.
59136         (memchr): Do not use BP_SYM in weak_alias.
59137         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59138         (PARMS): Do not use macros from bp-asm.h.
59139         (BLK2): Likewise.
59140         (LEN): Likewise.
59141         (memcmp): Do not use BP_SYM.
59142         (bcmp): Do not use BP_SYM in weak_alias.
59143         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59144         (PARMS): Do not use macros from bp-asm.h.
59145         (S1): Likewise.
59146         (SIZE): Likewise.
59147         (__mpn_mul_1): Do not use BP_SYM.
59148         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59149         "bp-asm.h".
59150         (PARMS): Do not use macros from bp-asm.h.
59151         (STR): Likewise.
59152         (CHR): Likewise.
59153         (__rawmemchr): Do not use BP_SYM.
59154         (rawmemchr): Do not use BP_SYM in weak_alias.
59155         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59156         (PARMS): Do not use macros from bp-asm.h.
59157         (S): Likewise.
59158         (SIZE): Likewise.
59159         (__mpn_rshift): Do not use BP_SYM.
59160         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59161         (PARMS): Do not use macros from bp-asm.h.
59162         (SIGMSK): Likewise.
59163         (__sigsetjmp): Likewise.  Do not use BP_SYM.
59164         * sysdeps/i386/start.S: Do not include "bp-sym.h".
59165         (_start): Do not use BP_SYM.
59166         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59167         (PARMS): Do not use macros from bp-asm.h.
59168         (DEST): Likewise.
59169         (SRC): Likewise.
59170         (__stpcpy): Likewise.  Do not use BP_SYM.
59171         (stpcpy): Do not use BP_SYM in weak_alias.
59172         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59173         "bp-asm.h".
59174         (PARMS): Do not use macros from bp-asm.h.
59175         (DEST): Likewise.
59176         (SRC): Likewise.
59177         (LEN): Likewise.
59178         (__stpncpy): Likewise.  Do not use BP_SYM.
59179         (stpncpy): Do not use BP_SYM in weak_alias.
59180         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59181         (PARMS): Do not use macros from bp-asm.h.
59182         (STR): Likewise.
59183         (CHR): Likewise.
59184         (strchr): Likewise.  Do not use BP_SYM.
59185         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59186         "bp-asm.h".
59187         (PARMS): Do not use macros from bp-asm.h.
59188         (STR): Likewise.
59189         (CHR): Likewise.
59190         (__strchrnul): Likewise.  Do not use BP_SYM.
59191         (strchrnul): Do not use BP_SYM in weak_alias.
59192         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59193         "bp-asm.h".
59194         (PARMS): Do not use macros from bp-asm.h.
59195         (STOP): Likewise.
59196         (strcspn): Do not use BP_SYM.
59197         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59198         "bp-asm.h".
59199         (PARMS): Do not use macros from bp-asm.h.
59200         (STR): Likewise.
59201         (STOP): Likewise.
59202         (strpbrk): Likewise.  Do not use BP_SYM.
59203         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59204         "bp-asm.h".
59205         (PARMS): Do not use macros from bp-asm.h.
59206         (STR): Likewise.
59207         (CHR): Likewise.
59208         (strrchr): Likewise.  Do not use BP_SYM.
59209         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59210         (PARMS): Do not use macros from bp-asm.h.
59211         (SKIP): Likewise.
59212         (strspn): Do not use BP_SYM.
59213         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59214         (PARMS): Do not use macros from bp-asm.h.
59215         (STR): Likewise.
59216         (DELIM): Likewise.
59217         (SAVE): Likewise.
59218         (FUNCTION): Likewise.  Do not use BP_SYM.
59219         * sysdeps/i386/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/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59224         (PARMS): Do not use macros from bp-asm.h.
59225         (S1): Likewise.
59226         (S2): Likewise.
59227         (SIZE): Likewise.
59228         (__mpn_sub_n): Do not use BP_SYM.
59229         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59230         "bp-asm.h".
59231         (PARMS): Do not use macros from bp-asm.h.
59232         (S1): Likewise.
59233         (SIZE): Likewise.
59234         (__mpn_submul_1): Do not use BP_SYM.
59235         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59236         <bp-sym.h>.
59237         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59238         and <bp-asm.h>.
59239         (PARMS): Do not use macros from bp-asm.h.
59240         (FLAGS): Likewise.
59241         (PTID): Likewise.
59242         (TLS): Likewise.
59243         (CTID): Likewise.
59244         (__clone): Do not use BP_SYM.
59245         (clone): Do not use BP_SYM in weak_alias.
59246         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59247         and <bp-asm.h>.
59248         (PARMS): Do not use macros from bp-asm.h.
59249         (LEN): Likewise.
59250         (__mmap64): Do not use BP_SYM.
59251         (mmap64): Do not use BP_SYM in weak_alias.
59252         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59253         <bp-sym.h> and <bp-asm.h>.
59254         (PARMS): Do not use macros from bp-asm.h.
59255         (__posix_fadvise64_l64): Do not use BP_SYM.
59256         * sysdeps/unix/sysv/linux/i386/semtimedop.S
59257         (PARMS): Do not use macros from bp-asm.h.
59258         (NSOPS): Likewise.
59259         (semtimedop): Do not use BP_SYM.
59260         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59261         and <bp-asm.h>.
59263 2013-02-21  Allan McRae  <allan@archlinux.org>
59265         * manual/message.texi (Charset conversion in gettext):
59266         Move @end statement to beginning of line.
59268 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59271         static.
59272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59273         Likewise.
59275         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59276         (denorm): Likewise.
59277         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59280 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59282         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59283         tail-call to the resolved function if pltexit isn't needed.
59285 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59288         or Y being zero as being unlikely.
59289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59290         Likewise.
59292 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
59294         * manual/nss.texi (System Databases and Name Service Switch):
59295         Remove frobnicate @pxref.
59297 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59299         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59300         __attribute__ ((unused)) to __attribute__ ((__unused__)).
59302 2013-02-20  Petr Machata  <pmachata@redhat.com>
59304         * elf/elf.h (R_ARM_TARGET1): New macro.
59305         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59306         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59307         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59308         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59309         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59310         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59311         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59312         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59313         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59314         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59315         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59316         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59317         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59318         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59319         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59320         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59321         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59322         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59323         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59324         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59325         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59326         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59327         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59328         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59329         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59330         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59331         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59332         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59333         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59334         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59335         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59336         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59337         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59338         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59339         (R_ARM_THM_GOT_BREL12): Likewise.
59340         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59341         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59342         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59343         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59344         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59345         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59346         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59347         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59348         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59350 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59352         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59353         __attribute_used__ to __attribute__ ((unused)).
59355 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59357         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59358         powerpc mpa.c.
59359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59360         comment formatting.
59361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59363 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
59365         [BZ #13550]
59366         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59367         Remove macro.
59368         (ENTER): Remove both macro definitions.
59369         (LEAVE): Likewise.
59370         (CHECK_BOUNDS_LOW): Likewise.
59371         (CHECK_BOUNDS_HIGH): Likewise.
59372         (CHECK_BOUNDS_BOTH): Likewise.
59373         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59374         (RETURN_BOUNDED_POINTER): Likewise.
59375         (RETURN_NULL_BOUNDED_POINTER): Likewise.
59376         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59377         (POP_ERRNO_LOCATION_RETURN): Likewise.
59378         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59379         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59380         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59381         macros.
59382         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59383         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59384         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59385         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59386         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59387         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59388         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59389         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59390         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59391         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59392         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59393         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59394         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59395         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59396         removed macros.
59397         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59398         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59399         macros.
59400         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59401         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59402         * sysdeps/i386/i586/memset.S (memset): Likewise.
59403         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59404         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59405         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59406         macros.
59407         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59408         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59409         Change uses of L(2) to L(out).
59410         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59411         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59412         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59413         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59414         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59415         removed macros.
59416         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59417         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59418         macros.
59419         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59420         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59421         (RETURN): Do not use macro LEAVE.
59422         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59423         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59424         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59425         * sysdeps/i386/i686/memset.S (memset): Likewise.
59426         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59427         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59428         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59429         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59430         Likewise.
59431         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59432         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
59433         L(1_2) and L(1_3) into L(1).
59434         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59435         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59436         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59437         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59438         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59439         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59440         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59441         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59442         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59443         macros.
59444         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59445         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59446         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59447         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59448         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59449         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59450         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59451         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59452         * sysdeps/i386/strcspn.S (strcspn): Likewise.
59453         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59454         * sysdeps/i386/strrchr.S (strrchr): Likewise.
59455         * sysdeps/i386/strspn.S (strspn): Likewise.
59456         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59457         conditional code.
59458         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59459         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59460         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59461         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
59462         L(1_3) into L(1_1).
59463         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59464         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59465         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59466         macros.
59467         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59469 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
59471         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59472         macro.
59474 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59476         * math/atest-exp.c (exp_mpn): Remove ROUND.
59477         * math/atest-exp2.c (exp_mpn): Likewise.
59478         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59480         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59481         * stdlib/tst-tls-atexit-lib.c: Likewise.
59482         * stdlib/tst-tls-atexit.c: Likewise.
59484 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59486         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59487         and __attribute_alloc_size__.
59489 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59491         * include/programs/xmalloc.h: Change __attribute_alloc_size to
59492         __attribute_alloc_size__.
59493         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59494         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59496 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59498         * include/programs/xmalloc.h: New file.
59499         * catgets/gencat.c: Include it.
59500         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59501         * elf/pldd.c: Likewise.
59502         * iconv/iconv_charmap.c: Likewise.
59503         * iconv/iconvconfig.c: Likewise.
59504         * iconv/strtab.c: Likewise.
59505         * locale/programs/locale.c: Likewise.
59506         * locale/programs/localedef.h: Likewise.
59507         * locale/programs/simple-hash.c: Likewise.
59508         * nscd/nscd.h: Likewise.
59509         * nss/makedb.c: Likewise.
59510         * sysdeps/generic/ldconfig.h: Likewise.
59512 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59514         * Versions.def: Add GLIBC_2.18.
59515         * include/link.h (struct link_map): New member l_tls_dtor_count.
59516         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59517         (__call_tls_dtors): Likewise.
59518         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59519         __cxa_thread_atexit_impl.
59520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59521         Likewise.
59522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59523         Likewise.
59524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59525         Likewise.
59526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59527         Likewise.
59528         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59530         Likewise.
59531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59532         Likewise.
59533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59535         Likewise.
59536         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59537         (tests): Add test case tst-tls-atexit.
59538         (modules-names): Add shared library for tst-tls-atexit.
59539         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59540         (GLIBC_PRIVATE): Add __call_tls_dtors.
59541         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59542         for libstdc++.
59543         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59544         * stdlib/tst-tls-atexit.c: New test case.
59545         * stdlib/tst-tls-atexit-lib.c: New test case.
59547         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59549         * elf/Versions (ld): Add _dl_find_dso_for_object.
59550         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59551         * elf/dl-open.c (_dl_find_dso_for_object): New function.
59552         (dl_open_worker): Use _dl_find_dso_for_object.
59553         * elf/dl-sym.c (do_sym): Likewise.
59554         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59556 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59558         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59559         Syntactic changes only.
59560         (_dl_runtime_profile): Do a tail-call to the resolved function.
59562 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
59564         [BZ #13550]
59565         * sysdeps/x86_64/bp-asm.h: Remove file.
59566         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59567         <bp-sym.h> and <bp-asm.h>.
59568         (__clone): Do not use BP_SYM.
59569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59570         <bp-sym.h> and <bp-asm.h>.
59571         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59572         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59573         "bp-asm.h".
59574         (_setjmp): Do not use BP_SYM.
59575         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59576         "bp-asm.h".
59577         (setjmp): Do not use BP_SYM.
59578         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59579         libc_hidden_def.
59580         (mempcpy): Do not use BP_SYM in weak_alias.
59581         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59582         "bp-asm.h".
59583         (strchr): Do not use BP_SYM.
59584         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59585         "bp-asm.h".
59586         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59587         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59588         (_start): Do not use BP_SYM.
59589         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59590         "bp-asm.h".
59591         (strcat): Do not use BP_SYM.
59592         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59593         "bp-asm.h".
59594         (STRCMP): Do not use BP_SYM.
59595         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59596         "bp-asm.h".
59597         (STRCPY): Do not use BP_SYM.
59598         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59599         "bp-asm.h".
59600         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59601         "bp-asm.h".
59602         (FUNCTION): Do not use BP_SYM.
59603         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59604         weak_alias.
59605         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59607 2013-02-17  Andreas Jaeger  <aj@suse.de>
59609         * time/Versions: Sort entries.
59610         * string/Versions: Likewise.
59611         * resolv/Versions: Likewise.
59612         * posix/Versions: Likewise.
59613         * iconv/Versions: Likewise.
59614         * elf/Versions: Likewise.
59615         * wcsmbs/Versions: Likewise.
59617 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59619         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59620         loop termination condition.
59622         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59623         variable to calculate EZ.
59624         (__sqr): Likewise.
59626         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59627         the lower precision input.
59629 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
59631         [BZ #13550]
59632         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59633         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59634         (run-via-rtld-prefix): Do not handle %-bp tests.
59635         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59636         (all-object-suffixes): Remove .ob.
59637         (bppfx): Remove variable.
59638         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59639         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59640         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59641         [$(build-bounded) = yes] (libtype.ob): Likewise.
59642         * Makerules (elide-routines.ob): Remove variable.
59643         (do-tests-clean): Do not handle *-bp.out.
59644         (common-mostlyclean): Do not handle *-bp and *-bp.out.
59645         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59646         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59647         (tests): Do not include $(tests-bp.out).
59648         (xtests): Do not include $(xtests-bp.out).
59649         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59650         [$(build-bounded) = yes] ($(addprefix
59651         $(objpfx),$(binaries-bounded))): Remove rule.
59652         ($(objpfx)%-bp.out): Remove rule.
59653         * config.make.in (build-bounded): Remove variable.
59654         * crypt/Makefile [$(build-bounded) = yes]
59655         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59656         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59657         append to variable.
59658         [$(build-bounded) = yes] (install-lib): Likewise.
59659         [$(build-bounded) = yes] (generated): Likewise.
59660         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59661         Remove rule.
59662         * intl/Makefile [$(build-bounded) = yes]
59663         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59664         * math/Makefile [$(build-bounded) = yes]
59665         ($(tests:%=$(objpfx)%-bp): Likewise.
59666         * misc/Makefile [$(build-bounded) = yes]
59667         ($(objpfx)tst-tsearch-bp): Likewise.
59668         * nptl/Makeconfig (bounded-thread-library): Remove variable.
59669         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59670         Remove dependency.
59671         * string/Makefile (o-objects.ob): Remove variable.
59672         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59673         (CFLAGS-.ob): Remove variable.
59674         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59675         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59676         both definitions of variable.
59677         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59678         (ASFLAGS-.ob): Remove variable.
59680 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
59682         [BZ #13550]
59683         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59684         Remove __BOUNDED_POINTERS__ from condition.
59685         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59686         * string/bits/string2.h [!__NO_STRING_INLINES &&
59687         !__BOUNDED_POINTERS__]: Likewise.
59688         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59689         Likewise.
59690         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59691         Remove conditional code.
59692         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59693         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59694         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59695         condition.
59697         [BZ #13550]
59698         * csu/libc-start.c: Do not include <bp-sym.h>.
59699         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59700         * elf/dl-open.c: Do not include <bp-sym.h>.
59701         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59702         * math/fegetenv.c: Do not include <bp-sym.h>.
59703         (fegetenv): Do not use BP_SYM in versioned symbols.
59704         * nptl/sysdeps/pthread/bits/libc-lockP.h
59705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59706         <bp-sym.h>.
59707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59708         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59710         (__pthread_mutex_destroy): Likewise.
59711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59712         (__pthread_mutex_lock): Likewise.
59713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59714         (__pthread_mutex_trylock): Likewise.
59715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59716         (__pthread_mutex_unlock): Likewise.
59717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59718         (__pthread_mutexattr_init): Likewise.
59719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59720         (__pthread_mutexattr_destroy): Likewise.
59721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59722         (__pthread_mutexattr_settype): Likewise.
59723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59724         (__pthread_rwlock_init): Likewise.
59725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59726         (__pthread_rwlock_destroy): Likewise.
59727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59728         (__pthread_rwlock_rdlock): Likewise.
59729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59730         (__pthread_rwlock_tryrdlock): Likewise.
59731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59732         (__pthread_rwlock_wrlock): Likewise.
59733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59734         (__pthread_rwlock_trywrlock): Likewise.
59735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59736         (__pthread_rwlock_unlock): Likewise.
59737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59738         (__pthread_key_create): Likewise.
59739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59740         (__pthread_setspecific): Likewise.
59741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59742         (__pthread_getspecific): Likewise.
59743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59744         Likewise.
59745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59746         (_pthread_cleanup_push_defer): Likewise.
59747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59748         (_pthread_cleanup_pop_restore): Likewise.
59749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59750         (pthread_setcancelstate): Likewise.
59751         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59752         <bp-sym.h>.
59753         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59754         (memchr): Do not use BP_SYM in weak_alias.
59755         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59756         (fegetenv): Do not use BP_SYM in versioned symbols.
59757         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59758         (fesetenv): Do not use BP_SYM in versioned symbols.
59759         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59760         (feupdateenv): Do not use BP_SYM in versioned symbols.
59761         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59762         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59763         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59764         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59765         (open64): Do not use BP_SYM in weak_alias.
59766         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59767         (fegetenv): Do not use BP_SYM in versioned symbols.
59768         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59769         (fesetenv): Do not use BP_SYM in versioned symbols.
59770         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59771         (feupdateenv): Do not use BP_SYM in versioned symbols.
59772         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59773         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59774         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59775         (feraiseexcept): Do not use BP_SYM in versioned symbols.
59776         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59777         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59778         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59779         <bp-sym.h>.
59780         (__libc_start_main): Do not use BP_SYM.
59782 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59785         redundant return line.
59786         (norm): Likewise.
59787         (denorm): Likewise.
59788         (dbl_mp): Likewise.
59789         (sub_magnitudes): Likewise.
59790         (__add): Likewise.
59791         (__sub): Likewise.
59792         (__mul): Likewise.
59793         (__inv): Likewise.
59794         (__dvd): Likewise.
59795         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59796         (norm): Likewise.
59797         (denorm): Likewise.
59798         (dbl_mp): Likewise.
59799         (sub_magnitudes): Likewise.
59800         (__add): Likewise.
59801         (__sub): Likewise.
59802         (__mul): Likewise.
59803         (__inv): Likewise.
59804         (__dvd): Likewise.
59806         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59807         instead of __mul.
59808         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59809         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59810         (cc32): Likewise.
59812         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59813         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59814         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59815         of __mul for squares.
59816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59817         function
59818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59819         Likewise.
59820         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59821         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59823 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
59825         [BZ #13550]
59826         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59827         code.
59828         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59829         prototype or function definition.  Rename ubp_* variables and
59830         parameters.  Remove argv definitions conditional on
59831         [__BOUNDED_POINTERS__].
59832         * debug/backtrace.c (__backtrace): Do not use __unbounded.
59833         * elf/dl-runtime.c (_dl_fixup): Likewise.
59834         * include/set-hooks.h (RUN_HOOK): Likewise.
59835         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59836         definition.
59837         * string/strcpy.c (strcpy): Do not use __unbounded.
59838         * sysdeps/generic/frame.h (struct layout): Likewise.
59839         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59840         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59841         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59842         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59843         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59844         (__backtrace): Likewise.
59845         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59846         use __ptrvalue.
59847         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59848         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59849         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59850         Likewise.
59851         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59852         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59853         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59854         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59855         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59856         Do not use __unbounded.
59857         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59858         Rename __unboundedrlimits parameter to rlimits in prototype.
59859         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59860         Do not use __unbounded.
59861         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59862         not use __ptrvalue.
59863         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59864         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59865         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59866         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59867         __ptrvalue or __unbounded.
59868         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59869         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
59870         use __unbounded.
59871         (__new_msgctl): Do not use __ptrvalue.
59872         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
59873         __unbounded.
59874         (__libc_msgrcv): Do not use __ptrvalue.
59875         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
59876         startup_info): Do not use __unbounded.
59877         (__libc_start_main): Likewise.  Rename ubp_* variables and
59878         parameters.  Remove argv definitions conditional on
59879         [__BOUNDED_POINTERS__].
59880         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59881         __ptrvalue.
59882         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
59883         use __unbounded.
59884         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
59885         or __ptrvalue.
59886         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
59887         use __unbounded.
59888         (__new_shmctl): Do not use __ptrvalue.
59889         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
59890         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
59891         Likewise.
59892         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
59893         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
59894         (__libc_sigaction): Likewise.
59895         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
59896         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
59897         Likewise.
59898         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59900 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
59902         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
59904         * string/mempcpy.c: Implement by calling memcpy.
59906 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
59910         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
59911         evaluation.
59913         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
59914         values in the mantissa.
59916         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
59917         minimize writes to Z.
59918         (sub_magnitudes): Simplify code a bit.
59920 2013-02-12  Roland McGrath  <roland@hack.frob.com>
59922         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
59923         from the message.  The linker prefixes all warnings with that already.
59925 2013-02-12  Andreas Schwab  <schwab@suse.de>
59927         [BZ #15078]
59928         * posix/regexec.c (extend_buffers): Add parameter min_len.
59929         (check_matching): Pass minimum needed length.
59930         (clean_state_log_if_needed): Likewise.
59931         (get_subexp): Likewise.
59932         * posix/Makefile (tests): Add bug-regex34.
59933         (bug-regex34-ENV): Define.
59934         * posix/bug-regex34.c: New file.
59936         [BZ #11561]
59937         * posix/regcomp.c (parse_bracket_exp): When looking up collating
59938         elements compare against the byte sequence of it, not its name.
59939         * posix/Makefile (tests): Add bug-regex35.
59940         (bug-regex35-ENV): Define.
59941         * posix/bug-regex35.c: New file.
59943 2013-02-11  Tom de Vries  <tom@codesourcery.com>
59945         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
59946         comment.
59947         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
59948         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
59949         (CHECK_EOL): Add undef.
59951 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
59953         * bits/stdlib-bsearch.h: New file.
59954         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
59955         * stdlib/stdlib.h: Likewise.
59957 2013-02-11  Roland McGrath  <roland@hack.frob.com>
59959         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
59960         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
59961         declaration.
59962         * manual/search.texi (Array Search Function): Add missing const in
59963         lfind prototype.
59964         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
59965         declaration to use rlim_t.
59966         (Basic Scheduling Functions): Remove erroneous const from
59967         sched_getparam prototype.  Remove erroneous * from
59968         sched_get_priority_max and sched_get_priority_min prototypes.
59969         (Resource Usage): Fix summary @comment on vtimes to refer to
59970         sys/vtimes.h rather than vtimes.h.
59971         Add missing *s in vtimes prototype.
59972         (Limits on Resources): Fix ulimit prototype to return long int.
59973         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
59974         prototypes to use long int rather than double.
59975         (BSD Random): Fix initstate and setstate to use char *, not void *.
59976         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
59977         prototype to make second argument 'struct aiocb64 *const[]'.
59978         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
59979         (Status of AIO Operations): Remove erroneous const in aio_return and
59980         aio_return64 prototypes.
59981         (Synchronizing I/O): Fix sync prototype to return void.
59982         * manual/startup.texi (Suboptions): Remove an erroneous const in
59983         getsubopt prototype.
59984         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
59985         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
59986         use size_t rather than int.
59987         (Scanning All Users): Likewise for getpwent_r.
59988         (Setting Groups): Add missing const to setgroups prototype.
59989         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
59990         * manual/socket.texi (Host Names): Fix gethostbyaddr and
59991         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
59992         'const void *' rather than 'const char *'.
59993         (Host Address Functions): Likewise for inet_ntop.
59994         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
59995         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
59996         ssize_t for return value.
59997         (Sending Data): Likewise for send, sendto, sendmsg.
59998         (Socket Option Functions): Add a missing const in setsockopt prototype.
59999         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60000         use wchar_t for the argument.
60001         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60002         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60003         take no arguments.
60004         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60005         double/float/long double for second argument.
60006         Fix return types of significand, significandf, significandl.
60007         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60008         argument in fchmod prototype.
60009         (File Owner): Use uid_t and gid_t in fchown prototype.
60010         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60011         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60012         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60013         use 'const struct dirent **' as argument types to CMP function pointer
60014         argument.
60015         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60016         (File Times): Fix summary magic @comment for struct utimbuf and utime
60017         to refer to utime.h, not time.h.
60018         * manual/string.texi (Argz Functions): Add missing const in
60019         argz_extract and argz_next prototypes.
60020         (Finding Tokens in a String): Likewise for basename.
60021         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60022         (Copying and Concatenation): Fix typo in wmemmove prototype.
60023         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60024         (Signal Stack): Remove erroneous const in sigstack prototype.
60025         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60026         prototype.
60027         (Simple Calendar Time): Likewise for stime.
60028         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60029         prototype.
60030         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60031         say sys/sysctl.h instead.
60032         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60033         and vsyslog prototypes.
60035 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60037         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60038         Remove.
60040 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60042         * misc/sys/mman.h: Fix typo in mremap comment.
60044 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60046         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60047         the '\0' terminator.
60049 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60051         [BZ #13550]
60052         * debug/segfault.c: Don't include <bp-checks.h>.
60053         * sysdeps/generic/bp-checks.h: Remove file.
60054         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60055         (__GETDENTS): Don't use CHECK_N.
60056         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60057         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60058         (__getgroups): Don't use CHECK_N.
60059         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60060         (setgroups): Don't use CHECK_N.
60061         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60062         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60063         (__libc_msgrcv): Don't use CHECK_N.
60064         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60065         (__libc_msgsnd): Don't use CHECK_N.
60066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60067         <bp-checks.h>.
60068         (__libc_pread): Don't use CHECK_N.
60069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60070         include <bp-checks.h>.
60071         (__libc_pread64): Don't use CHECK_N.
60072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60073         include <bp-checks.h>.
60074         (__libc_pwrite): Don't use CHECK_N.
60075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60076         include <bp-checks.h>.
60077         (__libc_pwrite64): Don't use CHECK_N.
60078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60079         <bp-checks.h>.
60080         (__libc_pread): Don't use CHECK_N.
60081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60082         include <bp-checks.h>.
60083         (__libc_pread64): Don't use CHECK_N.
60084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60085         include <bp-checks.h>.
60086         (__libc_pwrite): Don't use CHECK_N.
60087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60088         include <bp-checks.h>.
60089         (__libc_pwrite64): Don't use CHECK_N.
60090         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60091         (do_pread): Don't use CHECK_N.
60092         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60093         (do_pread64): Don't use CHECK_N.
60094         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60095         (do_pwrite): Don't use CHECK_N.
60096         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60097         (do_pwrite64): Don't use CHECK_N.
60098         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60099         (__libc_readv): Don't use CHECK_N.
60100         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60101         (semop): Don't use CHECK_N.
60102         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60103         <bp-checks.h>.
60104         (semtimedop): Don't use CHECK_N.
60105         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60106         (__libc_pread): Don't use CHECK_N.
60107         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60108         <bp-checks.h>.
60109         (__libc_pread64): Don't use CHECK_N.
60110         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60111         <bp-checks.h>.
60112         (__libc_pwrite): Don't use CHECK_N.
60113         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60114         <bp-checks.h>.
60115         (__libc_pwrite64): Don't use CHECK_N.
60116         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60117         <bp-checks.h>.
60118         (__libc_msgrcv): Don't use CHECK_N.
60119         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60120         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
60121         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60122         (__libc_writev): Don't use CHECK_N.
60124 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60126         * string/strcpy.c: Removed unused variable.
60128         * Makeconfig (+sysdep-includes): Define with := rather than =.
60129         Use an existing include/ subdir of each sysdeps dir before it.
60131 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60133         * nscd/connection.c (register_traced_file): Comment function.
60134         [HAVE_INOTIFY] (union __inev): Define.
60135         [HAVE_INOTIFY] (inotify_check_files): New function.
60136         [HAVE_INOTIFY] (clear_db_cache): Likewise.
60137         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60138         clear_db_cache.
60139         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60141 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60143         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60144         loaded if not already and that a failure is permanent.
60146 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60148         [BZ #15006]
60149         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60150         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60152 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60154         [BZ #13550]
60155         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60156         (CHECK_1_NULL_OK): Likewise.
60157         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60158         (__fxstat): Do not use CHECK_1.
60159         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60160         <bp-checks.h>.
60161         (___fxstat64): Do not use CHECK_1.
60162         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60163         <bp-checks.h>.
60164         (__fxstatat): Do not use CHECK_1.
60165         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60166         <bp-checks.h>.
60167         (__fxstatat64): Do not use CHECK_1.
60168         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60169         <bp-checks.h>.
60170         (__fxstat): Do not use CHECK_1.
60171         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60172         <bp-checks.h>.
60173         (__fxstatat): Do not use CHECK_1.
60174         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60175         <bp-checks.h>.
60176         (__getresgid): Do not use CHECK_1.
60177         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60178         <bp-checks.h>.
60179         (__getresuid): Do not use CHECK_1.
60180         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60181         <bp-checks.h>.
60182         (__lxstat): Do not use CHECK_1.
60183         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60184         <bp-checks.h>.
60185         (__old_msgctl): Do not use CHECK_1.
60186         (__new_msgctl): Likewise.
60187         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60188         <bp-checks.h>.
60189         (__new_setrlimit): Do not use CHECK_1.
60190         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60191         <bp-checks.h>.
60192         (__old_shmctl): Do not use CHECK_1.
60193         (__new_shmctl): Likewise.
60194         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60195         <bp-checks.h>.
60196         (__xstat): Do not use CHECK_1.
60197         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60198         (__lxstat): Do not use CHECK_1.
60199         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60200         <bp-checks.h>.
60201         (___lxstat64): Do not use CHECK_1.
60202         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60203         (__old_msgctl): Do not use CHECK_1.
60204         (__new_msgctl): Likewise.
60205         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60206         <bp-checks.h>.
60207         (__gettimeofday): Do not use CHECK_1.
60208         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60209         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60210         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60211         <bp-checks.h>.
60212         (__gettimeofday): Do not use CHECK_1.
60213         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60214         (__old_shmctl): Do not use CHECK_1_NULL_OK.
60215         (__new_shmctl): Do not use CHECK_1.
60216         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60217         <bp-checks.h>.
60218         (do_sigtimedwait): Do not use CHECK_1.
60219         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60220         <bp-checks.h>.
60221         (do_sigwaitinfo): Do not use CHECK_1.
60222         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60223         <bp-checks.h>.
60224         (msgctl): Do not use CHECK_1.
60225         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60226         <bp-checks.h>.
60227         (shmctl): Do not use CHECK_1.
60228         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60229         (ustat): Do not use CHECK_1.
60230         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60231         <bp-checks.h>.
60232         (__fxstat): Do not use CHECK_1.
60233         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60234         <bp-checks.h>.
60235         (__fxstatat): Do not use CHECK_1.
60236         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60237         <bp-checks.h>.
60238         (__lxstat): Do not use CHECK_1.
60239         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60240         <bp-checks.h>.
60241         (__xstat): Do not use CHECK_1.
60242         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60243         (__xstat): Do not use CHECK_1.
60244         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60245         (___xstat64): Do not use CHECK_1.
60247         [BZ #13550]
60248         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60249         definitions.
60250         (CHECK_BOUNDS_HIGH): Likewise.
60251         * string/strcpy.c: Do not include <bp-checks.h>.
60252         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60254 2013-02-07  Roland McGrath  <roland@hack.frob.com>
60256         * nscd/nscd-client.h (__nscd_drop_map_ref):
60257         Add __attribute__ ((unused)).
60258         * nis/nss-nisplus.h (niserr2nss): Likewise.
60260         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60261         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60263         * csu/libc-tls.c (init_static_tls, init_slotinfo):
60264         Remove inline keyword.
60265         * include/rounding-mode.h (round_away): Likewise.
60266         * libio/wfileops.c (adjust_wide_data): Likewise.
60267         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60268         (__m128i_strloadu_tolower): Likewise.
60269         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60270         (__m128i_strloadu_tolower): Likewise.
60271         * time/mktime.c (ydhms_diff): Likewise.
60272         * locale/elem-hash.h (elem_hash): Likewise.
60273         * locale/setlocale.c (setdata): Likewise.
60274         * posix/regex_internal.h (re_string_char_size_at): Likewise.
60275         (re_string_wchar_at): Likewise.
60276         (bitset_not, bitset_merge, bitset_mask): Likewise.
60277         [!(__GNUC__ > 3)] (inline): Remove macro.
60278         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60279         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60280         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60281         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60282         * string/memcmp.c (memcmp_bytes): Likewise.
60283         * locale/programs/locarchive.c (compute_hashval): Likewise.
60284         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60285         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60286         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60287         * nss/getent.c (print_rpc, print_protocols): Likewise.
60288         (print_passwd, print_group, print_aliases): Likewise.
60289         * nis/nss-nisplus.h (niserr2nss): Likewise.
60290         * nscd/connections.c (restart_p): Likewise.
60291         Change return type to bool.
60293 2013-02-05  Roland McGrath  <roland@hack.frob.com>
60295         * Makeconfig (all-Depend-files): Add existing
60296         $(sorted-subdirs:=/Depend) files.
60297         (all-subdirs): Remove nss.
60298         * sysdeps/unix/inet/Subdirs: Add it here instead.
60299         * hesiod/Depend: New file.
60301         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60302         instead of calling alloca.
60304         * io/lseek.c (__lseek): Rename to __libc_lseek.
60305         Define __lseek as an alias.
60307         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60309 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
60311         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60312         else clause and remove check for non-standard endianness.
60314 2013-02-04  David S. Miller  <davem@davemloft.net>
60316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60318 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
60320         [BZ #13550]
60321         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60322         (__ubp_memchr): Remove prototype.
60323         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60324         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60325         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60326         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60327         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60328         Remove alias.
60329         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60330         (__ubp_memchr): Likewise.
60331         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60332         (__ubp_memchr): Likewise.
60333         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60334         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60335         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60336         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60337         CHECK_STRING.
60338         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60339         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60340         (__getcwd): Do not use CHECK_STRING.
60341         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60342         <bp-checks.h>.
60343         (__real_chown): Do not use CHECK_STRING.
60344         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60345         <bp-checks.h>.
60346         (fchownat): Do not use CHECK_STRING.
60347         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60348         CHECK_STRING.
60349         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60350         <bp-checks.h>.
60351         (__lchown): Do not use CHECK_STRING.
60352         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60353         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60354         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60355         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60357         include <bp-checks.h>.
60358         (truncate64): Do not use CHECK_STRING.
60359         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60360         <bp-checks.h>.
60361         (__real_chown): Do not use CHECK_STRING.
60362         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60363         <bp-checks.h>.
60364         (__lchown): Do not use CHECK_STRING.
60365         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60366         <bp-checks.h>.
60367         (__chown): Do not use CHECK_STRING.
60368         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60369         <bp-checks.h>.
60370         (truncate64): Do not use CHECK_STRING.
60371         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60372         Likewise.
60373         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60374         (__xmknod): Do not use CHECK_STRING.
60375         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60376         <bp-checks.h>.
60377         (__xmknodat): Do not use CHECK_STRING.
60378         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60379         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60381 2013-02-04  Andreas Schwab  <schwab@suse.de>
60383         [BZ #14142]
60384         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60385         * include/netdb.h: Likewise for h_errno.
60386         * elf/tst-stackguard1.c: Include <tls.h>.
60388 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
60390         * elf/link.h (struct link_map): Extend the l_addr comment.
60391         * include/link.h (struct link_map): Likewise.
60393 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
60395         [BZ #13550]
60396         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60397         (BOUNDED_1): Remove macro.
60398         * debug/backtrace.c: Don't include <bp-checks.h>.
60399         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60400         (__backtrace): Likewise.
60401         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60402         <bp-checks.h>.
60403         (__backtrace): Don't use BOUNDED_1.
60404         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60405         <bp-checks.h>.
60406         (__backtrace): Don't use BOUNDED_1.
60407         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60408         (__backtrace): Don't use BOUNDED_1.
60409         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60410         (shmat): Don't use BOUNDED_N.
60412 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
60414         [BZ #13550]
60415         * sysdeps/generic/bp-start.h: Remove file.
60416         * csu/libc-start.c: Don't include <bp-start.h>.
60417         (LIBC_START_MAIN): Set up __environ directly instead of using
60418         INIT_ARGV_and_ENVIRON.
60419         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60420         <bp-start.h>.
60422         [BZ #13550]
60423         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60424         definitions.
60425         (CHECK_FCNTL): Likewise.
60426         (CHECK_N_PAGES): Likewise.
60428         [BZ #13550]
60429         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60430         definitions.
60431         (CHECK_SIGSET_NULL_OK): Likewise.
60432         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60433         <bp-checks.h>.
60434         (sigpending): Don't use CHECK_SIGSET.
60435         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60436         <bp-checks.h>.
60437         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60438         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60439         <bp-checks.h>.
60440         (do_sigsuspend): Don't use CHECK_SIGSET.
60441         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60442         use CHECK_SIGSET.
60443         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60444         (do_sigwait): Don't use CHECK_SIGSET.
60445         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60446         use CHECK_SIGSET.
60447         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60448         include <bp-checks.h>.
60449         (sigpending): Don't use CHECK_SIGSET.
60450         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60451         include <bp-checks.h>.
60452         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60453         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60454         <bp-checks.h>.
60455         (sigpending): Don't use CHECK_SIGSET.
60456         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60457         <bp-checks.h>.
60458         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60460         [BZ #13550]
60461         * sysdeps/generic/bp-semctl.h: Remove file.
60462         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60463         <bp-checks.h> and <bp-semctl.h>.
60464         (__old_semctl): Don't use CHECK_SEMCTL.
60465         (__new_semctl): Likewise.
60466         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60467         and <bp-semctl.h>.
60468         (__old_semctl): Don't use CHECK_SEMCTL.
60469         (__new_semctl): Likewise.
60470         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60471         <bp-checks.h> and <bp-semctl.h>.
60472         (__old_semctl): Don't use CHECK_SEMCTL.
60473         (__new_semctl): Likewise.
60474         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60475         <bp-checks.h> and <bp-semctl.h>.
60476         (semctl): Don't use CHECK_SEMCTL.
60478         [BZ #13550]
60479         * Makerules (elide-bp-thunks): Remove variable.
60480         (elide-routines.oS): Don't use $(elide-bp-thunks).
60481         (elide-routines.os): Likewise.
60482         (elide-routines.o): Likewise.
60483         (elide-routines.op): Likewise.
60484         (elide-routines.og): Likewise.
60485         (objects): Don't use $(bp-thunks).
60486         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60487         include.
60488         (common-generated): Do not add s-proto-bp.d.
60489         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60490         (int): Likewise.
60491         (typ): Likewise.
60492         Do not generate makefile rules for bounded-pointer thunks.
60493         * sysdeps/generic/bp-thunks.h: Remove file.
60494         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60495         * sysdeps/unix/s-proto-bp.S: Likewise.
60497         [BZ #15062]
60498         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60499         parts of result separately when argument is not close to line from
60500         -i to i and one part of argument is small.
60501         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60502         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60503         * math/libm-test.inc (cacos_test): Add more tests.
60504         (casin_test): Likewise.
60505         (casinh_test): Likewise.
60506         * sysdeps/i386/fpu/libm-test-ulps: Update.
60507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60509 2013-01-31  David S. Miller  <davem@davemloft.net>
60511         * po/de.po: Update from translation team.
60513 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
60515         * time/tzfile.c: Include stdint.h for SIZE_MAX.
60517 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
60519         * configure.in (_AC_PROG_CC_C89): New definition.
60520         * configure: Regenerate.
60522         * configure.in (AC_PROG_CPP): New definition.
60523         * configure: Regenerate.
60525 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60527         * debug/tst-backtrace.h: New file.
60528         * debug/tst-backtrace2.c: Include tst-backtrace.h.
60529         (ret): Remove variable.
60530         (x): Likewise.
60531         (FAIL): Remove macro.
60532         (NO_INLINE): Likewise.
60533         (fn1): Use match function instead of strstr.
60534         * debug/tst-backtrace3.c: Include tst-backtrace.h.
60535         (ret): Remove variable.
60536         (x): Likewise.
60537         (FAIL): Remove macro.
60538         (NO_INLINE): Likewise.
60539         (fn): Use match function instead of strstr.
60540         * debug/tst-backtrace4.c: Include tst-backtrace.h.
60541         (ret): Remove variable.
60542         (x): Likewise.
60543         (FAIL): Remove macro.
60544         (NO_INLINE): Likewise.
60545         (handle_signal): Use match function instead of strstr.
60546         * debug/tst-backtrace5.c: Include tst-backtrace.h.
60547         (ret): Remove variable.
60548         (x): Likewise.
60549         (FAIL): Remove macro.
60550         (NO_INLINE): Likewise.
60551         (handle_signal): Use match function instead of strstr.
60553 2013-01-23  Roland McGrath  <roland@hack.frob.com>
60555         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60557 2013-01-23  David S. Miller  <davem@davemloft.net>
60559         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60560         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60561         argument of CAS if possible.
60562         * sysdeps/sparc/sparc64/bits/atomic.h
60563         (__arch_compare_and_exchange_val_32_acq): Likewise.
60564         (__arch_compare_and_exchange_val_64_acq): Likewise.
60566 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
60568         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60569         * sysdeps/posix/ulimit.c: ... this.
60570         Include <limits.h>.
60571         * sysdeps/unix/bsd/ulimit.c: Remove file.
60573 2013-01-23  Adam Conrad  <adconrad@0c3.net>
60575         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60576         (LDFLAGS-tst-array5): Likewise.
60578 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60580         [BZ #15036]
60581         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60582         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60583         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60584         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60586 2013-01-21  David S. Miller  <davem@davemloft.net>
60588         * sysdeps/sparc/backtrace.c: New file.
60589         * sysdeps/sparc/sparc32/backtrace.h: New file.
60590         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60591         * sysdeps/sparc/sparc64/backtrace.h: New file.
60592         * sysdeps/sparc/sparc64/backtrace.c: Delete.
60593         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60594         -funwind-tables.
60596 2013-01-21  Andreas Schwab  <schwab@suse.de>
60598         [BZ #15020]
60599         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60600         closed its stdout.
60602 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
60604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60605         "mpa2.h".
60606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60608 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
60609             Mark Mitchell  <mark@codesourcery.com>
60610             Tom de Vries  <tom@codesourcery.com>
60611             Paul Pluzhnikov  <ppluzhnikov@google.com>
60613         * debug/tst-backtrace2.c: New file.
60614         * debug/tst-backtrace3.c: Likewise.
60615         * debug/tst-backtrace4.c: Likewise.
60616         * debug/tst-backtrace5.c: Likewise.
60617         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60618         (CFLAGS-tst-backtrace3.c): Likewise.
60619         (CFLAGS-tst-backtrace4.c): Likewise.
60620         (CFLAGS-tst-backtrace5.c): Likewise.
60621         (LDFLAGS-tst-backtrace2): Likewise.
60622         (LDFLAGS-tst-backtrace3): Likewise.
60623         (LDFLAGS-tst-backtrace4): Likewise.
60624         (LDFLAGS-tst-backtrace5): Likewise.
60625         (tests): Add new tests tst-backtrace2, tst-backtrace3,
60626         tst-backtrace4 and tst-backtrace5.
60628 2013-01-18  Anton Blanchard  <anton@samba.org>
60629             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60631         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60632         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60633         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60634         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60636         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60637         "+r" and remove output regs list as redundant.  Add explicit inline
60638         asm to specify register of return val to work around compiler codegen
60639         bug.  Remove (int) cast on return value.  Add return type parameter to
60640         use in macro so that this macro does not truncate return value for
60641         64-bit values.
60642         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60643         pass to INTERNAL_VSYSCALL_NCS.
60644         (INLINE_VSYSCALL): Add 'long int' as return type to
60645         INTERNAL_VSYSCALL_NCS macro invocation.
60646         (INTERNAL_VSYSCALL): Add 'long int' as return type to
60647         INTERNAL_VSYSCALL_NCS macro invocation.
60648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60650 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60652         [BZ #14496]
60653         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60654         Fix application of SIMD FP exception mask.
60656         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60657         mp_no from a power of two.
60658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60659         __mpexp_twomm1.  Use __pow_mp.
60661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60662         multiplication.
60664 2013-01-17  David S. Miller  <davem@davemloft.net>
60666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60668 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60670         [BZ #15023]
60671         * include/complex.h: Condition contents on [!_COMPLEX_H].
60672         (__kernel_casinhf): New prototype.
60673         (__kernel_casinh): Likewise.
60674         (__kernel_casinhl): Likewise.
60675         * math/Makefile (libm_calls): Add k_casinh.
60676         * math/k_casinh.c: New file.
60677         * math/k_casinhf.c: Likewise.
60678         * math/k_casinhl.c: Likewise.
60679         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60680         finite nonzero arguments.
60681         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60682         finite nonzero arguments.
60683         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60684         finite nonzero arguments.
60685         * math/s_casinh.c: Do not include <float.h>.
60686         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60687         * math/s_casinhf.c: Do not include <float.h>.
60688         (__casinhf): Move code for finite nonzero arguments to
60689         k_casinhf.c.
60690         * math/s_casinhl.c: Do not include <float.h>.
60691         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60692         redefine.
60693         (__casinhl): Move code for finite nonzero arguments to
60694         k_casinhl.c.
60695         * math/libm-test.inc (cacos_test): Add more tests.
60696         * sysdeps/i386/fpu/libm-test-ulps: Update.
60697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60699 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
60701         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60702         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60703         [!HAVE_MREMAP]: Remove [defined linux] case.
60704         * malloc/arena.c: Do not include <malloc-sysdep.h>.
60706 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60708         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60710 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
60712         * elf/elf.h (R_386_SIZE32): New relocation.
60713         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60714         R_386_SIZE32.
60715         (elf_machine_rela): Likewise.
60716         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60717         R_X86_64_SIZE64 and R_X86_64_SIZE32.
60719 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60721         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60722         (FP_FAST_FMA): Do not define.
60723         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60724         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60725         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60726         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60727         !_SOFT_FLOAT]: Likewise.
60728         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60729         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60730         value.
60731         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60732         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60733         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60734         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60735         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60736         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60737         file.
60739 2013-01-16  Andreas Schwab  <schwab@suse.de>
60741         [BZ #14327]
60742         * include/stdlib.h (__mktemp): Add declaration.
60743         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60744         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60746 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60748         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60749         definitions.
60750         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60751         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60752         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60753         definitions here.
60754         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60755         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60756         definitions.
60757         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60758         and ONE.
60759         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60760         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60761         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60762         definitions.
60763         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60764         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60765         definitions.
60766         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60768         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60770 2013-01-15  David S. Miller  <davem@davemloft.net>
60772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60773         trunc{,f} to libm-sysdep_routes.
60774         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60776         file.
60777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60779         file.
60780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60781         file.
60782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60784         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60785         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60786         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60787         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60788         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60789         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60792         nearbyint{,f} to libm-sysdep_routes.
60793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60795         New file.
60796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60797         file.
60798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60799         New file.
60800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60801         file.
60802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60804         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60805         file.
60806         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60807         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60808         file.
60809         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60810         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60811         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60813         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60814         libc_feholdexcept and libc_fesetenv.
60816 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
60818         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60820 2013-01-14  David S. Miller  <davem@davemloft.net>
60822         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60823         (SPARC_ASM_VIS2_IFUNC): Likewise.
60824         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60826         use of 'siam' instruction.
60827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60828         Likewise.
60829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60830         Likewise.
60831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60832         Likewise.
60833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60838         file.
60839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60840         file.
60841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60842         file.
60843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60844         file.
60845         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60847         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60850         new VIS2 routines.
60851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60854         Likewise.
60855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60860         routines to libm-sysdep_routines.
60861         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60864         fdim/fdimf to libm-sysdep_routines.
60865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60866         file.
60867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60869         file.
60870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
60871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
60872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
60873         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
60874         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
60875         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
60876         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
60878 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60880         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
60881         to optimize copies.
60883         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
60884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
60888         local variable MPTWO.
60889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60890         Likewise.
60892 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60894         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
60895         GLOB_NOESCAPE.
60897 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60899         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
60901 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60903         * manual/pattern.texi (glob_t): Document gl_flags.
60904         (glob64_t): Likewise.
60906 2013-01-11  David S. Miller  <davem@davemloft.net>
60908         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
60909         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
60910         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
60911         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
60912         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
60913         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
60914         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
60915         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
60916         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
60917         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
60918         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
60919         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
60920         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
60922         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60923         sparc V9 rather than using V8 code.
60924         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60925         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60927         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60928         Move to...
60929         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
60930         Here.
60932 2013-01-11  Roland McGrath  <roland@hack.frob.com>
60934         [BZ #14941]
60935         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
60936         not in the main loop.
60937         * configure: Regenerated.
60939 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
60941         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
60942         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
60943         to just #else.
60944         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
60945         [!__GLIBC_HAVE_LONG_LONG] case.
60946         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
60947         condition to just #else.
60948         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
60949         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
60950         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
60951         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
60952         unconditional.
60953         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
60954         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
60955         #elif condition to just #else.
60956         * sysdeps/unix/sysv/linux/sys/sysmacros.h
60957         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
60958         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
60959         #elif condition to just #else.
60961 2013-01-11  Steve Ellcey  <sellcey@mips.com>
60963         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
60964         (EF_MIPS_ARCH_64): Fix value.
60965         (EF_MIPS_ARCH_32R2): New.
60966         (EF_MIPS_ARCH_64R2): New.
60968 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
60970         * Makeconfig (+link-pie-before-libc): New.
60971         (+link-pie-after-libc): Likewise.
60972         (+link-pie-tests): Likewise.
60973         (+link-pie): Rewritten.
60974         (link-before-libc): Remove $(config-LDFLAGS).
60975         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
60976         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
60977         (config-LDFLAGS): Renamed to ...
60978         (rtld-LDFLAGS): This.
60979         (rtld-tests-LDFLAGS): New macro.
60980         (link-libc-rpath-link): Likewise.
60981         (link-libc-tests-rpath-link): Likewise.
60982         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
60983         (link-libc): Prepand $(link-libc-rpath-link).
60984         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
60985         (test-program-prefix): New macro.
60986         (test-via-rtld-prefix): Likewise.
60987         (test-program-cmd): Likewise.
60988         (host-test-program-cmd): Likewise.
60989         * Makefile ($(common-objpfx)testrun.sh): Replace
60990         $(run-program-prefix) with $(test-program-prefix).
60991         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
60992         $(rtld-LDFLAGS).
60993         ($(common-objpfx)shlib.lds): Likewise.
60994         (build-module-helper): Likewise.
60995         ($(common-objpfx)format.lds): Likewise.
60996         * Rules (binaries-pie-tests): New.
60997         (binaries-pie-notests): Likewise.
60998         (binaries-pie): Rewritten.
60999         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61000         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61001         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61002         (make-test-out): Replace $(host-built-program-cmd) with
61003         $(host-test-program-cmd).
61004         * config.make.in (build-hardcoded-path-in-tests): New variable.
61005         * configure.in (--enable-hardcoded-path-in-tests): New configure
61006         option.
61007         (hardcoded_path_in_tests): New AC_SUBST.
61008         * configure: Regenerated.
61009         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61010         $(built-program-cmd) with $(test-program-cmd).
61011         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61012         (test_program_cmd): This.
61013         * elf/Makefile ($(objpfx)order.out): Run test with
61014         $(test-program-prefix).
61015         ($(objpfx)order2.out): Likewise.
61016         ($(objpfx)tst-initorder.out): Likewise.
61017         ($(objpfx)tst-initorder2.out): Likewise.
61018         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61019         $(test-program-cmd).
61020         ($(objpfx)tst-array1-static.out): Likewise.
61021         ($(objpfx)tst-array2.out): Likewise.
61022         ($(objpfx)tst-array3.out): Likewise.
61023         ($(objpfx)tst-array4.out): Likewise.
61024         ($(objpfx)tst-array5.out): Likewise.
61025         ($(objpfx)tst-array5-static.out): Likewise.
61026         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61027         $(test-program-cmd).
61028         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61029         $(run-program-prefix) with $(test-program-prefix).
61030         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61031         (test_program_prefix): This.
61032         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61033         $(run-program-prefix) with $(test-program-prefix).
61034         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61035         (test_program_prefix): This.
61036         * iconvdata/tst-tables.sh: Likewise.
61037         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61038         $(run-program-prefix) with $(test-program-prefix).
61039         ($(objpfx)tst-translit.out): Likewise.
61040         ($(objpfx)tst-gettext2.out): Likewise.
61041         ($(objpfx)tst-gettext4.out): Likewise.
61042         ($(objpfx)tst-gettext6.out): Likewise.
61043         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61044         (test_program_prefix): This.
61045         * intl/tst-gettext2.sh: Likewise.
61046         * intl/tst-gettext4.sh  Likewise.
61047         * intl/tst-gettext6.sh: Likewise.
61048         * intl/tst-translit.sh: Likewise.
61049         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61050         with $(test-program-cmd).
61051         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61052         $(run-program-prefix) with $(test-program-prefix).
61053         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61054         (test_program_prefix): This.
61055         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61056         $(run-program-prefix) with $(test-program-prefix).
61057         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61058         (test_program_prefix): This.
61059         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61060         * posix/Makefile ($(objpfx)globtest.out): Replace
61061         $(run-via-rtld-prefix) and $(test-wrapper) with
61062         $(test-program-prefix) and $(test-via-rtld-prefix).
61063         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61064         $(test-program-prefix).
61065         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61066         $(host-test-program-cmd).
61067         (tst-spawn-ARGS): Likewise.
61068         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61069         $(test-program-prefix).
61070         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61071         (test_via_rtld_prefix): This.
61072         (test_wrapper): Renamed to ...
61073         (test_program_prefix): This.
61074         (run_program_prefix): Replaced by test_program_prefix.
61075         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61076         (test_program_prefix): This.
61077         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61078         with $(host-test-program-cmd).
61079         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61080         $(run-program-prefix) with $(test-program-prefix).
61081         ($(objpfx)tst-printf.out): Likewise.
61082         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61083         $(test-program-cmd).
61084         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61085         (test_program_prefix): This.
61086         * stdio-common/tst-unbputc.sh: Likewise.
61087         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61088         $(run-program-prefix) with $(test-program-prefix).
61089         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61090         (test_program_prefix): This.
61091         * string/Makefile ($(objpfx)tst-svc.out):  Replace
61092         $(built-program-cmd) with $(test-program-cmd).
61094 2013-01-11  Andreas Jaeger  <aj@suse.de>
61096         [BZ #15003]
61097         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61098         value. Sync with Linux 3.7.
61100 2013-01-10  David S. Miller  <davem@davemloft.net>
61102         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61103         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61104         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61106 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61108         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61109         never set.
61110         * configure: Regenerated.
61112 2013-01-10  David S. Miller  <davem@davemloft.net>
61114         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61115         sparc V9 rather than using V8 code.
61116         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61117         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61119 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61121         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61122         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61123         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61124         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61125         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61126         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61127         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61128         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61129         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61130         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61131         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61132         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61133         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61134         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61135         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61136         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61137         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61138         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61139         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61140         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61141         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61142         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61143         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61144         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61145         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61146         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61147         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61149 2013-01-10  David S. Miller  <davem@davemloft.net>
61151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61153 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61155         * posix/Makefile (tests-static): New variable.
61156         (tests): Add $(tests-static).
61157         (tst-exec-static-ARGS): New variable.
61158         (tst-spawn-static-ARGS): Likewise.
61159         * posix/tst-exec-static.c: New file.
61160         * posix/tst-spawn-static.c: Likewise.
61161         * posix/tst-exec.c: Support run directly.
61162         * posix/tst-spawn.c: Likewise.
61164 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
61166         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61167         long.
61168         * math/bits/mathcalls.h (llrint): Likewise.
61169         (llround): Likewise.
61170         * stdlib/stdlib.h (struct drand48_data): Likewise.
61171         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61172         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61173         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61174         Likewise.
61175         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61176         Likewise.
61177         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61178         (elf_greg_t): Likewise.
61179         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61180         (__jmp_buf): Likewise.
61181         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61182         definitions.
61183         (llrint): Likewise, for all definitions.
61184         (llrintl): Likewise.
61186         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61187         Remove [__GNUC__] condition.
61188         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61189         condition to just [__USE_ISOC99].
61190         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61192 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61194         [BZ #14200]
61195         * sysdeps/unix/sysv/linux/x86/bits/environments.h
61196         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61197         defined.
61198         (_POSIX_V6_ILP32_OFF32): Likewise.
61199         (_XBS5_ILP32_OFF32): Likewise.
61200         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61201         (__ILP32_OFFBIG_LDFLAGS): Likewise.
61203 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61205         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61208         doubles __mpexp_twomm1.  Adjust usage.
61209         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61210         Remove.
61212 2013-01-10  Andreas Schwab  <schwab@suse.de>
61214         [BZ #14964]
61215         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61216         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61218 2013-01-09  David S. Miller  <davem@davemloft.net>
61220         [BZ #15003]
61221         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61222         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61223         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61224         (TCP_FASTOPEN): Define.
61225         (tcp_repair_opt): New structure.
61226         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61227         enum values.
61228         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61229         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61230         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61231         (tcp_cookie_transactions): New structure.
61233 2013-01-09  Anton Blanchard  <anton@samba.org>
61235         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61236         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61237         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61238         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61240 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
61242         * include/features.h (__USE_ANSI): Remove.
61244 2013-01-09  Roland McGrath  <roland@hack.frob.com>
61246         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61248         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61250 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
61252         * sysdeps/s390/fpu/libm-test-ulps: Update.
61254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61256         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61257         (__acr): Likewise.
61258         (__cpy): Likewise.
61259         (norm): Likewise.
61260         (denorm): Likewise.
61261         (__mp_dbl): Likewise.
61262         (__dbl_mp): Likewise.
61263         (add_magnitudes): Likewise.
61264         (sub_magnitudes): Likewise.
61265         (__add): Likewise.
61266         (__sub): Likewise.
61267         (__mul): Likewise.
61268         (__inv): Likewise.
61269         (__dvd): Likewise.
61270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61271         (__acr): Likewise.
61272         (__cpy): Likewise.
61273         (norm): Likewise.
61274         (denorm): Likewise.
61275         (__mp_dbl): Likewise.
61276         (__dbl_mp): Likewise.
61277         (add_magnitudes): Likewise.
61278         (sub_magnitudes): Likewise.
61279         (__add): Likewise.
61280         (__sub): Likewise.
61281         (__mul): Likewise.
61282         (__inv): Likewise.
61283         (__dvd): Likewise.
61284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61285         (__acr): Likewise.
61286         (__cpy): Likewise.
61287         (norm): Likewise.
61288         (denorm): Likewise.
61289         (__mp_dbl): Likewise.
61290         (__dbl_mp): Likewise.
61291         (add_magnitudes): Likewise.
61292         (sub_magnitudes): Likewise.
61293         (__add): Likewise.
61294         (__sub): Likewise.
61295         (__mul): Likewise.
61296         (__inv): Likewise.
61297         (__dvd): Likewise.
61299 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
61301         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61302         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61303         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61304         2 && __USE_EXTERN_INLINES]: Likewise.
61306 2013-01-08  Andreas Jaeger  <aj@suse.de>
61308         [BZ# 14985]
61309         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61310         Remove.
61311         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61312         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61314 2013-01-07  Anton Blanchard  <anton@samba.org>
61316         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61317         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61318         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61319         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61320         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61321         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61322         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61323         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61325         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61326         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61327         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61328         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61329         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61330         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61331         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61332         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61333         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61334         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61335         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61336         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61337         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61338         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61339         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61340         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61341         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61342         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61343         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61344         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61345         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61346         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61348         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61349         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61350         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61351         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61352         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61353         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61354         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61355         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61356         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61357         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61358         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61360 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
61362         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61363         (__MALLOC_PMT): Likewise.
61364         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61365         [__GNUC__], only on [_LIBC].
61366         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61367         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61368         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61369         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61370         forward declaration.
61371         (realloc_hook_ini): Likewise.
61372         (memalign_hook_ini): Likewise.
61373         (__libc_memalign): Do not use __MALLOC_PMT in variable
61374         declaration.
61375         (__libc_valloc): Likewise.
61376         (__libc_pvalloc): Likewise.
61377         (__libc_calloc): Likewise.
61378         (__posix_memalign): Likewise.
61380         [BZ #14996]
61381         * math/s_casinh.c: Include <float.h>.
61382         (__casinh): Do not do computation with squaring and square root
61383         for large arguments.
61384         * math/s_casinhf.c: Include <float.h>.
61385         (__casinhf): Do not do computation with squaring and square root
61386         for large arguments.
61387         * math/s_casinhl.c: Include <float.h>.
61388         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61389         (__casinhl): Do not do computation with squaring and square root
61390         for large arguments.
61391         * math/libm-test.inc (casin_test): Add more tests.
61392         (casinh_test): Likewise.
61393         * sysdeps/i386/fpu/libm-test-ulps: Update.
61394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61396 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
61398         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61399         (__x86_64_raw_data_cache_size): Likewise.
61400         (__x86_64_data_cache_size_half): Likewise.
61401         (__x86_64_raw_data_cache_size_half): Likewise.
61402         (__x86_64_shared_cache_size): Likewise.
61403         (__x86_64_raw_shared_cache_size): Likewise.
61404         (__x86_64_shared_cache_size_half): Likewise.
61405         (__x86_64_raw_shared_cache_size_half): Likewise.
61406         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61407         to ...
61408         (__x86_data_cache_size): This.
61409         (__x86_64_raw_data_cache_size): Renamed to ...
61410         (__x86_raw_data_cache_size): This.
61411         (__x86_64_data_cache_size_half): Renamed to ...
61412         (__x86_data_cache_size_half): This.
61413         (__x86_64_raw_data_cache_size_half): Renamed to ...
61414         (__x86_raw_data_cache_size_half): This.
61415         (__x86_64_shared_cache_size): Renamed to ...
61416         (__x86_shared_cache_size): This.
61417         (__x86_64_raw_shared_cache_size): Renamed to ...
61418         (__x86_raw_shared_cache_size): This.
61419         (__x86_64_shared_cache_size_half): Renamed to ...
61420         (__x86_shared_cache_size_half): This.
61421         (__x86_64_raw_shared_cache_size_half): Renamed to ...
61422         (__x86_raw_shared_cache_size_half): This.
61423         * sysdeps/x86_64/memcpy.S: Updated.
61424         * sysdeps/x86_64/memset.S: Likewise.
61425         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61427         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61429 2013-01-04  David S. Miller  <davem@davemloft.net>
61431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61433 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
61435         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61436         1 to avoid redefinition warning.
61437         (__USE_GNU): Don't define.
61438         (init_signaling_nan): Protoize.
61440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61442 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61444         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61446         (__cpymn): Likewise.
61447         (norm): Remove commented code.
61448         (denorm): Likewise.
61449         (__mp_dbl): Likewise.
61450         (__inv): Likewise.
61451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61452         (__cpymn): Likewise.
61453         (norm): Remove commented code.
61454         (denorm): Likewise.
61455         (__mp_dbl): Likewise.
61456         (__inv): Likewise.
61458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61459         mp_no value for 1.0 and 2.0.
61460         (norm): Use RADIXI instead of radixi.d.
61461         (denorm): Likewise.
61462         (__mul): Use 0.0 instead of zero.d.
61463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61464         mp_no value for 1.0 and 2.0.
61465         (norm): Use RADIXI instead of radixi.d.
61466         (denorm): Likewise.
61467         (__mul): Use 0.0 instead of zero.d.
61469 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
61471         [BZ #14994]
61472         * math/s_casinh.c (__casinh): Reduce finite argument to first
61473         quadrant then set signs of results at the end.
61474         * math/s_casinhf.c (__casinhf): Likewise.
61475         * math/s_casinhl.c (__casinhl): Likewise.
61476         * math/libm-test.inc (casin_test): Add more tests.
61477         (casinh_test): Likewise.
61478         * sysdeps/i386/fpu/libm-test-ulps: Update.
61479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61481 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61483         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61485         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61487         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61488         declarations.
61489         (denorm): Likewise.
61490         (__mp_dbl): Likewise.
61491         (__inv): Likewise.
61493         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61494         and adjust the header comment.
61496         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61497         variable name from declaration.
61499 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
61501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61502         Initialize COMMON_CPUID_INDEX_7 element.
61503         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61504         (CPUID_RTM): Likewise.
61505         (HAS_RTM): Likewise.
61506         (COMMON_CPUID_INDEX_7): New enum.
61508 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
61510         [BZ #14981]
61511         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61512         size is zero, record memory as freed.
61514 2013-01-03  Andreas Jaeger  <aj@suse.de>
61516         * po/ia.po: Add new Interlingua translation.
61518 2012-01-03  Allan McRae  <allan@archlinux.org>
61520         * locale/programs/localedef.c: Fix description of '--posix' flag.
61522 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
61524         * NEWS: Update dates in second copyright notice.
61525         * README: Update copyright dates in example.
61526         * manual/libc.texinfo: Update copyright dates.
61527         * scripts/test-installation.pl: Update copyright date in --version
61528         output.
61530         * hurd/ctty-input.c: Fix copyright notice formatting.
61531         * hurd/ctty-output.c: Likewise.
61532         * hurd/dtable.c: Likewise.
61533         * hurd/hurd-raise.c: Likewise.
61534         * hurd/hurdprio.c: Likewise.
61535         * hurd/msgportdemux.c: Likewise.
61536         * misc/sys/file.h: Likewise.
61537         * misc/sys/ioctl.h: Likewise.
61538         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61539         * sysdeps/mach/hurd/chdir.c: Likewise.
61540         * sysdeps/mach/hurd/fchdir.c: Likewise.
61541         * sysdeps/mach/hurd/rename.c: Likewise.
61542         * sysdeps/mach/hurd/rmdir.c: Likewise.
61543         * sysdeps/mach/hurd/seekdir.c: Likewise.
61544         * sysdeps/mach/hurd/setsid.c: Likewise.
61545         * sysdeps/posix/wait3.c: Likewise.
61547         * All files with FSF copyright notices: Update copyright dates
61548         using scripts/update-copyrights.
61549         * intl/plural.c: Regenerated.
61550         * locale/programs/charmap-kw.h: Likewise.
61551         * locale/programs/locfile-kw.h: Likewise.
61553 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61555         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61556         four values.
61558         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61559         calculation loop and add branch prediction.
61561         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61562         check access beyond bounds of m1np.
61564         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61565         MPTWO.
61566         (__inv): Remove local variable MPTWO to use the global
61567         constant.
61568         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61570         variable MPTWO.
61571         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61572         MP3HALFS static const.
61574 2013-01-01  David S. Miller  <davem@davemloft.net>
61576         * po/ca.po: Update from translation team.
61578 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
61580         * scripts/update-copyrights: New file.
61581         * Makeconfig: Reformat copyright notice.
61582         * ctype/ctype.h: Likewise.
61583         * debug/swprintf_chk.c: Likewise.
61584         * elf/dl-cache.c: Likewise.
61585         * elf/dl-debug.c: Likewise.
61586         * elf/dl-object.c: Likewise.
61587         * grp/initgroups.c: Likewise.
61588         * hurd/Makefile: Likewise.
61589         * hurd/hurd/signal.h: Likewise.
61590         * hurd/hurdfault.c: Likewise.
61591         * hurd/hurdioctl.c: Likewise.
61592         * hurd/hurdlookup.c: Likewise.
61593         * hurd/intr-msg.c: Likewise.
61594         * iconv/gconv_open.c: Likewise.
61595         * libio/swprintf.c: Likewise.
61596         * locale/lc-ctype.c: Likewise.
61597         * locale/nl_langinfo.c: Likewise.
61598         * mach/Machrules: Likewise.
61599         * mach/Makefile: Likewise.
61600         * malloc/obstack.h: Likewise.
61601         * manual/Makefile: Likewise.
61602         * manual/tsort.awk: Likewise.
61603         * misc/bits/stab.def: Likewise.
61604         * nis/nis_print_group_entry.c: Likewise.
61605         * nis/nis_table.c: Likewise.
61606         * nis/nss_compat/compat-pwd.c: Likewise.
61607         * nis/nss_compat/compat-spwd.c: Likewise.
61608         * po/Makefile: Likewise.
61609         * posix/fnmatch.c: Likewise.
61610         * posix/regex.h: Likewise.
61611         * resolv/Makefile: Likewise.
61612         * resolv/nss_dns/dns-network.c: Likewise.
61613         * resolv/res_hconf.c: Likewise.
61614         * scripts/gen-sorted.awk: Likewise.
61615         * soft-fp/soft-fp.h: Likewise.
61616         * stdio-common/printf.h: Likewise.
61617         * stdlib/monetary.h: Likewise.
61618         * stdlib/random.c: Likewise.
61619         * stdlib/random_r.c: Likewise.
61620         * sysdeps/generic/Makefile: Likewise.
61621         * sysdeps/gnu/Makefile: Likewise.
61622         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61623         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61626         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61627         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61628         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61629         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61630         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61632         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61633         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61634         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61635         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61636         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61637         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61638         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61639         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61640         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61641         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61642         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61643         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61644         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61645         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61646         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61647         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61648         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61649         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61650         * sysdeps/mach/hurd/errnos.awk: Likewise.
61651         * sysdeps/mach/hurd/fork.c: Likewise.
61652         * sysdeps/mach/hurd/getcwd.c: Likewise.
61653         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61654         * sysdeps/mach/hurd/mmap.c: Likewise.
61655         * sysdeps/mach/hurd/utimes.c: Likewise.
61656         * sysdeps/mach/hurd/xmknod.c: Likewise.
61657         * sysdeps/posix/profil.c: Likewise.
61658         * sysdeps/posix/readdir_r.c: Likewise.
61659         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61660         * sysdeps/powerpc/bits/setjmp.h: Likewise.
61661         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61662         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61664         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61665         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61666         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61668         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61669         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61670         * sysdeps/pthread/lio_listio.c: Likewise.
61671         * sysdeps/sparc/dl-procinfo.h: Likewise.
61672         * sysdeps/unix/i386/sysdep.S: Likewise.
61673         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61674         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61675         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61676         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61678         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61679         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61680         * sysdeps/unix/sysv/linux/speed.c: Likewise.
61681         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61682         * sysdeps/wordsize-32/divdi3.c: Likewise.
61683         * time/sys/time.h: Likewise.
61684         * wcsmbs/Makefile: Likewise.
61686 2013-01-01  David S. Miller  <davem@davemloft.net>
61688         * po/fr.po: Update from translation team.
61690         * catgets/gencat.c: Update copyright year.
61691         * csu/version.c: Likewise.
61692         * debug/catchsegv.sh: Likewise.
61693         * debug/pcprofiledump.c: Likewise.
61694         * debug/xtrace.sh: Likewise.
61695         * elf/ldconfig.c: Likewise.
61696         * elf/ldd.bash.in: Likewise.
61697         * elf/pldd.c: Likewise.
61698         * elf/sotruss.ksh: Likewise.
61699         * elf/sprof.c: Likewise.
61700         * iconv/iconv_prog.c: Likewise.
61701         * iconv/iconvconfig.c: Likewise.
61702         * locale/programs/locale.c: Likewise.
61703         * locale/programs/localedef.c: Likewise.
61704         * login/programs/pt_chown.c: Likewise.
61705         * malloc/memusage.sh: Likewise.
61706         * malloc/memusagestat.c: Likewise.
61707         * malloc/mtrace.pl: Likewise.
61708         * nscd/nscd.c: Likewise.
61709         * nss/getent.c: Likewise.
61710         * nss/makedb.c: Likewise.
61711         * posix/getconf.c: Likewise.
61713 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61715         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61716         numbers.
61718 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
61720         * math/bits/mathcalls.h (modf): Use __nonnull.
61722 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61724         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61725         (split): Use macro CN instead of the bare value.
61726         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61727         could be used.
61728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61729         instead of the bare value.
61730         (power1): Likewise.
61732 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61734         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61735         __ATAN_TWOM.
61736         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61738         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61739         their values.
61740         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61741         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61742         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61743         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61745 2012-12-28  Andreas Jaeger  <aj@suse.de>
61747         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
61748         values are from Linux 3.7.
61750         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61751         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
61753 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61755         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61756         TRUE case.
61758         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61759         (norm): Likewise.
61760         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61761         variables with preprocessor constants.
61762         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61763         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61764         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61766 2012-12-27  Bruno Haible  <bruno@clisp.org>
61768         [BZ #14317]
61769         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61770         only if needed.
61772 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61775         and use variable directly.
61776         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61778         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61779         MPONE.
61780         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61782         variable MPONE.
61783         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61785         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61786         include directive.  Remove local variable MPONE.
61787         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61788         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61789         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61791 2012-12-25  David S. Miller  <davem@davemloft.net>
61793         * version.h (RELEASE): Set to "development".
61794         (VERSION): Set to "2.17.90".
61795         * NEWS: Add 2.18 section.
61797 2012-12-21  David S. Miller  <davem@davemloft.net>
61799         * po/hr.po: Update from translation team.
61801 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61803         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61805 2012-12-19  Steve Ellcey  <sellcey@mips.com>
61807         * NEWS:  Mention new memcpy for MIPS.
61809 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61811         * manual/contrib.texi (Contributors): Spelling correction.
61813 2012-12-15  David S. Miller  <davem@davemloft.net>
61815         * po/ru.po: Update from translation team.
61817 2012-12-13  David S. Miller  <davem@davemloft.net>
61819         * NEWS: Mention IFUNC testsuite enhancements.
61821         * po/pl.po: Update from translation team.
61822         * po/bg.po: Likewise.
61824         * manual/contrib.texi (Contributors): Update entries for Hongjiu
61825         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
61827 2012-12-11  David S. Miller  <davem@davemloft.net>
61829         * po/sv.po: Update from translation team.
61831         * po/vi.po: Update from translation team.
61833         * po/cs.po: Update from translation team.
61835         * po/de.po: Update from translation team.
61836         * po/eo.po: Likewise.
61837         * po/nl.po: Likewise.
61839 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61841         [BZ #14246]
61842         * manual/argp.texi (Argp Helper Functions): Move node to follow
61843         Argp Parsing State.
61845         [BZ #14872]
61846         * manual/conf.texi (Limits on File System Capacity): Mention if
61847         terminating null is included in the max size.
61849 2012-12-10  Andreas Jaeger  <aj@suse.de>
61851         * po/cs.po: Update from translation team.
61853 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61855         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61856         void pointer and cast to uintptr_t.
61857         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61858         path.
61859         * sysdeps/s390/s390-64/memcpy.S: Likewise.
61860         * sysdeps/s390/s390-64/memset.S: Likewise.
61862 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
61864         [BZ #14833]
61865         * menual/message.texi (Message Translation): Fix typos.
61866         (Helper programs for gettext): Likewise.
61868 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
61870         [BZ #14898]
61871         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
61872         Change to -1.
61874 2012-12-07  David S. Miller  <davem@davemloft.net>
61876         * po/libc.pot: Update.
61878 2012-12-07  Richard Henderson  <rth@redhat.com>
61880         [BZ #10114]
61881         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
61882         normal/normal case to before the switch.
61883         (_FP_DIV): Likewise.
61885 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
61886             Mike Frysinger  <vapier@gentoo.org>
61888         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
61889         check for __NR_fadvise64_64.
61891 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
61893         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
61894         0, not just to plain "0" as a statement.
61895         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
61896         with cw.
61898 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
61900         * NEWS: Use sourceware.org in Bugzilla URL.
61902 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
61905         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61907         * stdio-common/tst-put-error.c (do_test): Add newline to the
61908         padded test to ensure flush.
61910 2012-12-05  Jeff Law  <law@redhat.com>
61912         * sunrpc/etc.rpc (fedfs_admin): Add entry.
61914 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
61916         * README: Don't refer to ports add-on as distributed separately.
61917         Mention AArch64 in list of systems supported in the ports add-on.
61919         * LICENSES: Add more non-FSF copyright and license notices.
61921         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
61922         ((unused)).
61924         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
61926         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
61927         10000 as width of padded output.
61929 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
61931         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
61933         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
61934         variable LX with __attribute__ ((unused)).
61935         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61936         Likewise.
61937         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61939         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
61940         with __attribute__ ((unused)).
61942 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
61944         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
61946 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
61948         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
61949         (CFLAGS-nldbl-acos.c): New variable.
61950         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
61951         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
61952         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
61953         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
61954         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
61955         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
61956         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
61957         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
61958         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
61959         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
61960         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
61961         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
61962         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
61963         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
61964         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
61965         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
61966         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
61967         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
61968         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
61969         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
61970         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
61971         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
61972         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
61973         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
61974         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
61975         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
61976         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
61977         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
61978         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
61979         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
61980         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
61981         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
61982         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
61983         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
61984         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
61985         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
61986         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
61987         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
61988         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
61989         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
61990         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
61991         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
61992         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
61993         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
61994         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
61995         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
61996         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
61997         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
61998         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
61999         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62000         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62001         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62002         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62003         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62004         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62005         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62006         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62007         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62008         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62009         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62010         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62011         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62012         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62013         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62014         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62015         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62016         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62017         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62018         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62019         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62020         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62021         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62022         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62023         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62024         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62025         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62026         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62027         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62028         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62029         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62030         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62031         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62032         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62033         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62034         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62035         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62036         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62037         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62038         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62039         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62040         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62041         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62042         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62043         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62044         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62045         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62046         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62049         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62051         [BZ #14914]
62052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62053         whole low double instead of just low 47 bits when splitting values
62054         into two parts.
62056 2012-12-03  Allan McRae  <allan@archlinux.org>
62058         * manual/stdio.texi (Predefined Printf Handlers): Remove
62059         @hsep and @vsep usage.
62061 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62063         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62064         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62066 2012-12-03  Jeff Law  <law@redhat.com>
62068         * time/sys/time.h (settimeofday): Do not mark TV argument
62069         as __nonnull.
62071 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62073         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62074         when currently writing and seek to current position when not.
62075         * libio/Makefile (tests): Remove bug-fclose1.
62076         * libio/bug-fclose1.c: Delete.
62078 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
62080         * manual/arith.texi (feenableexcept): Fix typo.
62081         (fedisableexcept): Likewise.
62083 2012-11-30  Roland McGrath  <roland@hack.frob.com>
62085         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62086         second, differently-typed declaration, rather than a cast.
62088 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62090         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62091         * include/rpc/svc.h: ... here.
62093 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
62095         [BZ #13013]
62096         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62097         depending n and resplen2 to catch cases where answer
62098         equals answerp2.
62100 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
62102         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62103         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62105 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
62107         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62109 2012-11-29  Roland McGrath  <roland@hack.frob.com>
62111         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62113 2012-11-28  Jeff Law  <law@redhat.com>
62115         [BZ #13761]
62116         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62117         dataset_temporary.  Track alloca usage into alloca_used.
62118         If dataset is large allocate and release it via malloc/free.
62120 2012-06-04  Florian Weimer  <fweimer@redhat.com>
62122         [BZ #14197]
62123         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62125 2012-11-28  David S. Miller  <davem@davemloft.net>
62127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62129 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62131         [BZ #14803]
62132         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62133         of pi/2 rounded to nearest to 64 bits.
62134         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62135         nearest to 64 bits.
62136         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62137         bits.
62139 2012-11-28  Jeff Law <law@redhat.com>
62140             Martin Osvald <mosvald@redhat.com>
62142         [BZ #14889]
62143         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62144         * sunrpc/svc.c: Include time.h.
62145         (__svc_accept_failed): New function.
62146         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62147         any reason other than EINTR, call __svc_accept_failed.
62148         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62149         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62151 2012-11-28  Andreas Schwab  <schwab@suse.de>
62153         * scripts/abilist.awk: Also handle indirect functions in .opd
62154         section.
62156 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62158         [BZ #13881]
62159         * sysdeps/x86/fpu/powl_helper.c: New file.
62160         * sysdeps/x86/fpu/Makefile: Likewise.
62161         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62162         (p3): New object.
62163         (__ieee754_powl): Use __powl_helper for finite arguments except
62164         integer exponents below 8.
62165         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62166         (p3): New object.
62167         (__ieee754_powl): Use __powl_helper for finite arguments except
62168         integer exponents below 8.
62169         * math/libm-test.inc (pow_test): Add more tests and enable some
62170         previously disabled tests.
62171         * sysdeps/i386/fpu/libm-test-ulps: Update.
62172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62174 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62175             Carlos O'Donell  <carlos_odonell@mentor.com>
62177         * nss/makedb.c (is_prime): Assert that input is odd and greater
62178         than 4.  Note that fact in a comment too.
62179         (next_prime): Add 4 to input.
62181 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62183         [BZ #11741]
62184         * libio/Makefile (tests): Add test case tst-fwrite-error.
62185         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62186         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62187         * libio/tst-fwrite-error.c: New test case.
62189 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
62191         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62192         before casting to void *.
62193         * include/libc-internal.h (__pointer_type): New macro.
62194         (__integer_if_pointer_type_sub): Likewise.
62195         (__integer_if_pointer_type): Likewise.
62196         (cast_to_integer): Likewise.
62197         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62198         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62199         before casting to atomic64_t.
62200         (atomic_exchange_acq): Likewise.
62201         (__arch_exchange_and_add_body): Likewise.
62202         (__arch_add_body): Likewise.
62203         (atomic_add_negative): Likewise.
62204         (atomic_add_zero): Likewise.
62206 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
62208         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62209         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62210         (add_fdes): Likewise.
62211         (linear_search_fdes): Likewise.
62212         (binary_search_unencoded_fdes): Likewise.
62214 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
62216         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62218 2012-11-24  Adam Conrad  <adconrad@0c3.net>
62220         * configure.in: Autodetect C++ header directories.
62221         * configure: Regenerated.
62223 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
62225         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62227 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
62229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62231 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
62233         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62234         LDBL_MANT_DIG == 106]: Disable some tests.
62235         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62236         Likewise.
62237         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62238         Likewise.
62240         [BZ #14871]
62241         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62242         input for small inputs.  Return +/- pi/2 for large inputs.
62243         * math/libm-test.inc (atan_test): Add more tests.
62245         * sysdeps/generic/unwind-dw2-fde-glibc.c
62246         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62247         __attribute__ ((unused)).
62249         [BZ #14645]
62250         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62251         x * y if x and y are nonzero and z is zero.
62253         [BZ #14811]
62254         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62255         nonzero exponents with absolute value below 0x1p-117 to +/-
62256         0x1p-117.
62258         [BZ #14869]
62259         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62260         up arguments below 2**-450, not just those below 2**-500.
62261         * math/libm-test.inc (hypot_test): Add another test.
62263         [BZ #14868]
62264         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62265         Return a+b for ratio over 2**120, not 2**60.
62266         * math/libm-test.inc (hypot_test): Add another test.
62268         * math/libm-test.inc (clog_test): Use
62269         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62270         (clog10_test): Likewise.
62272         [BZ #6778]
62273         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62275 2012-11-22  Andreas Schwab  <schwab@suse.de>
62277         * sysdeps/i386/fpu/libm-test-ulps: Update.
62279 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
62281         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62282         printf output with newline.
62284 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
62286         [BZ #14865]
62287         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62288         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62289         -z nodlopen, -z initfirst and -z execstack support.
62290         * configure: Regenerated.
62292         * elf/elf.h (DF_1_NODIRECT): New macro.
62293         (DF_1_IGNMULDEF): Likewise.
62294         (DF_1_NOKSYMS): Likewise.
62295         (DF_1_NOHDR): Likewise.
62296         (DF_1_EDITED): Likewise.
62297         (DF_1_NORELOC): Likewise.
62298         (DF_1_SYMINTPOSE): Likewise.
62299         (DF_1_GLOBAUDIT): Likewise.
62300         (DF_1_SINGLETON): Likewise.
62301         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62302         DT_1_SUPPORTED_MASK bits.
62303         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62305 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
62307         * sysdeps/unix/make-syscalls.sh: Document prefixes.
62309 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
62311         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62312         macro.
62314         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62315         (sendmmsg): Move declarations...
62316         * socket/sys/socket.h: ... here.
62317         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62318         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62319         include it from...
62320         * socket/recvmmsg.c: ... this new file.
62321         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62322         (sendmmsg): Rename to __sendmmsg, create weak alias and make
62323         definition of __sendmmsg hidden.
62324         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62325         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62326         Move ENOSYS stub into and include it from...
62327         * socket/sendmmsg.c: ... this new file.
62328         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62329         (sysdep_routines): Move recvmmsg and sendmmsg...
62330         * socket/Makefile (routines): ... here.
62331         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62332         (GLIBC_PRIVATE): Add __sendmmsg.
62333         * include/sys/socket.h (__sendmmsg): Add declarations.
62334         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62335         sendmmsg.
62337 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
62339         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62340         variable I1 with __attribute__ ((unused)).
62341         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62343 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62345         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62346         DUMMY variables with __attribute__ ((unused)).
62348         * bits/byteswap.h: Include <bits/types.h>.
62349         (__bswap_64): Use __uint64_t instead of unsigned long long int.
62351 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62353         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62354         string_t.  Do not manually set errno.
62355         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62356         length with __strnlen.  Make sure to both set errno and return it on
62357         failure.
62359 2012-11-19  David S. Miller  <davem@davemloft.net>
62361         With help from Joseph Myers.
62362         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62363         very large arguments properly.
62364         * math/libm-test.inc (atan_test): New tests.
62365         (atan2_test): New tests.
62366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62369 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62371         [BZ #14856]
62372         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62373         Define to 3.
62375         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62376         [POSIX] (EADDRNOTAVAIL): Likewise.
62377         [POSIX] (EAFNOSUPPORT): Likewise.
62378         [POSIX] (EALREADY): Likewise.
62379         [POSIX] (ECONNABORTED): Likewise.
62380         [POSIX] (ECONNREFUSED): Likewise.
62381         [POSIX] (ECONNRESET): Likewise.
62382         [POSIX] (EDESTADDRREQ): Likewise.
62383         [POSIX] (EDQUOT): Likewise.
62384         [POSIX] (EHOSTUNREACH): Likewise.
62385         [POSIX] (EIDRM): Likewise.
62386         [POSIX] (EISCONN): Likewise.
62387         [POSIX] (ELOOP): Likewise.
62388         [POSIX] (EMULTIHOP): Likewise.
62389         [POSIX] (ENETDOWN): Likewise.
62390         [POSIX] (ENETUNREACH): Likewise.
62391         [POSIX] (ENOBUFS): Likewise.
62392         [POSIX] (ENODATA): Likewise.
62393         [POSIX] (ENOLINK): Likewise.
62394         [POSIX] (ENOMSG): Likewise.
62395         [POSIX] (ENOPROTOOPT): Likewise.
62396         [POSIX] (ENOSR): Likewise.
62397         [POSIX] (ENOSTR): Likewise.
62398         [POSIX] (ENOTCONN): Likewise.
62399         [POSIX] (ENOTSOCK): Likewise.
62400         [POSIX] (EOPNOTSUPP): Likewise.
62401         [POSIX] (EOVERFLOW): Likewise.
62402         [POSIX] (EPROTO): Likewise.
62403         [POSIX] (EPROTONOSUPPORT): Likewise.
62404         [POSIX] (EPROTOTYPE): Likewise.
62405         [POSIX] (ESTALE): Likewise.
62406         [POSIX] (ETIME): Likewise.
62407         [POSIX] (ETXTBSY): Likewise.
62408         [POSIX] (EWOULDBLOCK): Likewise.
62409         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62410         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62411         [POSIX] (SEEK_CUR): Likewise.
62412         [POSIX] (SEEK_END): Likewise.
62413         [POSIX || UNIX98] (mode_t): Do not require.
62414         [POSIX] (off_t): Likewise.
62415         [POSIX] (pid_t): Likewise.
62416         [POSIX] (sys/stat.h): Do not allow header.
62417         [POSIX] (unistd.h): Likewise.
62418         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62419         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62420         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62421         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62422         require.
62423         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62424         sigevent): Specify elements.
62425         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62426         entry.
62427         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62428         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62430         * conform/data/cpio.h-data [POSIX]: Disable whole file.
62431         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62432         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62433         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62434         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62435         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62436         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62437         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62438         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62439         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62440         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62441         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62442         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62443         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62444         Likewise.
62445         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62446         Likewise.
62447         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62448         Likewise.
62449         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62450         Likewise.
62451         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62452         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62453         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62454         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62455         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62456         Specify lower bound on value.
62457         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62458         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62459         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62460         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62461         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62462         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62463         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62464         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62465         value.
62466         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62467         as optional.
62468         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62469         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62470         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62471         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62472         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62473         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62474         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62475         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62476         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62477         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62478         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62479         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62480         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62481         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62482         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62483         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62484         entry.
62485         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62486         optional.
62487         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62488         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62489         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62490         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62491         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62492         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62493         Likewise.
62494         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62495         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62496         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62497         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62498         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
62499         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62500         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62501         as optional.
62502         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62503         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62504         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62505         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62506         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62507         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62508         specify as optional.
62509         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62510         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62511         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62512         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62513         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62514         [XPG3] (NL_LANGMAX): Likewise.
62515         [POSIX || XPG3] (NL_MSGMAX): Likewise.
62516         [POSIX || XPG3] (NL_NMAX): Likewise.
62517         [POSIX || XPG3] (NL_SETMAX): Likewise.
62518         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62519         [XPG3] (NZERO): Likewise.
62520         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62521         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62522         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62523         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62524         (REG_ERANGE): Expect.
62525         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62526         optional-constant.
62527         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62528         Use (void) in prototype.
62529         [POSIX] (*_t): Allow.
62530         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62531         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62532         (WRDE_BADVAL): Expect.
62534         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62535         expect.
62536         [XPG3 || XPG4] (O_RSYNC): Likewise.
62537         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62538         Likewise.
62539         [XPG3 || XPG4] (pthread_sigmask): Likewise.
62540         [XPG3 || XPG4] (sigqueue): Likewise.
62541         [XPG3 || XPG4] (sigtimedwait): Likewise.
62542         [XPG3 || XPG4] (sigwaitinfo): Likewise.
62543         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62544         [XPG3 || XPG4] (vsnprintf): Likewise.
62545         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62546         Likewise.
62547         [XPG3 || XPG4] (blksize_t): Likewise.
62548         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62549         Likewise.
62550         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62551         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62552         [XPG3 || XPG4] (struct itimerspec): Likewise.
62553         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62554         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62555         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62556         [XPG3 || XPG4] (clockid_t): Likewise.
62557         [XPG3 || XPG4] (timer_t): Likewise.
62558         [XPG3 || XPG4] (clock_getres): Likewise.
62559         [XPG3 || XPG4] (clock_gettime): Likewise.
62560         [XPG3 || XPG4] (clock_settime): Likewise.
62561         [XPG3 || XPG4] (nanosleep): Likewise.
62562         [XPG3 || XPG4] (timer_create): Likewise.
62563         [XPG3 || XPG4] (timer_delete): Likewise.
62564         [XPG3 || XPG4] (timer_gettime): Likewise.
62565         [XPG3 || XPG4] (timer_getoverrun): Likewise.
62566         [XPG3 || XPG4] (timer_settime): Likewise.
62567         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62568         [XPG3 || XPG4] (getlogin_r): Likewise.
62569         [XPG3 || XPG4] (pread): Likewise.
62570         [XPG3 || XPG4] (pthread_atfork): Likewise.
62571         [XPG3 || XPG4] (pwrite): Likewise.
62573         [BZ #14835]
62574         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62575         <bits/siginfo.h>.
62577 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62579         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62580         finalizing MALLSTREAM.
62582         * sysdeps/mach/hurd/syncfs.c: New file.
62584 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62586         [BZ #14719]
62587         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62588         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62589         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62590         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62591         (_nss_dns_gethostbyname4_r): Likewise.
62592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62593         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62595 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
62597         [BZ #13763]
62598         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62600 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
62602         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62603         * elf/cache.c (print_entry): Print ",AArch64" for
62604         FLAG_AARCH64_LIB64
62606         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62607         * elf/cache.c (print_entry): Print ",hard-float" for
62608         FLAG_ARM_LIBHF.
62610 2012-11-18  David S. Miller  <davem@davemloft.net>
62612         With help from Joseph Myers.
62613         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62614         cutoff to 2**-13.
62615         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62616         cutoff to 2**-25.
62617         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62618         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62619         small.
62620         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62621         * math/libm-test.inc (y0_test): New tests.
62622         (y1_test): New tests.
62623         * sysdeps/i386/fpu/libm-test-ulps: Update.
62624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62627 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
62629         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62630         64-bit targets.
62631         * configure: Regenerated.
62633 2012-11-17  David S. Miller  <davem@davemloft.net>
62635         [BZ #14811]
62636         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62637         nonzero exponents with absolute value below 0x1p-128 to +/-
62638         0x1p-128.
62640 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
62642         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62644         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62646         * posix/getconf-speclist.c: New file.
62647         * posix/posix-envs.def: Likewise.
62648         * posix/confstr.c (START_ENV_GROUP): New macro.
62649         (END_ENV_GROUP): Likewise.
62650         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62651         (KNOWN_PRESENT_ENV_STRING): Likewise.
62652         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62653         (UNKNOWN_ENVIRONMENT): Likewise.
62654         (confstr): Include posix-envs.def instead of handling
62655         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62656         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62657         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62658         (END_ENV_GROUP): Likewise.
62659         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62660         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62661         (UNKNOWN_ENVIRONMENT): Likewise.
62662         (__sysconf): Include posix-envs.def instead of handling associated
62663         cases directly here.
62664         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62665         preprocessing getconf-speclist.c rather than running getconf or
62666         generating empty file.
62668 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
62670         * scripts/check-local-headers.sh: Ignore 'mach' headers.
62672 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
62674         [BZ #14672]
62675         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62677 2012-11-16  David S. Miller  <davem@davemloft.net>
62679         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62680         smaller than LDBL_EPSILON/2.0L, just return xm1.
62682 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
62684         * elf/tst-array1.c (init): Set constructor priority to 1000.
62685         (fini): Set destructor priority to 1000.
62686         * elf/tst-array2dep.c: Likewise.
62688 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62690         [BZ #11741]
62691         * libio/fileops.c (_IO_new_file_write): Correctly return error.
62692         (_IO_new_file_xsputn): Also return EOF if none of the input
62693         data was written when overflow failed.
62694         * libio/iopadn.c (_IO_padn): Likewise.
62695         * libio/iowpadn.c (_IO_wpadn): Likewise.
62696         * stdio-common/tst-put-error.c: Add copyright notice.
62697         (do_test): Add case for printing padded string.
62698         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62699         _IO_padn returned error.
62700         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62701         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62702         return EOF.
62704 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62706         * libio/libioP.h: Add comment note that the references to C++
62707         bits are now obsolete.
62709 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62711         * math/libm-test.inc (check_complex): Use asprintf.
62713 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
62715         * debug/pcprofiledump.c (print_version): Update copyright year.
62716         * malloc/memusagestat.c (print_version): Likewise.
62718 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
62720         [BZ #14831]
62721         * elf/Makefile (tests): Add tst-audit8.
62722         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62723         ($(objpfx)tst-audit8.out): New target.
62724         (tst-audit8-ENV): New variable.
62725         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62726         audit if l_reloc_result is NULL.
62727         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62728         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62729         * elf/tst-audit8.c: New file.
62731 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62733         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62734         * misc/Makefile (CFLAGS-select.c): Define.
62735         * posix/Makefile (CFLAGS-pause.c): Define.
62737 2012-11-13  David S. Miller  <davem@davemloft.net>
62739         * crypt/Makefile: Move test targets after toplevel Rules
62740         inclusion.  Grab any necessary sysdep routines when linking.
62741         * crypt/md5.c (md5_process_block): Remove define, we will always
62742         name it __md5_process_block.
62743         (md5_finish_ctx): Update md5_process_block call.
62744         (md5_stream): Likewise.
62745         (md5_process_bytes): Likewise.
62746         (md5_process_block): Rename to __md5_process_block and move to ...
62747         * crypt/md5-block.c: ... here.
62748         * crypt/sha256.c (sha256_process_block): Move to ...
62749         * crypt/sha256-block.c: ... here.
62750         * crypt/sha512.c (sha512_process_block): Move to ...
62751         * crypt/sha512-block.c: ... here.
62752         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62753         path.
62754         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62755         * sysdeps/sparc/sparc64/multiarch/Makefile
62756         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62757         crypt subdir.
62758         (localedef-aux): Add md5 crypto assembler when in locale subdir.
62759         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62760         multiarch changes.
62761         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62762         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62763         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62764         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62765         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62766         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62767         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62768         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62769         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62770         file.
62771         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62772         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62773         file.
62774         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62776 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
62778         * timezone/tzselect.ksh: Update from tzcode git revision
62779         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62780         * timezone/zdump.c: Likewise.
62781         * timezone/zic.c: Likewise.
62782         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62783         in TZVERSION setting, not $(PKGVERSION).
62784         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
62785         REPORT_BUGS_TO settings.
62787         [BZ #14838]
62788         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62789         macro.
62791 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62793         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62794         detection to immediately after _FP_ROUND().
62795         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62796         bits are 0.
62798 2012-11-11  David S. Miller  <davem@davemloft.net>
62800         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62801         inttypes.h
62802         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62803         __close rather than their public counterparts.
62805 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
62807         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62808         file.
62809         [UNIX98] (sem_timedwait): Do not expect.
62810         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62811         [XPG4 || UNIX98] (sockatmark): Do not expect.
62812         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62813         (clock_getcpuclockid): Do not expect.
62814         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62815         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62816         Do not expect.
62817         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62818         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62819         [UNIX98] (vwscanf): Likewise.
62820         [UNIX98] (vswscanf): Likewise.
62822 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
62824         * timezone/version.h: Remove file.
62825         * timezone/README: Do not refer to version.h.
62826         * timezone/Makefile ($(objpfx)zic.o): New dependency on
62827         $(objpfx)version.h.
62828         ($(objpfx)zdump.o): Likewise.
62829         ($(objpfx)version.h): New target.
62831         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62832         2012i.
62833         * timezone/README: Don't mention modification to tzselect.ksh.
62834         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62835         work on unmodified tzselect.ksh.  Substitute version numbers in
62836         tzselect.ksh.
62838         * Makefile (format-me): Remove.
62839         (INSTALL): Adjust indentation.  Use commands directly instead of
62840         using $(format-me).
62842         * aclocal.m4 (ACX_PKGVERSION): New macro.
62843         (ACX_BUGURL): Likewise.
62844         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62845         (PKGVERSION): New AC_DEFINE_UNQUOTED.
62846         (REPORT_BUGS_TO): Likewise.
62847         * configure: Regenerated.
62848         * config.h.in (PKGVERSION): New macro.
62849         (REPORT_BUGS_TO): Likewise.
62850         * config.make.in (PKGVERSION): New variable.
62851         (PKGVERSION_TEXI): Likewise.
62852         (REPORT_BUGS_TO): Likewise.
62853         (REPORT_BUGS_TEXI): Likewise.
62854         * Makefile (format-me): Use -I$(common-objpfx)manual.
62855         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62856         ($(common-objpfx)manual/%): New target.
62857         (manual/%): Remove target.
62858         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62859         (print_version): Use PKGVERSION.
62860         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62861         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62862         and REPORT_BUGS_TO.
62863         ($(objpfx)xtrace): Likewise.
62864         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62865         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62866         (print_version): Use PKGVERSION.
62867         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62868         (do_version): Use PKGVERSION.
62869         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
62870         REPORT_BUGS_TO.
62871         (common-ldd-rewrite): Likewise.
62872         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
62873         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
62874         (print_version): Use PKGVERSION.
62875         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
62876         * elf/pldd.c (argp_program_bug_address): Remove variable.
62877         (more_help): New function.
62878         (argp): Use more_help.
62879         (print_version): Use PKGVERSION.
62880         * elf/sln.c (main): Use PKGVERSION.
62881         (usage): Use REPORT_BUGS_TO.
62882         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
62883         (top level): Use PKGVERSION.
62884         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
62885         (print_version): Use PKGVERSION.
62886         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
62887         (print_version): Use PKGVERSION.
62888         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
62889         (print_version): Use PKGVERSION.
62890         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
62891         (print_version): Use PKGVERSION.
62892         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
62893         (print_version): Use PKGVERSION.
62894         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
62895         (print_version): Use PKGVERSION.
62896         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
62897         and BUGURL.
62898         ($(objpfx)memusage): Likewise.
62899         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
62900         (do_version): Use PKGVERSION.
62901         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
62902         (print_version): Use PKGVERSION.
62903         * malloc/mtrace.pl ($PACKAGE): Remove variable.
62904         ($PKGVERSION): New variable.
62905         ($REPORT_BUGS_TO): Likewise.
62906         (usage): Use $REPORT_BUGS_TO.
62907         (top level): Use $PKGVERSION.
62908         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
62909         ($(objpfx)pkgvers.texi): New rule.
62910         ($(objpfx)stamp-pkgvers): Likewise.
62911         * manual/install.texi: Include pkgvers.texi.
62912         (--with-pkgversion): Document new configure option.
62913         (--with-bugurl): Likewise.
62914         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
62915         than necessarily for this particular distribution.  Use
62916         REPORT_BUGS_TO for where to report bugs.
62917         * INSTALL: Regenerated.
62918         * manual/libc.texinfo: Include pkgvers.texi.
62919         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
62920         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
62921         (print_version): Use PKGVERSION.
62922         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
62923         (print_version): Use PKGVERSION.
62924         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
62925         (print_version): Use PKGVERSION.
62926         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
62927         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
62928         macro.
62929         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
62930         (print_version): Use PKGVERSION.
62931         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
62932         (print_version): Use PKGVERSION.
62933         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
62934         and PKGVERSION.
62936         * timezone/checktab.awk: Update from tzcode 2012i.
62937         * timezone/ialloc.c: Likewise.
62938         * timezone/private.h: Likewise.
62939         * timezone/scheck.c: Likewise.
62940         * timezone/tzfile.h: Likewise.
62941         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
62942         (TZVERSION): Hardcode tzcode version number.
62943         * timezone/zdump.c: Update from tzcode 2012i.
62944         * timezone/zic.c: Likewise.
62945         * timezone/version.h: New file.
62946         * timezone/README: Describe version.h.  Update upstream location.
62948         [BZ #14824]
62949         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
62950         (mktemp): Enable declaration.
62951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
62952         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
62953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
62954         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
62955         Likewise.
62956         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
62957         Likewise.
62958         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
62959         Likewise.
62960         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
62961         Likewise.
62962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
62963         Likewise.
62964         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
62965         Likewise.
62967         [BZ #14821]
62968         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
62969         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
62970         for copies of such integer values.
62971         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62972         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62974 2012-11-09  Andreas Jaeger  <aj@suse.de>
62976         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
62977         definitions and declarations that are provided by
62978         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62980 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62982         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
62983         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
62984         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
62985         definition.
62987 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62989         * elf/elf.h: Update comment before AArch64 relocations.
62991 2012-11-07  David S. Miller  <davem@davemloft.net>
62993         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
62994         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62995         (__start_context): Declare.
62996         (__makecontext_ret): Delete.
62997         (__makecontext): Hook up __start_context instead of
62998         __makecontext_ret.
62999         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63000         (sysdep_routines): Add __start_context when in stdlib.
63002 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63004         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63005         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63006         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63007         hardcoded "nm".
63008         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63009         (READELF): New variable.  Use it instead of hardcoded "readelf".
63011 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63013         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63014         * sysdeps/x86/Makefile: Here.
63015         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63016         * sysdeps/x86/tst-xmmymm.sh: This.
63018 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63020         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63021         expectations.
63022         [UNIX98] (pthread_barrier_t): Do not expect.
63023         [UNIX98] (pthread_barrierattr_t): Likewise.
63024         [UNIX98] (pthread_spinlock_t): Likewise.
63025         [UNIX98] (pthread_barrier_destroy): Likewise.
63026         [UNIX98] (pthread_barrier_init): Likewise.
63027         [UNIX98] (pthread_barrier_wait): Likewise.
63028         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63029         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63030         [UNIX98] (pthread_barrierattr_init): Likewise.
63031         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63032         [UNIX98] (pthread_getcpuclockid): Likewise.
63033         [UNIX98] (pthread_mutex_timedlock): Likewise.
63034         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63035         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63036         [UNIX98] (pthread_sigmask): Likewise.
63037         [UNIX98] (pthread_spin_destroy): Likewise.
63038         [UNIX98] (pthread_spin_init): Likewise.
63039         [UNIX98] (pthread_spin_lock): Likewise.
63040         [UNIX98] (pthread_spin_trylock): Likewise.
63041         [UNIX98] (pthread_spin_unlock): Likewise.
63042         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63043         Do not expect.
63044         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63045         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63046         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63047         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63048         [XPG3 || XPG4] (pthread_key_t): Likewise.
63049         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63050         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63051         [XPG3 || XPG4] (pthread_once_t): Likewise.
63052         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63053         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63054         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63055         [XPG3 || XPG4] (pthread_t): Likewise.
63057         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63058         not expect.
63059         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63061         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63062         Change function return type to int.
63064         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63065         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63066         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63067         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63068         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63069         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63070         [!POSIX] (posix_madvise): Likewise.
63071         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63072         && !UNIX98].
63073         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63074         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63075         (mode_t): Likewise.
63076         (posix_mem_offset): Likewise.
63077         (posix_typed_mem_get_info): Likewise.
63078         (posix_typed_mem_open): Likewise.
63080         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63081         Change condition to [XOPEN2K8].
63083         * conform/conformtest.pl: Preprocess allow-header data with -x c
63084         instead of from stdin.
63085         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63086         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63087         [C99-based standards] (cerfc): Likewise.
63088         [C99-based standards] (cexp2): Likewise.
63089         [C99-based standards] (cexpm1): Likewise.
63090         [C99-based standards] (clog10): Likewise.
63091         [C99-based standards] (clog1p): Likewise.
63092         [C99-based standards] (clog2): Likewise.
63093         [C99-based standards] (clgamma): Likewise.
63094         [C99-based standards] (ctgamma): Likewise.
63095         [C99-based standards] (cerff): Likewise.
63096         [C99-based standards] (cerfcf): Likewise.
63097         [C99-based standards] (cexp2f): Likewise.
63098         [C99-based standards] (cexpm1f): Likewise.
63099         [C99-based standards] (clog10f): Likewise.
63100         [C99-based standards] (clog1pf): Likewise.
63101         [C99-based standards] (clog2f): Likewise.
63102         [C99-based standards] (clgammaf): Likewise.
63103         [C99-based standards] (ctgammaf): Likewise.
63104         [C99-based standards] (cerfl): Likewise.
63105         [C99-based standards] (cerfcl): Likewise.
63106         [C99-based standards] (cexp2l): Likewise.
63107         [C99-based standards] (cexpm1l): Likewise.
63108         [C99-based standards] (clog10l): Likewise.
63109         [C99-based standards] (clog1pl): Likewise.
63110         [C99-based standards] (clog2l): Likewise.
63111         [C99-based standards] (clgammal): Likewise.
63112         [C99-based standards] (ctgammal): Likewise.
63113         * conform/data/inttypes.h-data [C99-based standards]: Include
63114         stdint.h-data.  Remove all expectations for stdint.h contents.
63115         [C99-based standards] (PRI*): Do not allow.
63116         [C99-based standards] (SCN*): Likewise.
63117         [C99-based standards] (*_t): Likewise.
63118         [C99-based-standards] (PRId8): Expect macro.
63119         [C99-based-standards] (PRIi8): Likewise.
63120         [C99-based-standards] (PRIo8): Likewise.
63121         [C99-based-standards] (PRIu8): Likewise.
63122         [C99-based-standards] (PRIx8): Likewise.
63123         [C99-based-standards] (PRIX8): Likewise.
63124         [C99-based-standards] (SCNd8): Likewise.
63125         [C99-based-standards] (SCNi8): Likewise.
63126         [C99-based-standards] (SCNo8): Likewise.
63127         [C99-based-standards] (SCNu8): Likewise.
63128         [C99-based-standards] (SCNx8): Likewise.
63129         [C99-based-standards] (PRIdLEAST8): Likewise.
63130         [C99-based-standards] (PRIiLEAST8): Likewise.
63131         [C99-based-standards] (PRIoLEAST8): Likewise.
63132         [C99-based-standards] (PRIuLEAST8): Likewise.
63133         [C99-based-standards] (PRIxLEAST8): Likewise.
63134         [C99-based-standards] (PRIXLEAST8): Likewise.
63135         [C99-based-standards] (SCNdLEAST8): Likewise.
63136         [C99-based-standards] (SCNiLEAST8): Likewise.
63137         [C99-based-standards] (SCNoLEAST8): Likewise.
63138         [C99-based-standards] (SCNuLEAST8): Likewise.
63139         [C99-based-standards] (SCNxLEAST8): Likewise.
63140         [C99-based-standards] (PRIdFAST8): Likewise.
63141         [C99-based-standards] (PRIiFAST8): Likewise.
63142         [C99-based-standards] (PRIoFAST8): Likewise.
63143         [C99-based-standards] (PRIuFAST8): Likewise.
63144         [C99-based-standards] (PRIxFAST8): Likewise.
63145         [C99-based-standards] (PRIXFAST8): Likewise.
63146         [C99-based-standards] (SCNdFAST8): Likewise.
63147         [C99-based-standards] (SCNiFAST8): Likewise.
63148         [C99-based-standards] (SCNoFAST8): Likewise.
63149         [C99-based-standards] (SCNuFAST8): Likewise.
63150         [C99-based-standards] (SCNxFAST8): Likewise.
63151         [C99-based-standards] (PRId16): Likewise.
63152         [C99-based-standards] (PRIi16): Likewise.
63153         [C99-based-standards] (PRIo16): Likewise.
63154         [C99-based-standards] (PRIu16): Likewise.
63155         [C99-based-standards] (PRIx16): Likewise.
63156         [C99-based-standards] (PRIX16): Likewise.
63157         [C99-based-standards] (SCNd16): Likewise.
63158         [C99-based-standards] (SCNi16): Likewise.
63159         [C99-based-standards] (SCNo16): Likewise.
63160         [C99-based-standards] (SCNu16): Likewise.
63161         [C99-based-standards] (SCNx16): Likewise.
63162         [C99-based-standards] (PRIdLEAST16): Likewise.
63163         [C99-based-standards] (PRIiLEAST16): Likewise.
63164         [C99-based-standards] (PRIoLEAST16): Likewise.
63165         [C99-based-standards] (PRIuLEAST16): Likewise.
63166         [C99-based-standards] (PRIxLEAST16): Likewise.
63167         [C99-based-standards] (PRIXLEAST16): Likewise.
63168         [C99-based-standards] (SCNdLEAST16): Likewise.
63169         [C99-based-standards] (SCNiLEAST16): Likewise.
63170         [C99-based-standards] (SCNoLEAST16): Likewise.
63171         [C99-based-standards] (SCNuLEAST16): Likewise.
63172         [C99-based-standards] (SCNxLEAST16): Likewise.
63173         [C99-based-standards] (PRIdFAST16): Likewise.
63174         [C99-based-standards] (PRIiFAST16): Likewise.
63175         [C99-based-standards] (PRIoFAST16): Likewise.
63176         [C99-based-standards] (PRIuFAST16): Likewise.
63177         [C99-based-standards] (PRIxFAST16): Likewise.
63178         [C99-based-standards] (PRIXFAST16): Likewise.
63179         [C99-based-standards] (SCNdFAST16): Likewise.
63180         [C99-based-standards] (SCNiFAST16): Likewise.
63181         [C99-based-standards] (SCNoFAST16): Likewise.
63182         [C99-based-standards] (SCNuFAST16): Likewise.
63183         [C99-based-standards] (SCNxFAST16): Likewise.
63184         [C99-based-standards] (PRId32): Likewise.
63185         [C99-based-standards] (PRIi32): Likewise.
63186         [C99-based-standards] (PRIo32): Likewise.
63187         [C99-based-standards] (PRIu32): Likewise.
63188         [C99-based-standards] (PRIx32): Likewise.
63189         [C99-based-standards] (PRIX32): Likewise.
63190         [C99-based-standards] (SCNd32): Likewise.
63191         [C99-based-standards] (SCNi32): Likewise.
63192         [C99-based-standards] (SCNo32): Likewise.
63193         [C99-based-standards] (SCNu32): Likewise.
63194         [C99-based-standards] (SCNx32): Likewise.
63195         [C99-based-standards] (PRIdLEAST32): Likewise.
63196         [C99-based-standards] (PRIiLEAST32): Likewise.
63197         [C99-based-standards] (PRIoLEAST32): Likewise.
63198         [C99-based-standards] (PRIuLEAST32): Likewise.
63199         [C99-based-standards] (PRIxLEAST32): Likewise.
63200         [C99-based-standards] (PRIXLEAST32): Likewise.
63201         [C99-based-standards] (SCNdLEAST32): Likewise.
63202         [C99-based-standards] (SCNiLEAST32): Likewise.
63203         [C99-based-standards] (SCNoLEAST32): Likewise.
63204         [C99-based-standards] (SCNuLEAST32): Likewise.
63205         [C99-based-standards] (SCNxLEAST32): Likewise.
63206         [C99-based-standards] (PRIdFAST32): Likewise.
63207         [C99-based-standards] (PRIiFAST32): Likewise.
63208         [C99-based-standards] (PRIoFAST32): Likewise.
63209         [C99-based-standards] (PRIuFAST32): Likewise.
63210         [C99-based-standards] (PRIxFAST32): Likewise.
63211         [C99-based-standards] (PRIXFAST32): Likewise.
63212         [C99-based-standards] (SCNdFAST32): Likewise.
63213         [C99-based-standards] (SCNiFAST32): Likewise.
63214         [C99-based-standards] (SCNoFAST32): Likewise.
63215         [C99-based-standards] (SCNuFAST32): Likewise.
63216         [C99-based-standards] (SCNxFAST32): Likewise.
63217         [C99-based-standards] (PRId64): Likewise.
63218         [C99-based-standards] (PRIi64): Likewise.
63219         [C99-based-standards] (PRIo64): Likewise.
63220         [C99-based-standards] (PRIu64): Likewise.
63221         [C99-based-standards] (PRIx64): Likewise.
63222         [C99-based-standards] (PRIX64): Likewise.
63223         [C99-based-standards] (SCNd64): Likewise.
63224         [C99-based-standards] (SCNi64): Likewise.
63225         [C99-based-standards] (SCNo64): Likewise.
63226         [C99-based-standards] (SCNu64): Likewise.
63227         [C99-based-standards] (SCNx64): Likewise.
63228         [C99-based-standards] (PRIdLEAST64): Likewise.
63229         [C99-based-standards] (PRIiLEAST64): Likewise.
63230         [C99-based-standards] (PRIoLEAST64): Likewise.
63231         [C99-based-standards] (PRIuLEAST64): Likewise.
63232         [C99-based-standards] (PRIxLEAST64): Likewise.
63233         [C99-based-standards] (PRIXLEAST64): Likewise.
63234         [C99-based-standards] (SCNdLEAST64): Likewise.
63235         [C99-based-standards] (SCNiLEAST64): Likewise.
63236         [C99-based-standards] (SCNoLEAST64): Likewise.
63237         [C99-based-standards] (SCNuLEAST64): Likewise.
63238         [C99-based-standards] (SCNxLEAST64): Likewise.
63239         [C99-based-standards] (PRIdFAST64): Likewise.
63240         [C99-based-standards] (PRIiFAST64): Likewise.
63241         [C99-based-standards] (PRIoFAST64): Likewise.
63242         [C99-based-standards] (PRIuFAST64): Likewise.
63243         [C99-based-standards] (PRIxFAST64): Likewise.
63244         [C99-based-standards] (PRIXFAST64): Likewise.
63245         [C99-based-standards] (SCNdFAST64): Likewise.
63246         [C99-based-standards] (SCNiFAST64): Likewise.
63247         [C99-based-standards] (SCNoFAST64): Likewise.
63248         [C99-based-standards] (SCNuFAST64): Likewise.
63249         [C99-based-standards] (SCNxFAST64): Likewise.
63250         [C99-based-standards] (PRIdMAX): Likewise.
63251         [C99-based-standards] (PRIiMAX): Likewise.
63252         [C99-based-standards] (PRIoMAX): Likewise.
63253         [C99-based-standards] (PRIuMAX): Likewise.
63254         [C99-based-standards] (PRIxMAX): Likewise.
63255         [C99-based-standards] (PRIXMAX): Likewise.
63256         [C99-based-standards] (SCNdMAX): Likewise.
63257         [C99-based-standards] (SCNiMAX): Likewise.
63258         [C99-based-standards] (SCNoMAX): Likewise.
63259         [C99-based-standards] (SCNuMAX): Likewise.
63260         [C99-based-standards] (SCNxMAX): Likewise.
63261         [C99-based-standards] (PRIdPTR): Likewise.
63262         [C99-based-standards] (PRIiPTR): Likewise.
63263         [C99-based-standards] (PRIoPTR): Likewise.
63264         [C99-based-standards] (PRIuPTR): Likewise.
63265         [C99-based-standards] (PRIxPTR): Likewise.
63266         [C99-based-standards] (PRIXPTR): Likewise.
63267         [C99-based-standards] (SCNdPTR): Likewise.
63268         [C99-based-standards] (SCNiPTR): Likewise.
63269         [C99-based-standards] (SCNoPTR): Likewise.
63270         [C99-based-standards] (SCNuPTR): Likewise.
63271         [C99-based-standards] (SCNxPTR): Likewise.
63272         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63273         allow.
63274         * conform/data/stdint.h-data: Update comments to clarify
63275         requirements.
63276         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
63277         type.
63278         [C99-based standards] (INT8_MAX): Likewise.
63279         [C99-based standards] (INT16_MIN): Likewise.
63280         [C99-based standards] (INT16_MAX): Likewise.
63281         [C99-based standards] (INT32_MIN): Likewise.
63282         [C99-based standards] (INT32_MAX): Likewise.
63283         [C99-based standards] (INT64_MIN): Likewise.
63284         [C99-based standards] (INT64_MAX): Likewise.
63285         [C99-based standards] (UINT8_MAX): Likewise.
63286         [C99-based standards] (UINT16_MAX): Likewise.
63287         [C99-based standards] (UINT32_MAX): Likewise.
63288         [C99-based standards] (UINT64_MAX): Likewise.
63289         [C99-based standards] (INT_LEAST8_MIN): Likewise.
63290         [C99-based standards] (INT_LEAST8_MAX): Likewise.
63291         [C99-based standards] (INT_LEAST16_MIN): Likewise.
63292         [C99-based standards] (INT_LEAST16_MAX): Likewise.
63293         [C99-based standards] (INT_LEAST32_MIN): Likewise.
63294         [C99-based standards] (INT_LEAST32_MAX): Likewise.
63295         [C99-based standards] (INT_LEAST64_MIN): Likewise.
63296         [C99-based standards] (INT_LEAST64_MAX): Likewise.
63297         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63298         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63299         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63300         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63301         [C99-based standards] (INT_FAST8_MIN): Likewise.
63302         [C99-based standards] (INT_FAST8_MAX): Likewise.
63303         [C99-based standards] (INT_FAST16_MIN): Likewise.
63304         [C99-based standards] (INT_FAST16_MAX): Likewise.
63305         [C99-based standards] (INT_FAST32_MIN): Likewise.
63306         [C99-based standards] (INT_FAST32_MAX): Likewise.
63307         [C99-based standards] (INT_FAST64_MIN): Likewise.
63308         [C99-based standards] (INT_FAST64_MAX): Likewise.
63309         [C99-based standards] (UINT_FAST8_MAX): Likewise.
63310         [C99-based standards] (UINT_FAST16_MAX): Likewise.
63311         [C99-based standards] (UINT_FAST32_MAX): Likewise.
63312         [C99-based standards] (UINT_FAST64_MAX): Likewise.
63313         [C99-based standards] (INTPTR_MIN): Likewise.
63314         [C99-based standards] (INTPTR_MAX): Likewise.
63315         [C99-based standards] (UINTPTR_MAX): Likewise.
63316         [C99-based standards] (INTMAX_MIN): Likewise.
63317         [C99-based standards] (INTMAX_MAX): Likewise.
63318         [C99-based standards] (UINTMAX_MAX): Likewise.
63319         [C99-based standards] (PTRDIFF_MIN): Likewise.
63320         [C99-based standards] (PTRDIFF_MAX): Likewise.
63321         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63322         [C99-based standards] (SIZE_MAX): Likewise.
63323         [C99-based standards] (WCHAR_MAX): Likewise.
63324         [C99-based standards] (WINT_MAX): Likewise.
63325         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
63326         constraint on value.
63327         [C99-based standards] (WCHAR_MIN): Likewise.
63328         [C99-based standards] (WINT_MIN): Likewise.
63329         [C99-based standards] (*_t): Allow.
63330         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63331         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63332         Include math.h-data and complex.h-data.  Remove all expectations
63333         of math.h and complex.h contents.
63334         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63335         at end of line.
63336         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63337         (struct tm): Expect tag.
63338         [C99-based-standards] (wcstof): Expect function.
63339         [C99-based-standards] (wcstold): Likewise.
63340         [C99-based-standards] (wcstoll): Likewise.
63341         [C99-based-standards] (wcstoull): Likewise.
63342         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63343         macro-int-constant.  Specify type.
63344         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
63345         constraint on value.
63346         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63347         Specify type.
63348         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63349         Specify value.
63350         [ISO C standards]: Do not allow headers.
63351         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63352         wcs[abcdefghijklmnopqrstuvwxyz]*.
63353         [ISO C standards] (*_t): Do not allow.
63354         * conform/data/wctype.h-data [C99-based standards] (iswblank):
63355         Expect function.
63356         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63357         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63358         Specify type.
63359         [ISO C standards]: Do not allow headers.
63360         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63361         is[abcdefghijklmnopqrstuvwxyz]*.
63362         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63363         to[abcdefghijklmnopqrstuvwxyz]*.
63364         [ISO C standards] (*_t): Do not allow.
63365         * conform/data/stdalign.h-data: New file.
63366         * conform/data/stdbool.h-data: Likewise.
63367         * conform/data/stdnoreturn.h-data: Likewise.
63369 2012-11-07  Roland McGrath  <roland@hack.frob.com>
63371         [BZ #14815]
63372         * manual/filesys.texi (Directory Entries): Typo fix.
63373         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63375 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63377         * elf/elf.h (EM_AARCH64): New macro.
63378         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63379         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63380         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63381         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63382         (R_AARCH64_TLSDESC): Likewise.
63383         (NT_ARM_TLS): Likewise.
63384         (NT_ARM_HW_BREAK): Likewise.
63385         (NT_ARM_HW_WATCH): Likewise.
63387 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63389         [BZ #14811]
63390         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63391         (__ieee754_powl): Saturate nonzero exponents with absolute value
63392         below 0x1p-79 to +/- 0x1p-79.
63393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63394         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63395         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63396         nonzero exponents with absolute value below 0x1p-32 to +/-
63397         0x1p-32.
63398         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63399         (__ieee754_powl): Saturate nonzero exponents with absolute value
63400         below 0x1p-79 to +/- 0x1p-79.
63401         * math/libm-test.inc (pow_test): Add more tests.
63403 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63405         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63406         _dl_s390_cap_flags with kernel. Increase string length.
63407         (_dl_s390_platforms): Add z196 and zEC12.
63409 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63411         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63412         Change XOPEN21K to XOPEN2K.
63414 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
63416         * string/memmove.c: Use memcpy when possible.
63418 2012-11-06  Andreas Jaeger  <aj@suse.de>
63420         * po/eo.po: Update from translation team.
63422 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
63424         [BZ #14793]
63425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63426         exponent and small x and y exponents, scale x or y up.  Increase
63427         by 2 the exponent used in scaling up.
63428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63430         * math/libm-test.inc (fma_test): Add more tests.
63431         (fma_test_towardzero): Likewise.
63432         (fma_test_downward): Likewise.
63433         (fma_test_upward): Likewise.
63435 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
63437         [BZ #14805]
63438         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63439         fenv_t *.
63441         [BZ #14801]
63442         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63443         namespace for names of struct fields.
63444         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63445         fenv_t fields.
63446         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63447         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63449 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63451         [BZ #3665]
63452         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63454 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63456         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63457         PTR_DEMANGLE.
63459         [BZ #5246]
63460         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63461         PTR_DEMANGLE.
63463 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
63465         [BZ #14797]
63466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63467         definitely overflow as x * y not x * y + z.
63468         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63470         * math/libm-test.inc (fma_test): Add more tests.
63471         (fma_test_towardzero): Likewise.
63472         (fma_test_downward): Likewise.
63473         (fma_test_upward): Likewise.
63475 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63477         [BZ #157]
63479         * include/stub-tag.h: Remove file.
63480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63481         '#include' of it.
63482         * manual/maint.texi (Porting): Don't reference it.
63483         * Makerules ($(objpfx)stubs): Likewise.
63484         * dirent/closedir.c: Don't include <stub-tag.h>.
63485         * dirent/dirfd.c: Likewise.
63486         * dirent/fdopendir.c: Likewise.
63487         * dirent/getdents.c: Likewise.
63488         * dirent/getdents64.c: Likewise.
63489         * dirent/opendir.c: Likewise.
63490         * dirent/readdir.c: Likewise.
63491         * dirent/readdir64.c: Likewise.
63492         * dirent/readdir64_r.c: Likewise.
63493         * dirent/readdir_r.c: Likewise.
63494         * dirent/rewinddir.c: Likewise.
63495         * dirent/seekdir.c: Likewise.
63496         * dirent/telldir.c: Likewise.
63497         * gmon/profil.c: Likewise.
63498         * grp/setgroups.c: Likewise.
63499         * inet/if_index.c: Likewise.
63500         * io/access.c: Likewise.
63501         * io/chdir.c: Likewise.
63502         * io/chmod.c: Likewise.
63503         * io/chown.c: Likewise.
63504         * io/close.c: Likewise.
63505         * io/dup.c: Likewise.
63506         * io/dup2.c: Likewise.
63507         * io/dup3.c: Likewise.
63508         * io/euidaccess.c: Likewise.
63509         * io/faccessat.c: Likewise.
63510         * io/fchdir.c: Likewise.
63511         * io/fchmod.c: Likewise.
63512         * io/fchmodat.c: Likewise.
63513         * io/fchown.c: Likewise.
63514         * io/fchownat.c: Likewise.
63515         * io/fcntl.c: Likewise.
63516         * io/flock.c: Likewise.
63517         * io/fstatfs.c: Likewise.
63518         * io/fstatfs64.c: Likewise.
63519         * io/fstatvfs.c: Likewise.
63520         * io/fstatvfs64.c: Likewise.
63521         * io/futimens.c: Likewise.
63522         * io/fxstat.c: Likewise.
63523         * io/fxstat64.c: Likewise.
63524         * io/fxstatat.c: Likewise.
63525         * io/fxstatat64.c: Likewise.
63526         * io/getcwd.c: Likewise.
63527         * io/isatty.c: Likewise.
63528         * io/lchmod.c: Likewise.
63529         * io/lchown.c: Likewise.
63530         * io/link.c: Likewise.
63531         * io/linkat.c: Likewise.
63532         * io/lseek.c: Likewise.
63533         * io/lseek64.c: Likewise.
63534         * io/lxstat64.c: Likewise.
63535         * io/mkdir.c: Likewise.
63536         * io/mkdirat.c: Likewise.
63537         * io/mkfifo.c: Likewise.
63538         * io/mkfifoat.c: Likewise.
63539         * io/open.c: Likewise.
63540         * io/open64.c: Likewise.
63541         * io/openat.c: Likewise.
63542         * io/openat64.c: Likewise.
63543         * io/pipe.c: Likewise.
63544         * io/pipe2.c: Likewise.
63545         * io/poll.c: Likewise.
63546         * io/posix_fadvise.c: Likewise.
63547         * io/posix_fadvise64.c: Likewise.
63548         * io/posix_fallocate.c: Likewise.
63549         * io/posix_fallocate64.c: Likewise.
63550         * io/read.c: Likewise.
63551         * io/readlink.c: Likewise.
63552         * io/readlinkat.c: Likewise.
63553         * io/rmdir.c: Likewise.
63554         * io/sendfile.c: Likewise.
63555         * io/sendfile64.c: Likewise.
63556         * io/statfs.c: Likewise.
63557         * io/statfs64.c: Likewise.
63558         * io/statvfs.c: Likewise.
63559         * io/statvfs64.c: Likewise.
63560         * io/symlink.c: Likewise.
63561         * io/symlinkat.c: Likewise.
63562         * io/ttyname.c: Likewise.
63563         * io/ttyname_r.c: Likewise.
63564         * io/umask.c: Likewise.
63565         * io/unlink.c: Likewise.
63566         * io/unlinkat.c: Likewise.
63567         * io/utime.c: Likewise.
63568         * io/utimensat.c: Likewise.
63569         * io/write.c: Likewise.
63570         * io/xmknod.c: Likewise.
63571         * io/xmknodat.c: Likewise.
63572         * io/xstat.c: Likewise.
63573         * io/xstat64.c: Likewise.
63574         * login/getpt.c: Likewise.
63575         * login/grantpt.c: Likewise.
63576         * login/unlockpt.c: Likewise.
63577         * math/e_acoshl.c: Likewise.
63578         * math/e_acosl.c: Likewise.
63579         * math/e_asinl.c: Likewise.
63580         * math/e_atan2l.c: Likewise.
63581         * math/e_atanhl.c: Likewise.
63582         * math/e_coshl.c: Likewise.
63583         * math/e_expl.c: Likewise.
63584         * math/e_fmodl.c: Likewise.
63585         * math/e_gammal_r.c: Likewise.
63586         * math/e_hypotl.c: Likewise.
63587         * math/e_j0l.c: Likewise.
63588         * math/e_j1l.c: Likewise.
63589         * math/e_jnl.c: Likewise.
63590         * math/e_lgammal_r.c: Likewise.
63591         * math/e_log10l.c: Likewise.
63592         * math/e_log2l.c: Likewise.
63593         * math/e_logl.c: Likewise.
63594         * math/e_powl.c: Likewise.
63595         * math/e_rem_pio2l.c: Likewise.
63596         * math/e_sinhl.c: Likewise.
63597         * math/e_sqrtl.c: Likewise.
63598         * math/fclrexcpt.c: Likewise.
63599         * math/fedisblxcpt.c: Likewise.
63600         * math/feenablxcpt.c: Likewise.
63601         * math/fegetenv.c: Likewise.
63602         * math/fegetexcept.c: Likewise.
63603         * math/fegetround.c: Likewise.
63604         * math/feholdexcpt.c: Likewise.
63605         * math/fesetenv.c: Likewise.
63606         * math/fesetround.c: Likewise.
63607         * math/feupdateenv.c: Likewise.
63608         * math/fgetexcptflg.c: Likewise.
63609         * math/fraiseexcpt.c: Likewise.
63610         * math/fsetexcptflg.c: Likewise.
63611         * math/ftestexcept.c: Likewise.
63612         * math/k_cosl.c: Likewise.
63613         * math/k_rem_pio2l.c: Likewise.
63614         * math/k_sinl.c: Likewise.
63615         * math/k_tanl.c: Likewise.
63616         * math/s_asinhl.c: Likewise.
63617         * math/s_atanl.c: Likewise.
63618         * math/s_cbrtl.c: Likewise.
63619         * math/s_erfl.c: Likewise.
63620         * math/s_expm1l.c: Likewise.
63621         * math/s_log1pl.c: Likewise.
63622         * math/s_tanhl.c: Likewise.
63623         * misc/acct.c: Likewise.
63624         * misc/brk.c: Likewise.
63625         * misc/chflags.c: Likewise.
63626         * misc/chroot.c: Likewise.
63627         * misc/fchflags.c: Likewise.
63628         * misc/fgetxattr.c: Likewise.
63629         * misc/flistxattr.c: Likewise.
63630         * misc/fremovexattr.c: Likewise.
63631         * misc/fsetxattr.c: Likewise.
63632         * misc/fsync.c: Likewise.
63633         * misc/ftruncate.c: Likewise.
63634         * misc/futimes.c: Likewise.
63635         * misc/futimesat.c: Likewise.
63636         * misc/getdomain.c: Likewise.
63637         * misc/getdtsz.c: Likewise.
63638         * misc/gethostid.c: Likewise.
63639         * misc/gethostname.c: Likewise.
63640         * misc/getloadavg.c: Likewise.
63641         * misc/getpagesize.c: Likewise.
63642         * misc/getsysstats.c: Likewise.
63643         * misc/getxattr.c: Likewise.
63644         * misc/gtty.c: Likewise.
63645         * misc/ioctl.c: Likewise.
63646         * misc/lgetxattr.c: Likewise.
63647         * misc/listxattr.c: Likewise.
63648         * misc/llistxattr.c: Likewise.
63649         * misc/lremovexattr.c: Likewise.
63650         * misc/lsetxattr.c: Likewise.
63651         * misc/lutimes.c: Likewise.
63652         * misc/madvise.c: Likewise.
63653         * misc/mincore.c: Likewise.
63654         * misc/mlock.c: Likewise.
63655         * misc/mlockall.c: Likewise.
63656         * misc/mmap.c: Likewise.
63657         * misc/mprotect.c: Likewise.
63658         * misc/msync.c: Likewise.
63659         * misc/munlock.c: Likewise.
63660         * misc/munlockall.c: Likewise.
63661         * misc/munmap.c: Likewise.
63662         * misc/preadv.c: Likewise.
63663         * misc/preadv64.c: Likewise.
63664         * misc/ptrace.c: Likewise.
63665         * misc/pwritev.c: Likewise.
63666         * misc/pwritev64.c: Likewise.
63667         * misc/readv.c: Likewise.
63668         * misc/reboot.c: Likewise.
63669         * misc/remap_file_pages.c: Likewise.
63670         * misc/removexattr.c: Likewise.
63671         * misc/revoke.c: Likewise.
63672         * misc/select.c: Likewise.
63673         * misc/setdomain.c: Likewise.
63674         * misc/setegid.c: Likewise.
63675         * misc/seteuid.c: Likewise.
63676         * misc/sethostid.c: Likewise.
63677         * misc/sethostname.c: Likewise.
63678         * misc/setregid.c: Likewise.
63679         * misc/setreuid.c: Likewise.
63680         * misc/setxattr.c: Likewise.
63681         * misc/sstk.c: Likewise.
63682         * misc/stty.c: Likewise.
63683         * misc/swapoff.c: Likewise.
63684         * misc/swapon.c: Likewise.
63685         * misc/sync.c: Likewise.
63686         * misc/syncfs.c: Likewise.
63687         * misc/syscall.c: Likewise.
63688         * misc/truncate.c: Likewise.
63689         * misc/ualarm.c: Likewise.
63690         * misc/usleep.c: Likewise.
63691         * misc/ustat.c: Likewise.
63692         * misc/utimes.c: Likewise.
63693         * misc/vhangup.c: Likewise.
63694         * misc/writev.c: Likewise.
63695         * posix/_exit.c: Likewise.
63696         * posix/alarm.c: Likewise.
63697         * posix/execve.c: Likewise.
63698         * posix/fexecve.c: Likewise.
63699         * posix/fork.c: Likewise.
63700         * posix/fpathconf.c: Likewise.
63701         * posix/getaddrinfo.c: Likewise.
63702         * posix/getegid.c: Likewise.
63703         * posix/geteuid.c: Likewise.
63704         * posix/getgid.c: Likewise.
63705         * posix/getgroups.c: Likewise.
63706         * posix/getlogin.c: Likewise.
63707         * posix/getlogin_r.c: Likewise.
63708         * posix/getpgid.c: Likewise.
63709         * posix/getpid.c: Likewise.
63710         * posix/getppid.c: Likewise.
63711         * posix/getresgid.c: Likewise.
63712         * posix/getresuid.c: Likewise.
63713         * posix/getsid.c: Likewise.
63714         * posix/getuid.c: Likewise.
63715         * posix/glob64.c: Likewise.
63716         * posix/nanosleep.c: Likewise.
63717         * posix/pathconf.c: Likewise.
63718         * posix/pause.c: Likewise.
63719         * posix/posix_madvise.c: Likewise.
63720         * posix/pread.c: Likewise.
63721         * posix/pread64.c: Likewise.
63722         * posix/pwrite.c: Likewise.
63723         * posix/pwrite64.c: Likewise.
63724         * posix/sched_getaffinity.c: Likewise.
63725         * posix/sched_getp.c: Likewise.
63726         * posix/sched_gets.c: Likewise.
63727         * posix/sched_primax.c: Likewise.
63728         * posix/sched_primin.c: Likewise.
63729         * posix/sched_rr_gi.c: Likewise.
63730         * posix/sched_setaffinity.c: Likewise.
63731         * posix/sched_setp.c: Likewise.
63732         * posix/sched_sets.c: Likewise.
63733         * posix/sched_yield.c: Likewise.
63734         * posix/setgid.c: Likewise.
63735         * posix/setlogin.c: Likewise.
63736         * posix/setpgid.c: Likewise.
63737         * posix/setresgid.c: Likewise.
63738         * posix/setresuid.c: Likewise.
63739         * posix/setsid.c: Likewise.
63740         * posix/setuid.c: Likewise.
63741         * posix/sleep.c: Likewise.
63742         * posix/spawni.c: Likewise.
63743         * posix/sysconf.c: Likewise.
63744         * posix/times.c: Likewise.
63745         * posix/wait.c: Likewise.
63746         * posix/wait3.c: Likewise.
63747         * posix/wait4.c: Likewise.
63748         * posix/waitpid.c: Likewise.
63749         * resolv/gai_sigqueue.c: Likewise.
63750         * resource/getpriority.c: Likewise.
63751         * resource/getrlimit.c: Likewise.
63752         * resource/getrusage.c: Likewise.
63753         * resource/nice.c: Likewise.
63754         * resource/setpriority.c: Likewise.
63755         * resource/setrlimit.c: Likewise.
63756         * resource/ulimit.c: Likewise.
63757         * rt/aio_cancel.c: Likewise.
63758         * rt/aio_fsync.c: Likewise.
63759         * rt/aio_read.c: Likewise.
63760         * rt/aio_sigqueue.c: Likewise.
63761         * rt/aio_suspend.c: Likewise.
63762         * rt/aio_write.c: Likewise.
63763         * rt/clock_getres.c: Likewise.
63764         * rt/clock_gettime.c: Likewise.
63765         * rt/clock_nanosleep.c: Likewise.
63766         * rt/clock_settime.c: Likewise.
63767         * rt/lio_listio.c: Likewise.
63768         * rt/mq_close.c: Likewise.
63769         * rt/mq_getattr.c: Likewise.
63770         * rt/mq_notify.c: Likewise.
63771         * rt/mq_open.c: Likewise.
63772         * rt/mq_receive.c: Likewise.
63773         * rt/mq_send.c: Likewise.
63774         * rt/mq_setattr.c: Likewise.
63775         * rt/mq_timedreceive.c: Likewise.
63776         * rt/mq_timedsend.c: Likewise.
63777         * rt/mq_unlink.c: Likewise.
63778         * rt/shm_open.c: Likewise.
63779         * rt/shm_unlink.c: Likewise.
63780         * rt/timer_create.c: Likewise.
63781         * rt/timer_delete.c: Likewise.
63782         * rt/timer_getoverr.c: Likewise.
63783         * rt/timer_gettime.c: Likewise.
63784         * rt/timer_settime.c: Likewise.
63785         * setjmp/__longjmp.c: Likewise.
63786         * setjmp/setjmp.c: Likewise.
63787         * signal/kill.c: Likewise.
63788         * signal/killpg.c: Likewise.
63789         * signal/raise.c: Likewise.
63790         * signal/sigaction.c: Likewise.
63791         * signal/sigaltstack.c: Likewise.
63792         * signal/sigblock.c: Likewise.
63793         * signal/sigignore.c: Likewise.
63794         * signal/sigintr.c: Likewise.
63795         * signal/signal.c: Likewise.
63796         * signal/sigpause.c: Likewise.
63797         * signal/sigpending.c: Likewise.
63798         * signal/sigqueue.c: Likewise.
63799         * signal/sigreturn.c: Likewise.
63800         * signal/sigset.c: Likewise.
63801         * signal/sigsetmask.c: Likewise.
63802         * signal/sigstack.c: Likewise.
63803         * signal/sigsuspend.c: Likewise.
63804         * signal/sigtimedwait.c: Likewise.
63805         * signal/sigvec.c: Likewise.
63806         * signal/sigwait.c: Likewise.
63807         * signal/sigwaitinfo.c: Likewise.
63808         * signal/sysv_signal.c: Likewise.
63809         * socket/accept.c: Likewise.
63810         * socket/accept4.c: Likewise.
63811         * socket/bind.c: Likewise.
63812         * socket/connect.c: Likewise.
63813         * socket/getpeername.c: Likewise.
63814         * socket/getsockname.c: Likewise.
63815         * socket/getsockopt.c: Likewise.
63816         * socket/isfdtype.c: Likewise.
63817         * socket/listen.c: Likewise.
63818         * socket/recv.c: Likewise.
63819         * socket/recvfrom.c: Likewise.
63820         * socket/recvmsg.c: Likewise.
63821         * socket/send.c: Likewise.
63822         * socket/sendmsg.c: Likewise.
63823         * socket/sendto.c: Likewise.
63824         * socket/setsockopt.c: Likewise.
63825         * socket/shutdown.c: Likewise.
63826         * socket/sockatmark.c: Likewise.
63827         * socket/socket.c: Likewise.
63828         * socket/socketpair.c: Likewise.
63829         * stdio-common/ctermid.c: Likewise.
63830         * stdio-common/cuserid.c: Likewise.
63831         * stdio-common/remove.c: Likewise.
63832         * stdio-common/rename.c: Likewise.
63833         * stdio-common/renameat.c: Likewise.
63834         * stdio-common/tempname.c: Likewise.
63835         * stdlib/getcontext.c: Likewise.
63836         * stdlib/makecontext.c: Likewise.
63837         * stdlib/setcontext.c: Likewise.
63838         * stdlib/swapcontext.c: Likewise.
63839         * stdlib/system.c: Likewise.
63840         * streams/fattach.c: Likewise.
63841         * streams/fdetach.c: Likewise.
63842         * streams/getmsg.c: Likewise.
63843         * streams/getpmsg.c: Likewise.
63844         * streams/putmsg.c: Likewise.
63845         * streams/putpmsg.c: Likewise.
63846         * sysdeps/unix/bsd/getpt.c: Likewise.
63847         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63848         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63849         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63851         Likewise.
63852         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63853         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63854         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63855         * sysvipc/msgctl.c: Likewise.
63856         * sysvipc/msgget.c: Likewise.
63857         * sysvipc/msgrcv.c: Likewise.
63858         * sysvipc/msgsnd.c: Likewise.
63859         * sysvipc/semctl.c: Likewise.
63860         * sysvipc/semget.c: Likewise.
63861         * sysvipc/semop.c: Likewise.
63862         * sysvipc/semtimedop.c: Likewise.
63863         * sysvipc/shmat.c: Likewise.
63864         * sysvipc/shmctl.c: Likewise.
63865         * sysvipc/shmdt.c: Likewise.
63866         * sysvipc/shmget.c: Likewise.
63867         * termios/tcdrain.c: Likewise.
63868         * termios/tcflow.c: Likewise.
63869         * termios/tcflush.c: Likewise.
63870         * termios/tcgetattr.c: Likewise.
63871         * termios/tcgetpgrp.c: Likewise.
63872         * termios/tcsendbrk.c: Likewise.
63873         * termios/tcsetattr.c: Likewise.
63874         * termios/tcsetpgrp.c: Likewise.
63875         * time/adjtime.c: Likewise.
63876         * time/clock.c: Likewise.
63877         * time/getitimer.c: Likewise.
63878         * time/gettimeofday.c: Likewise.
63879         * time/setitimer.c: Likewise.
63880         * time/settimeofday.c: Likewise.
63881         * time/stime.c: Likewise.
63882         * time/time.c: Likewise.
63884 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
63886         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
63887         /usr/old/bin.
63889         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
63890         instead of spaces.
63891         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
63893 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
63895         [BZ #14796]
63896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
63897         FE_TONEAREST before applying Dekker multiplication and Knuth
63898         addition.  Clear inexact exceptions and check for exact zero
63899         results afterwards.
63900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63901         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63903         * math/libm-test.inc (fma_test): Add more tests.
63904         (fma_test_towardzero): Likewise.
63905         (fma_test_downward): Likewise.
63906         (fma_test_upward): Likewise.
63907         * sysdeps/generic/math_private.h (default_libc_fesetround): New
63908         function.
63909         (libc_fesetround): New macro.
63910         (libc_fesetroundf): Likewise.
63911         (libc_fesetroundl): Likewise.
63912         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
63913         function.
63914         (libc_fesetround_387): Likewise.
63915         (libc_fesetroundf): New macro.
63916         (libc_fesetround): Likewise.
63917         (libc_fesetroundl): Likewise.
63918         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
63919         function.
63920         (libc_fesetroundf): New macro.
63921         (libc_fesetround): Likewise.
63922         (libc_fesetroundl): Likewise.
63923         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
63924         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
63925         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
63926         libm_hidden_ver.
63927         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
63928         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
63929         libm_hidden_def.
63930         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
63931         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
63932         libm_hidden_ver.
63933         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
63934         libm_hidden_def.
63936         [BZ #3439]
63937         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
63938         integer constant usable in #if and use that to give value to enum
63939         constant.
63940         (FE_DIVBYZERO): Likewise.
63941         (FE_UNDERFLOW): Likewise.
63942         (FE_OVERFLOW): Likewise.
63943         (FE_INVALID): Likewise.
63944         (FE_INVALID_SNAN): Likewise.
63945         (FE_INVALID_ISI): Likewise.
63946         (FE_INVALID_IDI): Likewise.
63947         (FE_INVALID_ZDZ): Likewise.
63948         (FE_INVALID_IMZ): Likewise.
63949         (FE_INVALID_COMPARE): Likewise.
63950         (FE_INVALID_SOFTWARE): Likewise.
63951         (FE_INVALID_SQRT): Likewise.
63952         (FE_INVALID_INTEGER_CONVERSION): Likewise.
63953         (FE_TONEAREST): Likewise.
63954         (FE_TOWARDZERO): Likewise.
63955         (FE_UPWARD): Likewise.
63956         (FE_DOWNWARD): Likewise.
63957         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
63958         (FE_DIVBYZERO): Likewise.
63959         (FE_OVERFLOW): Likewise.
63960         (FE_UNDERFLOW): Likewise.
63961         (FE_INEXACT): Likewise.
63962         (FE_TONEAREST): Likewise.
63963         (FE_DOWNWARD): Likewise.
63964         (FE_UPWARD): Likewise.
63965         (FE_TOWARDZERO): Likewise.
63966         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
63967         (FE_UNDERFLOW): Likewise.
63968         (FE_OVERFLOW): Likewise.
63969         (FE_DIVBYZERO): Likewise.
63970         (FE_INVALID): Likewise.
63971         (FE_TONEAREST): Likewise.
63972         (FE_TOWARDZERO): Likewise.
63973         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
63974         (FE_OVERFLOW): Likewise.
63975         (FE_UNDERFLOW): Likewise.
63976         (FE_DIVBYZERO): Likewise.
63977         (FE_INEXACT): Likewise.
63978         (FE_TONEAREST): Likewise.
63979         (FE_TOWARDZERO): Likewise.
63980         (FE_UPWARD): Likewise.
63981         (FE_DOWNWARD): Likewise.
63982         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
63983         (FE_DIVBYZERO): Likewise.
63984         (FE_OVERFLOW): Likewise.
63985         (FE_UNDERFLOW): Likewise.
63986         (FE_INEXACT): Likewise.
63987         (FE_TONEAREST): Likewise.
63988         (FE_DOWNWARD): Likewise.
63989         (FE_UPWARD): Likewise.
63990         (FE_TOWARDZERO): Likewise.
63992 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
63994         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
63996 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
63998         * scripts/cross-test-ssh.sh (command): Use newlines to separate
63999         commands.  Quote $PWD.
64000         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64001         -x" by "export".
64002         (remove_newlines): Remove.
64004 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64006         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64007         * stdlib/stdlib.h (atof): Moved to ...
64008         * include/bits/stdlib-float.h: Here.  New file.
64009         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64010         * stdlib/bits/stdlib-float.h: New file.
64011         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64012         -mno-sse -mno-mmx.
64013         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64014         <xmmintrin.h>.
64016 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64018         * conform/conformtest.pl (@headers): Add fenv.h.
64019         * conform/data/fenv.h-data: New file.
64020         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64021         include of <math/fenv.h>.
64023         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64024         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64025         && !UNIX98].  Enables tests for XOPEN2K8.
64026         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64027         POSIX2008]: Likewise.
64029         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64030         (struct rusage): Do not expect type or its members.
64032         [BZ #3439]
64033         * math/math.h (FP_NAN): Define macro to integer constant usable in
64034         #if and use that to give value to enum constant.
64035         (FP_INFINITE): Likewise.
64036         (FP_ZERO): Likewise.
64037         (FP_SUBNORMAL): Likewise.
64038         (FP_NORMAL): Likewise.
64040 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64042         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64043         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64044         arguments.
64046 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64048         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64049         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64050         autoconf-time if not.
64051         * configure.in: Remove AC_PREREQ.
64053 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64055         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64056         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64057         of the internal implementation.
64059 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64061         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64062         except include of <misc/sys/syslog.h>.
64064 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64067         function returns with a NULL context exit with zero.
64069 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64071         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64073 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64075         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64076         (run_program_cmd): This.
64077         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64078         (tst_langinfo): New variable.  Use it.
64080 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
64082         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64083         floating point opcodes.
64085 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64087         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64088         variable.
64090         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64092         * sysdeps/mach/hurd/powerpc: Remove directory.
64093         * sysdeps/mach/powerpc: Likewise.
64095 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64097         * scripts/check-local-headers.sh: Ignore c++ headers.
64099 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64101         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64102         __libc_cleanup_region_start argument.
64104 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
64106         [BZ #14784]
64107         [BZ #14785]
64108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64109         x * y using scaling, not as x * y + z.
64110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64112         * math/libm-test.inc (fma_test): Add more tests.
64113         (fma_test_towardzero): Likewise.
64114         (fma_test_downward): Likewise.
64115         (fma_test_upward): Likewise.
64117 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64119         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64121 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64123         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64124         New variable.
64126 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
64128         * rt/tst-shm.c (worker): Correct checking for mmap failure.
64130 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64133         Fix sort order.
64134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64135         Likewise.
64137 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64140         Fix the order of the list for glibc 2.17.
64141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64142         Likewise.
64144 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64148 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64150         [BZ #14610]
64151         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64152         for low part of x being zero before using __atanl (y).
64153         * math/libm-test.inc (atan2_test): Add another test.
64155         * manual/install.texi (Configuring and compiling): Document
64156         general use of test-wrapper and test-wrapper-env.
64157         * INSTALL: Regenerated.
64159         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64160         (__fma): Do not extract and scale down low bits on after-rounding
64161         systems when result rounded to normal precision would have normal
64162         exponent.
64163         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64164         (__fmal): Do not extract and scale down low bits on after-rounding
64165         systems when result rounded to normal precision would have normal
64166         exponent.
64167         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64168         (__fmal): Do not extract and scale down low bits on after-rounding
64169         systems when result rounded to normal precision would have normal
64170         exponent.
64171         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64172         macro.
64173         (fma_test): Add more tests.
64174         (fma_test_towardzero): Likewise.
64175         (fma_test_downward): Likewise.
64176         (fma_test_upward): Likewise.
64178 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
64180         * sysdeps/i386/tininess.h: Renamed to ...
64181         * sysdeps/x86/tininess.h: This.
64182         * sysdeps/x86_64/tininess.h: Removed.
64184 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64186         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64187         input.  Use $(build-program-cmd).
64188         ($(objpfx)tst-array1-static.out): Likewise.
64189         ($(objpfx)tst-array2.out): Likewise.
64190         ($(objpfx)tst-array3.out): Likewise.
64191         ($(objpfx)tst-array4.out): Likewise.
64192         ($(objpfx)tst-array5.out): Likewise.
64193         ($(objpfx)tst-array5-static.out): Likewise.
64195 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
64197         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64198         if defined.
64200         * nss/nsswitch.h (nss_interface_function): Provide new
64201         macro for use with NSS functions.
64202         * grp/initgroups.c: Use new macro.
64203         * nss/getXXbyYY.c: Likewise.
64204         * nss/getXXbyYY_r.c: Likewise.
64205         * nss/getXXent.c: Likewise.
64206         * nss/getXXent_r.c: Likewise.
64207         * sysdeps/posix/getaddrinfo.c: Likewise.
64209 2012-10-30  Andreas Jaeger  <aj@suse.de>
64211         * po/ru.po: Update Russion translation from translation project.
64213 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64215         [BZ #14152]
64216         [BZ #14783]
64217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64218         result and shift together with sticky bit instead of replicating
64219         round-to-nearest rounding.
64220         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64222         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
64223         missing underflow exceptions.
64224         (fma_test_towardzero): Add more tests.
64225         (fma_test_downward): Likewise.
64226         (fma_test_upward): Likewise.
64228         [BZ #14047]
64229         * sysdeps/generic/tininess.h: New file.
64230         * sysdeps/i386/tininess.h: Likewise.
64231         * sysdeps/sh/tininess.h: Likewise.
64232         * sysdeps/x86_64/tininess.h: Likewise.
64233         * stdlib/tst-strtod-underflow.c: Likewise.
64234         * stdlib/tst-tininess.c: Likewise.
64235         * stdlib/strtod_l.c: Include <tininess.h>.
64236         (round_and_return): Do not set errno for exact underflow cases.
64237         Force an underflow exception when setting errno for underflow.
64238         Determine underflow based on rounding to normal precision if
64239         TININESS_AFTER_ROUNDING.
64240         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64241         ERANGE for exact underflow cases.
64242         * stdlib/Makefile (tests): Add tst-tininess and
64243         tst-strtod-underflow.
64244         ($(objpfx)tst-tininess): Use $(link-libm).
64245         ($(objpfx)tst-strtod-underflow): Likewise.
64247 2012-10-30  Andreas Jaeger  <aj@suse.de>
64249         [BZ#14767]
64250         * elf/Makefile (tests): Remove conditional for have-initfini-array
64251         since this is now always required and the variable does not exist
64252         anymore.
64253         (tests-static): Likewise.
64254         (modules-names): Likewise.
64256         * po/eo.po: Add Esperanto translation from translation project.
64258         * elf/tst-array1.c (fini_array): Make writeable so that it can be
64259         merged with constructor/destructor.
64260         (init_array): Likewise.
64261         * elf/tst-array2dep.c (fini_array): Likewise.
64262         (init_array): Likewise.
64264 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
64266         * manual/message.texi: Delete @cartouche tags.
64268 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
64270         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64271         EOPNOTSUPP.
64272         * sysdeps/mach/hurd/fsync.c: Likewise.
64274         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64275         [_POSIX_REALTIME_SIGNALS]: Change condition to
64276         [_POSIX_REALTIME_SIGNALS > 0].
64278 2012-10-27  Andreas Jaeger  <aj@suse.de>
64280         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64281         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64283         [__WORDSIZE != 64]: Likewise.
64285 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
64287         *  iconvdata/tst-table.sh: Remove ${SHELL}.
64288         *  iconvdata/tst-tables.sh: Likewise.
64290 2012-10-25  David S. Miller  <davem@davemloft.net>
64292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64293         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64294         of strtoull.
64296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64297         ifunc-impl-list.c
64298         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64299         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64300         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64301         file.
64303 2012-10-25  Roland McGrath  <roland@hack.frob.com>
64305         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64306         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64307         __getdirentries.
64309 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64310             Jim Blandy  <jimb@codesourcery.com>
64312         * scripts/cross-test-ssh.sh: New file.
64313         * manual/install.texi (Configuring and compiling): Document use of
64314         cross-test-ssh.sh.
64315         * INSTALL: Regenerated.
64317 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
64319         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64320         EOPNOTSUPP.
64322 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64324         * Makeconfig (run-program-prefix): Fix comment.
64326 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64327             Jim Blandy  <jimb@codesourcery.com>
64329         * Makeconfig (test-wrapper): New variable,
64330         (test-wrapper-env): Likewise.
64331         [$(cross-compiling) = yes && $(test-wrapper) != ""]
64332         (run-built-tests): Define to yes.
64333         (run-program-prefix): Use $(test-wrapper).
64334         (built-program-cmd): Likewise.
64335         * Rules (make-test-out): Use $(test-wrapper-env) and
64336         $(host-built-program-cmd).
64337         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64338         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64339         tst-pathopt.sh.
64340         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64341         $(test-wrapper-env) to tst-rtld-load-self.sh.
64342         ($(objpfx)order2.out): Use $(test-wrapper).
64343         ($(objpfx)tst-initorder.out): Likewise.
64344         ($(objpfx)tst-initorder2.out): Likewise.
64345         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64346         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64347         (test_wrapper_env): New variable.  Use it to run ld.so.
64348         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64349         Use it to run ld.so.
64350         (test_wrapper_env): Likewise.
64351         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64352         $(test-wrapper) to run-iconv-test.sh.
64353         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64354         (ICONV): Use $test_wrapper.
64355         * posix/Makefile ($(objpfx)globtest.out): Pass
64356         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64357         globtest.sh, not $(run-program-prefix).
64358         * posix/globtest.sh (run_via_rtld_prefix): New variable.
64359         (test_wrapper): Likewise.
64360         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
64361         set together with run_via_rtld_prefix.
64362         (run_program_prefix): Define in terms of test_wrapper and
64363         run_via_rtld_prefix.
64365 2012-10-24  Roland McGrath  <roland@hack.frob.com>
64367         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64368         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64369         Targets removed.
64371         [BZ #14743]
64372         * include/time.h: Remove librt_hidden_proto (clock_gettime).
64373         Declare __clock_getres, __clock_gettime, __clock_settime,
64374         __clock_nanosleep, and __clock_getcpuclockid.
64375         * rt/clock_gettime.c: Define __clock_gettime as an alias.
64376         Remove librt_hidden_def (clock_gettime).
64377         * sysdeps/unix/clock_gettime.c: Likewise.
64378         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64379         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64380         * rt/clock_getres.c: Define __clock_getres as an alias.
64381         * sysdeps/posix/clock_getres.c: Likewise.
64382         * rt/clock_settime.c: Define __clock_settime as an alias.
64383         * sysdeps/unix/clock_settime.c: Likewise.
64384         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64385         * sysdeps/unix/clock_nanosleep.c: Likewise.
64386         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64387         * rt/clock-compat.c: New file.
64388         * rt/Makefile (librt-routines): Add clock-compat and move
64389         $(clock-routines) to ...
64390         (routines): ... here, new variable.
64391         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64392         Don't add get_clockfreq here.
64393         * rt/Versions (libc: GLIBC_2.17): New version set.
64394         Add clock_* symbols here.
64395         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
64396         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64397         (GLIBC_2.17): Add clock_* symbols.
64398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64400         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64402         Likewise.
64403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64404         Likewise.
64405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64409         * NEWS: Mention the move.
64411         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64412         Use __open, __read, __close rather than their public counterparts.
64413         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64414         (__get_clockfreq_via_cpuinfo): Likewise.
64415         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64416         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64418         * config.h.in (HAVE_IFUNC): New #undef.
64419         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64420         was successful.
64421         * configure: Regenerated.
64423 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64425         * configure.in: Move READELF check to start of file.
64426         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64427         libc_cv_asm_gnu_indirect_function in the process.
64428         * configure: Regenerated.
64430 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64432         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64433         send the output to /dev/null.
64434         (libc_cv_cc_with_libunwind): Likewise.
64435         (libc_cv_as_noexecstack): Likewise.
64436         * configure: Regenerate.
64438 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64440         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64442         * posix/globtest.sh (TMPDIR): Do not set.
64443         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64444         (testout): Likewise.
64446 2012-10-24  Andreas Jaeger  <aj@suse.de>
64448         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64449         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64450         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64451         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64452         posix_fadvise64, posix_fallocate64.
64454         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64455         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64456         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64457         Likewise.
64458         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64459         Likewise.
64460         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64463         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64464         <bits/fcntl-linux.h>.
64465         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64467         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64468         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64469         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64470         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64471         [__WORDSIZE != 64]: Likewise.
64473 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64475         * Makeconfig (run-built-tests): New variable.
64476         * Rules [$(cross-compiling) = yes]: Change condition to
64477         [$(run-built-tests) = no].
64478         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64479         to [$(run-built-tests) = yes].
64480         * elf/Makefile [$(cross-compiling) = no]: Likewise.
64481         * grp/Makefile [$(cross-compiling) = no]: Likewise.
64482         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64483         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64484         * intl/Makefile [$(cross-compiling) = no]: Likewise.
64485         * io/Makefile [$(cross-compiling) = no]: Likewise.
64486         * libio/Makefile [$(cross-compiling) = no]: Likewise.
64487         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64488         * misc/Makefile [$(cross-compiling) = no]: Likewise.
64489         * posix/Makefile [$(cross-compiling) = no]: Likewise.
64490         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64491         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64492         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64493         * string/Makefile [$(cross-compiling) = no]: Likewise.
64495         * posix/Makefile ($(objpfx)globtest.out): Pass
64496         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64497         $(rtld-installed-name).
64498         * posix/globtest.sh (elf_objpfx): Remove variable.
64499         (rtld_installed_name): Likewise.
64500         (library_path): Likewise.
64501         (run_program_prefix): New variable.  Use for running globtest
64502         binary.
64504 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
64505             Joseph Myers  <joseph@codesourcery.com>
64507         * Makeconfig (host-built-program-cmd): New variable.
64508         * elf/Makefile (tst-stackguard1-ARGS): Use
64509         $(host-built-program-cmd).
64510         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64511         (tst-spawn-ARGS): Likewise.
64512         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64514 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64515             Jim Blandy  <jimb@codesourcery.com>
64517         * Makeconfig (run-via-rtld-prefix): New variable.
64518         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64519         (built-program-cmd): Likewise.
64521 2012-10-22  Andreas Jaeger  <aj@suse.de>
64523         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64524         __O_RSYNC if it exists, otherwise to O_SYNC.
64526 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
64527             Joseph Myers  <joseph@codesourcery.com>
64529         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64530         /dev/null.
64531         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64532         from /dev/null
64533         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64534         /dev/null.
64536 2012-10-22  Andreas Jaeger  <aj@suse.de>
64538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64539         Define always.
64540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64543         bits/fcntl-linux.h.
64545         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64546         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64548         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64549         to __O_LARGEFILE.
64550         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64551         to __O_LARGEFILE.
64553 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
64554             Joseph Myers  <joseph@codesourcery.com>
64556         * config.make.in (NM): New variable.
64558 2012-10-21  Andreas Jaeger  <aj@suse.de>
64560         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64561         definitions and declarations that are provided by
64562         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64564 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64566         [BZ #14683]
64567         * elf/Makefile (tests-static): Add tst-leaks1-static.
64568         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64569         ($(objpfx)tst-leaks1-static): New rule.
64570         ($(objpfx)tst-leaks1-static-mem): Likewise.
64571         (tst-leaks1-static-ENV): New macro.
64572         * elf/dl-open.c (dl_open_worker): Check the main application
64573         only if SHARED is defined.
64574         * elf/tst-leaks1-static.c: New file.
64576 2012-10-20  Andreas Jaeger  <aj@suse.de>
64578         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64579         generic values for Linux.
64580         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64581         and declarations that are provided by <bits/fcntl-linux.h> and
64582         include <bits/fcntl-linux.h>.
64583         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64586 2012-10-20  Roland McGrath  <roland@hack.frob.com>
64588         * io/fcntl.h: Move include of <bits/types.h> to the top and
64589         include it unconditionally.
64591 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64593         * wcsmbs/Makefile (tests-ifunc): New variable.
64594         (tests): Add $(tests-ifunc).
64595         * wcsmbs/test-wcschr-ifunc.c: New file.
64596         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64597         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64598         * wcsmbs/test-wcslen-ifunc.c: Likewise.
64599         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64600         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64602         * string/Makefile (tests-ifunc): New variable.
64603         (tests): Add $(tests-ifunc).
64604         * string/test-memccpy.c (TEST_NAME): New macro.
64605         * string/test-memchr.c (TEST_NAME): Likewise.
64606         * string/test-memcmp.c (TEST_NAME): Likewise.
64607         * string/test-memcpy.c (TEST_NAME): Likewise.
64608         * string/test-memmem.c (TEST_NAME): Likewise.
64609         * string/test-memmove.c (TEST_NAME): Likewise.
64610         * string/test-memset.c (TEST_NAME): Likewise.
64611         * string/test-rawmemchr.c (TEST_NAME): Likewise.
64612         * string/test-stpcpy.c (TEST_NAME): Likewise.
64613         * string/test-stpncpy.c (TEST_NAME): Likewise.
64614         * string/test-strcasecmp.c (TEST_NAME): Likewise.
64615         * string/test-strcasestr.c (TEST_NAME): Likewise.
64616         * string/test-strcat.c (TEST_NAME): Likewise.
64617         * string/test-strchr.c (TEST_NAME): Likewise.
64618         * string/test-strcmp.c(TEST_NAME): Likewise.
64619         * string/test-strcpy.c (TEST_NAME): Likewise.
64620         * string/test-strcspn.c (TEST_NAME): Likewise.
64621         * string/test-strlen.c (TEST_NAME): Likewise.
64622         * string/test-strncasecmp.c (TEST_NAME): Likewise.
64623         * string/test-strncmp.c (TEST_NAME): Likewise.
64624         * string/test-strncpy.c (TEST_NAME): Likewise.
64625         * string/test-strnlen.c (TEST_NAME): Likewise.
64626         * string/test-strpbrk.c (TEST_NAME): Likewise.
64627         * string/test-strrchr.c (TEST_NAME): Likewise.
64628         * string/test-strspn.c (TEST_NAME): Likewise.
64629         * string/test-strstr.c (TEST_NAME): Likewise.
64630         * string/test-bcopy-ifunc.c: New file.
64631         * string/test-bzero-ifunc.c: Likewise.
64632         * string/test-memccpy-ifunc.c: Likewise.
64633         * string/test-memchr-ifunc.c: Likewise.
64634         * string/test-memcmp-ifunc.c: Likewise.
64635         * string/test-memcpy-ifunc.c: Likewise.
64636         * string/test-memmem-ifunc.c: Likewise.
64637         * string/test-memmove-ifunc.c: Likewise.
64638         * string/test-mempcpy-ifunc.c: Likewise.
64639         * string/test-memset-ifunc.c: Likewise.
64640         * string/test-rawmemchr-ifunc.c: Likewise.
64641         * string/test-stpcpy-ifunc.c: Likewise.
64642         * string/test-stpncpy-ifunc.c: Likewise.
64643         * string/test-strcasecmp-ifunc.c: Likewise.
64644         * string/test-strcasestr-ifunc.c: Likewise.
64645         * string/test-strcat-ifunc.c: Likewise.
64646         * string/test-strchr-ifunc.c: Likewise.
64647         * string/test-strchrnul-ifunc.c: Likewise.
64648         * string/test-strcmp-ifunc.c: Likewise.
64649         * string/test-strcpy-ifunc.c: Likewise.
64650         * string/test-strcspn-ifunc.c: Likewise.
64651         * string/test-strlen-ifunc.c: Likewise.
64652         * string/test-strncasecmp-ifunc.c: Likewise.
64653         * string/test-strncat-ifunc.c: Likewise.
64654         * string/test-strncmp-ifunc.c: Likewise.
64655         * string/test-strncpy-ifunc.c: Likewise.
64656         * string/test-strnlen-ifunc.c: Likewise.
64657         * string/test-strpbrk-ifunc.c: Likewise.
64658         * string/test-strrchr-ifunc.c: Likewise.
64659         * string/test-strspn-ifunc.c: Likewise.
64660         * string/test-strstr-ifunc.c: Likewise.
64662         * debug/Makefile (tests-ifunc): New variable.
64663         (tests): Add $(tests-ifunc).
64664         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64665         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64666         * debug/test-stpcpy_chk-ifunc.c: New file.
64667         * debug/test-strcpy_chk-ifunc.c: Likewise.
64669 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64671         [BZ #13601]
64672         * elf/dl-load.c (open_verify): Retry read if the entire ELF
64673         header is not read in.
64675 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
64677         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
64678         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
64679         directly.  Pass built executable to script as
64680         $(built-program-cmd).
64681         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
64682         $testprogram without using LD_LIBRARY_PATH and $ldso.
64684         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64685         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64686         $(rtld-installed-name).
64687         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64688         (rtld_installed_name): Likewise.
64689         (library_path): Likewise.
64690         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
64691         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64692         $(run-program-prefix) to tst-tables.sh.
64693         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
64694         it to run tst-table-from and tst-table-to.
64695         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64696         Pass it to tst-table.sh.
64697         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64698         $(run-program-prefix) to tst-gettext.sh.
64699         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64700         tst-translit.sh.
64701         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64702         tst-gettext2.sh.
64703         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
64704         to run tst-gettext.
64705         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
64706         to run tst-gettext2.
64707         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
64708         to run tst-translit.
64709         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64710         $(run-program-prefix) to tst-mtrace.sh.
64711         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
64712         to run tst-mtrace.
64713         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64714         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64715         $(rtld-installed-name).
64716         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64717         (rtld_installed_name): Likewise.
64718         (run_program_prefix): New variable.  Use it to run wordexp-test.
64720         * Makeconfig (ARCH): Remove all definitions.
64721         (machine): Likewise.
64722         [ARCH]: Remove conditional code.
64723         [!objdir]: Give error.
64724         [!objdir] (objpfx): Remove.
64725         [!objdir] (common-objpfx): Likewise.
64726         [!objdir] (common-objdir): Likewise.
64727         * configure.in (config_makefile): Remove.  Hardcode Makefile in
64728         AC_CONFIG_FILES call.
64729         * configure: Regenerated.
64731         [BZ #13888]
64732         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64733         or TMPDIR.
64734         (testout): Likewise.
64736         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64737         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64738         $(rtld-installed-name).
64739         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64740         (rtld_installed_name): Likewise.
64741         (runit): Remove function.
64742         (run_getconf): New variable,  Use it for running getconf binary.
64744 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
64746         [BZ #14716]
64747         * string/test-memmem.c (check_result): New function.
64748         (do_one_test): Use it.
64749         (check1): New function.
64750         (test_main): Use it.
64752 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
64754         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64756 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
64758         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64759         (_G_LSEEK64): Likewise.
64760         (_G_MMAP64): Likewise.
64761         (_G_FSTAT64): Likewise.
64762         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64763         (_G_LSEEK64): Likewise.
64764         (_G_MMAP64): Likewise.
64765         (_G_FSTAT64): Likewise.
64766         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64767         unconditional.  Call __mmap64 directly.
64768         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64769         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
64770         __lseek64 directly.
64771         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64772         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
64773         __mmap64 directly.
64774         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64775         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64776         __lseek64 directly.
64777         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64778         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64779         __lseek64 directly.
64780         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64781         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
64782         __lseek64 directly.
64783         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64784         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
64785         __fxstat64 directly.
64786         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64787         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64788         unconditional.
64789         (freopen64) [!_G_OPEN64]: Remove conditional code.
64790         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64791         unconditional.
64792         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64793         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64794         unconditional.
64795         (ftello64) [!_G_LSEEK64]: Remove conditional code.
64796         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64797         unconditional.
64798         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64799         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64800         unconditional.
64801         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64802         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64803         unconditional.
64804         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64805         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64806         unconditional.
64807         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64808         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64809         unconditional.
64810         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64812 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64814         [BZ #12140]
64815         * manual/memory.texi (Malloc Tunable Parameters): Add note
64816         about free list pointers overwriting some perturb bytes.
64817         Wording suggested by Roland McGrath.
64819 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
64821         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64822         (lgamma_test): Likewise.
64823         (tgamma_test): Likewise.
64825 2012-10-16  Florian Weimer  <fweimer@redhat.com>
64827         [BZ #14700]
64828         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64829         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64831 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
64833         * NEWS: Mention BZ #14716.
64834         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64835         when removing AVAILABLE1_USES_J macro.
64837 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
64839         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64840         (__bswap_64): __uint64_t for unsigned 64-bit int.
64842 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
64844         * include/string.h (memmem): Declare libc hidden alias.
64845         * string/memmem.c (memmem): Define libc hidden alias.
64846         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64847         __read, __close instead of open, read, close.
64849 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
64851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64852         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64853         global and hidden.
64854         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64855         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64856         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64857         Likewise.
64858         (__rawmemchr_sse2): Likewise.
64859         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64860         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64861         (__strchr_sse2): Likewise.
64862         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64863         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64864         (__strcasecmp_sse2): Likewise.
64865         (__strncasecmp_sse2): Likewise.
64866         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64867         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64868         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64869         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
64870         (__strrchr_sse2): Likewise.
64871         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
64872         ifunc-impl-list.c.
64873         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
64874         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
64875         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
64876         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64877         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
64878         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
64879         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64880         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64881         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
64882         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
64883         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
64884         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
64885         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
64886         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
64887         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
64888         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64889         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
64890         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
64891         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
64892         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
64893         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
64894         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
64895         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
64896         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64897         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
64898         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64899         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
64900         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64901         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
64902         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
64904         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
64905         global and hidden.
64906         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
64907         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
64908         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
64909         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
64910         Likewise.
64911         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
64912         Likewise.
64913         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
64914         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
64915         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
64916         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
64917         ifunc-impl-list.c.
64918         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64919         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64920         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64921         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64922         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64923         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64924         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64925         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64926         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64927         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64928         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64929         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64930         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64931         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
64932         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
64933         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64934         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
64935         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
64936         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64937         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64938         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64939         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64940         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64941         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64942         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64943         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
64944         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
64945         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
64946         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
64947         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64948         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
64949         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64950         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64951         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
64952         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64953         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64954         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64955         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64956         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64957         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64958         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
64960         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
64961         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
64962         * include/ifunc-impl-list.h: New file.
64963         * misc/ifunc-impl-list.c: Likewise.
64964         * misc/Makefile (routines): Add ifunc-impl-list.
64965         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
64966         * string/test-string.h: Include <ifunc-impl-list.h>.
64967         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
64968         TEST_NAME]: New variables.
64969         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
64970         are defined.
64971         (test_init): Call __libc_ifunc_impl_list to initialize
64972         func_list if TEST_IFUNC and TEST_NAME are defined.
64974         * string/Makefile (strop-tests): Add bcopy and bzero.
64975         * string/test-bcopy.c: New file.
64976         * string/test-bzero.c: Likewise.
64977         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
64978         defined.
64979         * string/test-memset.c: Support bzero test if TEST_BZERO is
64980         defined.
64981         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
64982         __libc_memmove.
64983         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
64984         __libc_memset.
64985         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
64986         of memset.
64988 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
64990         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
64991         * configure: Regenerated.
64993         * Makeconfig (+link-static-before-libc): Don't include
64994         $(link-static-libc).
64996         * libio/libio.h (_IO_pos_t): Remove.
64998 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65000         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65001         McGrath.
65003 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65005         * crypt/crypt-entry.c: Include fips-private.h.
65006         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65007         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65008         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65009         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65011 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65013         * crypt/crypt-private.h: Include stdbool.h.
65014         (_ufc_setup_salt_r): Return bool.
65015         * crypt/crypt-entry.c: Include errno.h.
65016         (__crypt_r): Return NULL with EINVAL for bad salt.
65017         * crypt/crypt_util.c (bad_for_salt): New.
65018         (_ufc_setup_salt_r): Check that salt is long enough and within
65019         the specified alphabet.
65020         * crypt/badsalttest.c: New file.
65021         * crypt/Makefile (tests): Add it.
65022         ($(objpfx)badsalttest): New.
65024 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65026         * NEWS: Add entry for BZ #14602.
65028 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65030         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65031         type-generic.
65032         * math/libm-test.inc: Update comment listing what functions and
65033         macros are tested.
65034         (isgreater_test): New function.
65035         (isgreaterequal_test): Likewise.
65036         (isless_test): Likewise.
65037         (islessequal_test): Likewise.
65038         (islessgreater_test): Likewise.
65039         (isunordered_test): Likewise.
65040         (main): Call the new functions.
65042 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65044         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65045         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65046         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65047         * sysdeps/i386/configure: Regenerated.
65048         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65049         * sysdeps/mach/configure: Regenerated.
65050         * sysdeps/mach/hurd/configure: Regenerated.
65051         * sysdeps/powerpc/configure: Regenerated.
65052         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65053         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65054         * sysdeps/s390/s390-32/configure: Regenerated.
65055         * sysdeps/s390/s390-64/configure: Regenerated.
65056         * sysdeps/sh/configure: Regenerated.
65057         * sysdeps/sparc/configure: Regenerated.
65058         * sysdeps/unix/sysv/linux/configure: Regenerated.
65059         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65060         * sysdeps/x86_64/configure: Regenerated.
65062         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65063         defined.  Don't check if MAP is NULL.
65065 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65067         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65068         (_G_stat64): Likewise.
65069         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65070         (_G_stat64): Likewise.
65071         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65072         instead of struct _G_stat64.
65073         * libio/fileops.c (mmap_remap_check): Likewise.
65074         (decide_maybe_mmap): Likewise.
65075         (_IO_new_file_seekoff): Likewise.
65076         (_IO_file_stat): Likewise.
65077         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65078         _G_off64_t.
65079         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65080         instead of struct _G_stat64.
65081         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65083 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
65085         [BZ #14602]
65086         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65087         Replace with ...
65088         (CHECK_EOL): New macro.
65089         (two_way_short_needle): Check beginning of haystack for EOL.  Use
65090         CHECK_EOL.
65091         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65092         Replace with CHECK_EOL.
65093         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65094         Replace with CHECK_EOL.
65096 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
65098         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65099         type-generic.
65100         * math/libm-test.inc: Update comment listing what functions and
65101         macros are tested.
65102         (finite_test): New function.
65103         (isinf_test): Likewise.
65104         (isnan_test): Likewise.
65105         (fpclassify_test): Test subnormal input.
65106         (isfinite_test): Likewise.
65107         (isnormal_test): Likewise.
65108         (main): Call the new functions.
65110 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
65112         [BZ #14660]
65113         * Makerules (%.dynsym): Force C locale when running
65114         $(OBJDUMP) --dynamic-syms.
65116 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
65118         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65119         <stdint.h>.
65121 2012-10-06  David S. Miller  <davem@davemloft.net>
65123         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65124         upper 32-bits of the length value in %o2 since we use branch-on-register
65125         tests which consider the entire 64-bit register.
65127 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
65129         * string/test-strstr.c (check2): Add a test for page boundary.
65131 2012-10-05  David S. Miller  <davem@davemloft.net>
65133         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65134         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65135         file.
65136         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65137         sysdep_routines.
65138         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65139         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65140         and bzero when HWCAP_SPARC_CRYPTO is present.
65142 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
65144         [BZ #14602]
65145         * string/test-strstr.c (check2): New function.
65146         (test_main): Call check2.
65148         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65149         and bug-strchr1.
65150         * string/bug-strcasestr1.c (do_test): Moved to ...
65151         * string/test-strcasestr.c (check1): Here.  New function.
65152         (do_one_test): Break out result checking code into ...
65153         (check_result): This.  New function.
65154         (do_one_test): Call check_result.
65155         (test_main): Call check1.
65156         * string/bug-strchr1.c (do_test): Moved to ...
65157         * string/test-strchr.c (check1): Here.  New function.
65158         (do_one_test): Break out result checking code into ...
65159         (check_result): This.  New function.
65160         (do_one_test): Call check_result.
65161         (test_main): Call check1.
65162         * string/bug-strstr1.c (main): Moved to ...
65163         * string/test-strstr.c (check1): Here.  New function.
65164         (do_one_test): Break out result checking code into ...
65165         (check_result): This.  New function.
65166         (do_one_test): Call check_result.
65167         (test_main): Call check1.
65168         * string/bug-strcasestr1.c: Removed.
65169         * string/bug-strchr1.c: Likewise.
65170         * string/bug-strstr1.c: Likewise.
65172         * elf/Makefile (dl-routines): Add hwcaps.
65173         * elf/dl-support.c (_dl_important_hwcaps): Removed.
65174         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65175         (_dl_important_hwcaps): Moved to ...
65176         * elf/dl-hwcaps.c: Here.  New file.
65177         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65179         [BZ #14557]
65180         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65181         if IS_IN_rtld isn't defined.
65183         * elf/dl-support.c (_dl_sysinfo_map): New.
65184         Include "get-dynamic-info.h" and "setup-vdso.h".
65185         (_dl_non_dynamic_init): Call setup_vdso.
65186         * elf/dynamic-link.h: Don't include <assert.h>.
65187         (elf_get_dynamic_info): Moved to ...
65188         * elf/get-dynamic-info.h: Here.  New file.
65189         * elf/dynamic-link.h: Include "get-dynamic-info.h".
65190         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65191         * elf/setup-vdso.h: Here.  New file.
65192         * elf/rtld.c: Include "setup-vdso.h".
65193         (dl_main): Call setup_vdso.
65195 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
65197         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65198         creal in comment listing functions tested.  List finite, isinf,
65199         isnan, isless, islessequal, isgreater, isgreaterequal,
65200         islessgreater, isunordered, lgamma_r and pow10 as functions and
65201         macros not tested.  Mention which functions not tested are aliases
65202         for other functions.  Fix typo.  Note that signs of NaNs are not
65203         tested.
65205         * scripts/config.guess: Update from config.git.
65206         * scripts/config.sub: Likewise.
65208 2012-10-04  Roland McGrath  <roland@hack.frob.com>
65210         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65211         * misc/madvise.c (madvise): Renamed to __madvise.
65212         Make madvise a weak alias.
65213         * include/sys/mman.h: Declare __madvise.
65214         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65215         * sysdeps/unix/syscalls.list
65216         (madvise): Make __madvise the strong name, and madvise a weak alias.
65217         * sysdeps/unix/sysv/linux/syscalls.list
65218         (madvise, mmap): Remove redundant entries.
65219         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65220         * malloc/malloc.c (mtrim): Likewise.
65221         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65223 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65225         * sysdeps/mach/hurd/dl-cache.c: File removed.
65226         * config.h.in (USE_LDCONFIG): New #undef.
65227         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65228         * configure: Regenerated.
65229         * elf/Makefile (dl-routines): Add dl-cache only under
65230         [$(use-ldconfig) = yes].
65231         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65232         cache on [USE_LDCONFIG].
65233         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65234         [USE_LDCONFIG].
65235         * elf/rtld.c (dl_main): Likewise.
65237 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
65239         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65240         _SC_LEVEL4_CACHE_LINESIZE.
65242 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65244         * sysdeps/unix/bsd/confstr.h: File removed.
65246 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
65248         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65249         sys/sdt-config.h.
65251 2012-10-02  Roland McGrath  <roland@hack.frob.com>
65253         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65254         Make 'mapoff' field ElfW(Off) rather than off_t.
65256 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
65258         * nscd/Makefile: Remove nscd-cflags and all its users.
65259         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65260         (CFLAGS-nonlib): Add compiler flags for nscd modules.
65262         [BZ #10631]
65263         * malloc.c (malloc_printerr): Clarify error message.
65265 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
65267         [BZ #14648]
65268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65269         Set bit_FMA_Usable if FMA is supported.
65270         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65271         macro.
65272         (bit_FMA4_Usable): Updated.
65273         (index_FMA_Usable): New macro.
65274         (CPUID_FMA): Likewise.
65275         (HAS_FMA): Defined with bit_FMA_Usable.
65277 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65279         * bits/types.h (__swblk_t): Type removed.
65280         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65281         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65283         (__SWBLK_T_TYPE): Likewise.
65284         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65285         (__SWBLK_T_TYPE): Likewise.
65286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65287         (__SWBLK_T_TYPE): Likewise.
65288         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65289         (__SWBLK_T_TYPE): Likewise.
65291 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
65292             Honza Horak <hhorak@redhat.com>
65294         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65295         (xdr_mapname): Use YPMAXMAP as maxsize.
65296         (xdr_peername): Use YPMAXPEER as maxsize.
65297         (xdr_keydat): Use YPAXRECORD as maxsize.
65298         (xdr_valdat): Use YPMAXRECORD as maxsize.
65300 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65302         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65304         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65305         * csu/init-first.c: ... here.
65306         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65307         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65308         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65309         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65310         * sysdeps/i386/init-first.c: File removed.
65311         * sysdeps/sh/init-first.c: File removed.
65313 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
65315         [BZ #14645]
65316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65317         if x * y might underflow to zero and z is zero.
65318         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65320         * math/libm-test.inc (min_subnorm_value): New variable.
65321         (fma_test): Add more tests.
65322         (fma_test_towardzero): Likewise.
65323         (fma_test_downward): Likewise.
65324         (fma_test_upward): Likewise.
65325         (initialize): Set min_subnorm_value.
65327 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
65329         [BZ #14638]
65330         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65331         0 + 0.
65332         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65333         mode for addition resulting in exact zero.
65334         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65336         exact 0 + 0.
65337         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65339         * math/libm-test.inc (fma_test): Add more tests.
65340         (fma_test_towardzero): New function.
65341         (fma_test_downward): Likewise.
65342         (fma_test_upward): Likewise.
65343         (main): Call the new functions.
65345 2012-09-28  David S. Miller  <davem@davemloft.net>
65347         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65349 2012-09-28  Roland McGrath  <roland@hack.frob.com>
65351         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65352         instead of SIGALRM.
65354         * sysdeps/gnu/_G_config.h: Moved to ...
65355         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65356         * sysdeps/mach/hurd/_G_config.h: Moved to ...
65357         * sysdeps/generic/_G_config.h: ... here.
65359         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
65361         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65363         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65364         Conditionalize target on [libnss_test1.so-version].
65366         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65368         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65369         (elfobjdir): Move out of conditionals.
65371         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65372         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65373         (__nss_lookup_function): Conditionalize label remove_from_tree on
65374         [!DO_STATIC_NSS || SHARED], matching its only use.
65376 2012-09-28  David S. Miller  <davem@davemloft.net>
65378         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65379         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65380         file.
65381         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65382         sysdep_routines.
65383         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65384         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65385         when HWCAP_SPARC_CRYPTO is present.
65387 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65389         * io/tst-mknodat.c: Create a FIFO instead of a socket.
65391 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
65393         [BZ #6530]
65394         * stdio-common/vfprintf.c (process_string_arg): Revert
65395         2000-07-22 change.
65397 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
65399         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65400         for testcase.
65401         * stdio-common/tst-sprintf.c: Include <locale.h>
65402         (main): Test sprintf's handling of incomplete multibyte
65403         characters.
65405 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
65407         * elf/dl-runtime.c (VERSYMIDX): Removed.
65408         * elf/dl-version.c (VERSYMIDX): Likewise.
65409         * elf/do-rel.h (VERSYMIDX): Likewise.
65410         (VALIDX): Likewise.
65411         * elf/dynamic-link.h (VERSYMIDX): Likewise.
65412         * elf/rtld.c (VALIDX): Likewise.
65413         (ADDRIDX): Likewise.
65414         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65415         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65416         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65417         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65418         (VALIDX): Likewise.
65419         (ADDRIDX): Likewise.
65421 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65423         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65425 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
65427         [BZ #11438]
65428         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65429         to global scope.
65430         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65431         addresses are in the same scope as 192.0.2/24.
65432         * posix/gai.conf: Document new scope table defaults.
65434 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65436         [BZ #5298]
65437         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65438         for ftell.  Compute offsets from write pointers instead.
65439         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65441 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65443         [BZ #14543]
65444         * libio/Makefile (tests): New test case tst-fseek.
65445         * libio/tst-fseek.c: New test case to verify that fseek/ftell
65446         combination works in wide mode.
65447         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65448         state when the external buffer state changes.
65450 2012-09-27  David S. Miller  <davem@davemloft.net>
65452         [BZ #14376]
65453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65454         pass reloc->r_addend in as the 'high' argument to
65455         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65459 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65461         * rt/tst-aio2.c: Include <pthread.h>.
65462         * rt/tst-aio3.c: Likewise.
65464 2012-09-27  Steve Ellcey  <sellcey@mips.com>
65466         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65468 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
65470         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65471         contents on [SHARED].
65473 2012-09-26  Marek Polacek  <polacek@redhat.com>
65475         [BZ #14530]
65476         [BZ #13741]
65477         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65478         for C++ and GCC <4.3 as well as for non GCC compilers.
65480 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65484 2012-09-25  Roland McGrath  <roland@hack.frob.com>
65486         * Makefile.in (all, install): Declare with .PHONY.
65487         Reported by Michael Hope <michael.hope@linaro.org>.
65489 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65491         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65492         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65493         system header.
65494         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65495         Likewise.
65496         (sydep_routines): Add the new and the internal functions.
65497         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65498         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65500         (GLIBC_2.17): Add the new function.
65501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65502         (GLIBC_2.17): Likewise.
65503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65504         (GLIBC_2.17): Likewise.
65505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65506         (GLIBC_2.17): Likewise.
65507         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65509 2012-09-25  Alan Modra  <amodra@gmail.com>
65511         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65512         Add release barrier before setting once_control to say
65513         initialisation is done.  Add hints on lwarx.  Use macro in
65514         place of isync.
65515         (clear_once_control): Add release barrier.
65517 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65519         [BZ #13629]
65520         * math/s_clog.c (__clog): Handle more values close to |z| = 1
65521         specially.
65522         * math/s_clog10.c (__clog10): Likewise.
65523         * math/s_clog10f.c (__clog10f): Likewise.
65524         * math/s_clog10l.c (__clog10l): Likewise.
65525         * math/s_clogf.c (__clogf): Likewise.
65526         * math/s_clogl.c (__clogl): Likewise.
65527         * math/Makefile (libm-calls): Add x2y2m1.
65528         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65529         (__x2y2m1): Likewise.
65530         (__x2y2m1l): Likewise.
65531         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65532         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65533         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65534         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65535         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65536         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65537         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65538         * sysdeps/i386/fpu/libm-test-ulps: Update.
65539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65541         [BZ #14621]
65542         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65543         int as type of variable DEPTH.
65544         (glob): Use size_t instead of int as type of variables NEWCOUNT
65545         and OLD_PATHC.
65547 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65549         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65550         Add s_sincosf-sse2.
65551         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65552         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65553         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65554         macros for using routine as __sincosf_ia32.
65555         Use macro for function declaration and weak_alias.
65556         * sysdeps/i386/fpu/libm-test-ulps: Update.
65558         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65561         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65562         subnormal argument.
65563         * math/s_cexpf.c (__cexpf): Likewise.
65564         * math/s_csinf.c (__csinf): Likewise.
65565         * math/s_csinhf.c (__csinhf): Likewise.
65566         * math/s_ctanf.c (__ctanf): Likewise.
65567         * math/s_ctanhf.c (__ctanhf): Likewise.
65568         * math/s_ccosh.c (__ccoshf): Likewise.
65569         * math/s_cexp.c (__cexpl): Likewise.
65570         * math/s_csin.c (__csin): Likewise.
65571         * math/s_csinh.c (__csinh): Likewise.
65572         * math/s_ctan.c (__ctan): Likewise.
65573         * math/s_ctanh.c (ctanh): Likewise.
65574         * math/s_ccoshl.c (__ccoshl): Likewise.
65575         * math/s_cexpl.c (__cexpl): Likewise.
65576         * math/s_csinl.c (__csinl): Likewise.
65577         * math/s_csinhl.c (__csinhl): Likewise.
65578         * math/s_ctanl.c (__ctanl): Likewise.
65579         * math/s_ctanhl.c (__ctanhl): Likewise.
65581 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65583         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65584         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65585         (_IO_off_t): Define to __off_t, not _G_off_t.
65586         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65587         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65588         (_IO_wint_t): Define to wint_t, not _G_wint_t.
65589         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65590         type of __dummy and __dummy2 fields.
65591         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65592         (_G_ssize_t): Likewise.
65593         (_G_off_t): Likewise.
65594         (_G_pid_t): Likewise.
65595         (_G_uid_t): Likewise.
65596         (_G_wchar_t): Likewise.
65597         (_G_wint_t): Likewise.
65598         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65599         (_G_ssize_t): Likewise.
65600         (_G_off_t): Likewise.
65601         (_G_pid_t): Likewise.
65602         (_G_uid_t): Likewise.
65603         (_G_wchar_t): Likewise.
65604         (_G_wint_t): Likewise.
65605         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65606         (_G_ssize_t): Likewise.
65607         (_G_off_t): Likewise.
65608         (_G_pid_t): Likewise.
65609         (_G_uid_t): Likewise.
65610         (_G_wchar_t): Likewise.
65611         (_G_wint_t): Likewise.
65613 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65615         * malloc/arena.c: Include malloc-sysdep.h.
65616         (shrink_heap): Use check_may_shrink_heap to decide if madvise
65617         is sufficient to shrink the heap or an unmap is needed.
65618         * sysdeps/generic/malloc-sysdep.h: New file.  Define
65619         new function check_may_shrink_heap.
65620         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
65621         new function check_may_shrink_heap.
65623 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65625         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65626         comments.
65628 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
65630         * catgets/test-gencat.sh: Add "set -e".
65631         * elf/tst-pathopt.sh: Likewise.
65632         * grp/tst_fgetgrent.sh: Likewise.
65633         * iconvdata/run-iconv-test.sh: Likewise.
65634         * intl/tst-gettext.sh: Likewise.
65635         * intl/tst-gettext2.sh: Likewise.
65636         * intl/tst-gettext4.sh: Likewise.
65637         * intl/tst-gettext6.sh: Likewise.
65638         * intl/tst-translit.sh: Likewise.
65639         * io/ftwtest-sh: Likewise.
65640         * libio/test-freopen.sh: Likewise.
65641         * malloc/tst-mtrace.sh: Likewise.
65642         * posix/globtest.sh: Likewise.
65643         * posix/tst-getconf.sh: Likewise.
65644         * posix/wordexp-tst.sh: Likewise.
65645         * stdio-common/tst-printf.sh: Likewise.
65646         * stdio-common/tst-unbputc.sh: Likewise.
65647         * stdlib/tst-fmtmsg.sh: Likewise.
65648         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65649         * catgets/Makefile: Do not specify -e option when running
65650         testsuite shell scripts.
65651         * elf/Makefile: Likewise.
65652         * grp/Makefile: Likewise.
65653         * iconvdata/Makefile: Likewise.
65654         * intl/Makefile: Likewise.
65655         * io/Makefile: Likewise.
65656         * libio/Makefile: Likewise.
65657         * malloc/Makefile: Likewise.
65658         * posix/Makefile: Likewise.
65659         * stdio-common/Makefile: Likewise.
65660         * stdlib/Makefile: Likewise.
65661         * sysdeps/x86_64/Makefile: Likewise.
65663         * io/ftwtest-sh: Add copyright header.
65664         * posix/globtest.sh: Likewise.
65665         * posix/tst-getconf.sh: Likewise.
65666         * posix/wordexp-tst.sh: Likewise.
65667         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65669 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
65671         [BZ #13679]
65672         * Makeconfig (+link): Defined as $(+link-static) if
65673         $(build-shared) isn't yes.
65674         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65675         isn't yes.
65676         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65678         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65680         [BZ #14562]
65681         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65682         new chunk size with MALLOC_ALIGN_MASK.
65684 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
65686         [BZ #5044]
65687         * stdio-common/printf_fphex.c: Include <stdbool.h> and
65688         <rounding-mode.h>.
65689         (__printf_fphex): Determine rounding using get_rounding_mode and
65690         round_away.
65691         * stdio-common/tst-printf-round.c (struct hex_test): New
65692         structure.
65693         (hex_tests): New variable.
65694         (test_hex_in_one_mode): New function.
65695         (do_test): Also run tests for hex float output.
65697 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
65699         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65700         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65701         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65702         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65703         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65704         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65705         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65706         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65708 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
65710         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65711         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65712         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65713         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65715 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
65717         [BZ #14579]
65718         * elf/rtld.c (dl_main): Limit the check for self loading to normal
65719         mode only.
65720         * elf/tst-rtld-load-self.sh: New test.
65721         * elf/Makefile: Run it.
65723 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
65725         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65726         (tst-writev-ENV): Remove.
65727         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65729 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
65731         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65733 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
65735         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65736         unconditional.
65737         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65738         Likewise.
65739         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65740         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65741         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65742         Likewise.
65744 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
65746         [BZ #14587]
65747         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65748         * config.make.in (have-cpp-asm-debuginfo): Removed.
65749         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65750         * configure: Regenerated.
65752 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
65754         [BZ #5044]
65755         * stdio-common/printf_fp.c: Include <stdbool.h> and
65756         <rounding-mode.h>.
65757         (___printf_fp): Determine rounding using get_rounding_mode and
65758         round_away.
65759         * stdio-common/tst-printf-round.c: New file.
65760         * stdio-common/Makefile (tests): Add tst-printf-round.
65761         (link-libm): New variable.
65762         ($(objpfx)tst-printf-round): Depend in $(link-libm).
65764 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
65766         [BZ #14576]
65767         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65768         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65769         Likewise.
65770         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65771         Likewise.
65773 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
65775         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65776         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65777         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65778         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65780 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
65782         [BZ #14518]
65783         * include/rounding-mode.h: New file.
65784         * sysdeps/generic/get-rounding-mode.h: Likewise.
65785         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65786         * stdlib/strtod_l.c: Include <rounding-mode.h>.
65787         (MAX_VALUE): New macro.
65788         (MIN_VALUE): Likewise.
65789         (overflow_value): New function.
65790         (underflow_value): Likewise.
65791         (round_and_return): Use overflow_value and underflow_value to
65792         determine return values in overflow and underflow cases.  Use
65793         round_away to determine rounding depending on rounding mode.
65794         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65795         determine return values in overflow and underflow cases.
65796         * stdlib/tst-strtod-round.c: Include <fenv.h>.
65797         (struct test_results): New structure.
65798         (struct test): Use struct test_results to store expected results
65799         for all rounding modes.
65800         (TEST): Include expected results for all rounding modes.
65801         (test_in_one_mode): New function.
65802         (do_test): Use test_in_one_mode to compute and check results.
65803         Check results for all rounding modes.
65804         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65805         $(link-libm).
65807 2012-12-09  Allan McRae  <allan@archlinux.org>
65809         * sysdeps/i386/fpu/libm-test-ulps: Update
65811 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
65813         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65814         (_G_int32_t): Likewise.
65815         (_G_uint16_t): Likewise.
65816         (_G_uint32_t): Likewise.
65817         (_G_HAVE_BOOL): Likewise.
65818         (_G_HAVE_ATEXIT): Likewise.
65819         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65820         (_G_HAVE_IO_FILE_OPEN): Likewise.
65821         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65822         (_G_int32_t): Likewise.
65823         (_G_uint16_t): Likewise.
65824         (_G_uint32_t): Likewise.
65825         (_G_HAVE_BOOL): Likewise.
65826         (_G_HAVE_ATEXIT): Likewise.
65827         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65828         (_G_HAVE_IO_FILE_OPEN): Likewise.
65829         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65830         (_G_int32_t): Likewise.
65831         (_G_uint16_t): Likewise.
65832         (_G_uint32_t): Likewise.
65833         (_G_HAVE_BOOL): Likewise.
65834         (_G_HAVE_ATEXIT): Likewise.
65835         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65836         (_G_HAVE_IO_FILE_OPEN): Likewise.
65838 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
65840         * csu/libc-tls.c: Update copyright years.
65842 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
65844         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65845         [!_G_USING_THUNKS]: Remove conditional code.
65846         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65847         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65849         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65850         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65851         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65852         (_G_VTABLE_LABEL_PREFIX): Likewise.
65853         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65854         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65855         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65856         (_G_VTABLE_LABEL_PREFIX): Likewise.
65857         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65858         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65859         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65860         (_G_VTABLE_LABEL_PREFIX): Likewise.
65861         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65863 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
65865         * libio/Makefile: Include ../Makeconfig before tests.
65866         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65867         only if $(build-shared) is yes.
65869         * iconv/gconv_db.c: Update copyright years.
65871 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65873         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
65874         unwind info if defined PIC. Fix special cases description.
65875         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
65877         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
65878         DP_HI_MASK entry.
65879         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
65881 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
65883         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
65885         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
65886         is NULL.
65888         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
65889         (LDLIBS-tst-chk4): This.
65890         (LDFLAGS-tst-chk5): Renamed to ...
65891         (LDLIBS-tst-chk5): This.
65892         (LDFLAGS-tst-chk6): Renamed to ...
65893         (LDLIBS-tst-chk6): This.
65894         (LDFLAGS-tst-lfschk4): Renamed to ...
65895         (LDLIBS-tst-lfschk4): This.
65896         (LDFLAGS-tst-lfschk5): Renamed to ...
65897         (LDLIBS-tst-lfschk5): This.
65898         (LDFLAGS-tst-lfschk6): Renamed to ...
65899         (LDLIBS-tst-lfschk6): This.
65901         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
65902         on $(common-objpfx)soversions.mk.
65904 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
65906         [BZ #10014]
65907         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
65908         example host name.
65910 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65912         * malloc/arena.c (arena_get_retry): New function that gets
65913         another arena for the caller to try its request on.
65914         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
65915         current arena cannot fulfill the request.
65916         (__libc_memalign): Likewise.
65917         (__libc_memalign): Likewise.
65918         (__libc_pvalloc): Likewise.
65919         (__libc_calloc): Likewise.
65921 2012-09-05  John Tobey  <john.tobey@gmail.com>
65923         [BZ #13542]
65924         * manual/arith.texi (Operations on Complex): Fix description
65925         of carg branch cut.
65927 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
65929         [BZ #10014]
65930         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
65931         host name.
65933         [BZ #10038]
65934         * manual/memory.texi (Memory): Make order of menu items match
65935         order of sections.
65937 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65939         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
65940         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
65941         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
65943 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65945         * csu/libc-tls.c (static_dtv): Renamed to ...
65946         (_dl_static_dtv): This.  Make it global.
65947         (_dl_initial_dtv): Removed.
65948         (__libc_setup_tls): Updated.
65949         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
65950         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
65951         DL_INITIAL_DTV.
65953 2012-09-06  Petr Machata  <pmachata@redhat.com>
65955         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
65956         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
65957         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
65958         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
65960 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65962         [BZ #14545]
65963         * csu/libc-tls.c (_dl_initial_dtv): New variable.
65964         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
65965         freeing dtv[-1].
65967 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65969         [BZ #14544]
65970         * Makeconfig (link-static-before-libc): Replace $(+prector)
65971         with $(+prectorT).
65972         (link-static-after-libc): Replace $(+postctor) with
65973         $(+postctorT).
65974         (link-bounded): Replace $(+prector)/$(+postctor) with
65975         $(+prectorT)/$(+postctorT).
65976         (+prectorT): New macro.
65977         (+postctorT): Likewise.
65979 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
65981         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
65982         (round_str): Handle values above the maximum for IBM long double
65983         as inexact.
65984         * stdlib/tst-strtod-round.c (tests): Regenerated.
65986 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65988         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
65989         assembler flag.
65990         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
65991         zarch_nohighgprs around the zarch optimized routines.
65992         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
65993         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
65994         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
65995         for zarch.
65997 2012-09-05  David S. Miller  <davem@davemloft.net>
65999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66001         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66002         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66003         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66004         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66005         entries.
66007 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66009         * malloc/arena.c: Fold copyright years.
66010         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66012 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66014         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66016 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66018         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66020 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66022         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66023         change internal state upon failure.
66025 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66027         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66028         * malloc/memusage.c (mmap): Likewise.
66029         (mmap64, mremap): Likewise.  Adjust name in comment.
66031 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66033         * libio/fileops.c: Fix typos in comments.
66034         * libio/oldfileops.c: Likewise.
66035         * libio/wfileops.c: Likewise.
66037 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66039         [BZ #1349]
66040         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66041         (tst-malloc-usable-ENV): Set environment for test case.
66042         * malloc/hooks.c (malloc_check_get_size): New function to get
66043         requested size.
66044         * malloc/malloc.c (musable): Use malloc_check_get_size.
66045         * malloc/tst-malloc-usable.c: New test case.
66047 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66049         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66051 2012-09-05  Allan McRae  <allan@archlinux.org>
66053         [BZ #13966]
66054         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66055         determine header location.
66056         * configure: Regenerated.
66058 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66060         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66061         float format.
66062         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66063         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66064         format.
66065         (test): Regenerate.
66067 2012-09-04  David S. Miller  <davem@davemloft.net>
66069         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66070         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66071         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66073 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66075         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66076         failures.
66078         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66080 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
66082         [BZ #9914]
66083         * libio/iogetdelim.c: Include <limits.h>.
66084         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66085         + len + 1 would overflow.
66087 2012-09-03  Andreas Jaeger  <aj@suse.de>
66089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66090         * sysdeps/i386/fpu/libm-test-ulps: Update.
66092 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66094         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66095         Add s_sinf-sse2, s_conf-sse2.
66097         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66098         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66099         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66100         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66102         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66103         for using routine as __sinf_ia32.
66104         Use macro for function declaration and weak_alias.
66105         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66106         for using routine as __cosf_ia32.
66107         Use macro for function declaration and weak_alias.
66109         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66110         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66112         * sysdeps/x86_64/fpu/s_sinf.S: New file.
66113         * sysdeps/x86_64/fpu/s_cosf.S: New file.
66114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66116         * math/libm-test.inc (cos_test): Add more test cases.
66117         (sin_test): Likewise.
66118         (sincos_test): Likewise.
66120 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66122         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66123         (IFUNC_RESOLVE): Make pointers to the specialized implementations
66124         hidden.
66125         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66127 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
66129         [BZ #14538]
66130         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66131         first element of the GOT.
66132         (elf_machine_load_address): Return the difference between
66133         the runtime address of _DYNAMIC and elf_machine_dynamic ().
66135 2012-09-01  Allan McRae  <allan@archlinux.org>
66137         [BZ #13412]
66138         * configure.in (AWK): Require gawk version 3.0 or later.
66139         * configure: Regenerated.
66141 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
66143         * sysdeps/unix/sysv/linux/kernel-features.h
66144         (__ASSUME_POSIX_CPU_TIMERS): Remove.
66145         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66146         [__NR_clock_getres]: Make code unconditional.
66147         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66148         (clock_getcpuclockid): Remove code left unreachable by removal of
66149         conditionals.
66150         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66151         code unconditional.
66152         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66153         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66154         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66155         Make code unconditional.
66156         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66157         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66158         * sysdeps/unix/sysv/linux/clock_settime.c
66159         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66160         conditional code.
66161         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66162         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66164 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
66166         [BZ #14476]
66167         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66168         scripts/test-installation.pl.
66170         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66171         and $ld_so_version if it is set.
66173 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66175         [BZ #14516]
66176         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66177         failure if reading from procfs failed.
66178         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66180 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66182         * sysdeps/unix/sysv/linux/kernel-features.h
66183         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66184         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66185         Remove conditional code.
66186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66187         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66188         Remove conditional code.
66189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66190         * sysdeps/unix/sysv/linux/i386/fxstat.c
66191         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66193         * sysdeps/unix/sysv/linux/i386/fxstatat.c
66194         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66196         * sysdeps/unix/sysv/linux/i386/lxstat.c
66197         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66199         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66200         Remove conditional code.
66201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66202         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66203         Remove conditional code.
66204         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66205         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66206         <kernel-features.h>.
66207         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66208         Remove.
66209         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66210         Remove conditional code.
66211         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66212         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66213         Remove conditional.
66215 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
66217         [BZ #5400]
66218         * NEWS: Add fixed bug number.
66220 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66222         [BZ #14519]
66223         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66224         underflowing exponent in case of negative sign.
66225         * stdlib/tst-strtod-round-data: Add more tests.
66226         * stdlib/tst-strtod-round.c (tests): Regenerated.
66228         [BZ #3479]
66229         * stdlib/strtod_l.c (NDIG): Remove.
66230         (HEXNDIG): Likewise.
66231         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66232         smallest representable value.
66233         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66234         lie within an exact representation of 1/2 ulp of the result.
66235         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66236         unconditionally.
66237         (TENS_P9_IDX): Define unconditionally.
66238         (TENS_P9_SIZE): Likewise.
66239         (TENS_P10_IDX): Likewise.
66240         (TENS_P10_SIZE): Likewise.
66241         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66242         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66243         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66244         entries for 10^2^13 and 10^2^14.
66245         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66246         (TENS_P13_IDX): Define.
66247         (TENS_P13_SIZE): Likewise.
66248         (TENS_P14_IDX): Likewise.
66249         (TENS_P14_SIZE): Likewise.
66250         (_fpioconst_pow10): Change array size to
66251         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
66252         unconditional.
66253         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66254         1024]: Add entries for 10^2^13 and 10^2^14.
66255         [LAST_POW10 > _LAST_POW10]: Remove #error.
66256         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66257         (_fpioconst_pow10): Change array size to
66258         FPIOCONST_POW10_ARRAY_SIZE.
66259         * stdlib/gen-fpioconst.c: New file.
66260         * stdlib/gen-tst-strtod-round.c: Likewise.
66261         * stdlib/tst-strtod-round-data: Likewise.
66262         * stdlib/tst-strtod-round.c: Likewise.
66263         * stdlib/Makefile (tests): Add tst-strtod-round.
66265         [BZ #14459]
66266         * stdlib/strtod_l.c: Include <stdint.h>.
66267         (NDEBUG): Do not define.
66268         (round_and_return): Change EXPONENT parameter to type intmax_t.
66269         Rearrange calculations to avoid internal overflow possibilities.
66270         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66271         Rearrange calculations to avoid internal overflow possibilities.
66272         Assert that number fits inside MPNSIZE limbs.
66273         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66274         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
66275         calculations and add assertions to avoid internal overflow
66276         possibilities.  Add casts to avoid signed/unsigned operations.
66277         * stdlib/tst-strtod-overflow.c: New file.
66278         * stdlib/Makefile (tests): Add tst-strtod-overflow.
66280 2012-08-25  Marek Polacek  <polacek@redhat.com>
66282         * time/time.h: Fix some typos in comments.
66284 2012-08-23  Roland McGrath  <roland@hack.frob.com>
66286         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66287         * posix/tst-rfc3484-2.c: Likewise.
66288         * posix/tst-rfc3484-3.c: Likewise.
66290 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
66292         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66293         (EF_ARM_ABI_FLOAT_HARD): Likewise.
66295 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
66297         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66298         #include of fxstatat64.c.
66300 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66302         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66303         * shadow/getspent_r.c: Likewise.
66304         * shadow/getspnam.c: Likewise.
66305         * shadow/getspnam_r.c: Likewise.
66306         * gshadow/getsgent.c: Likewise.
66307         * gshadow/getsgent_r.c: Likewise.
66308         * gshadow/getsgnam.c: Likewise.
66309         * gshadow/getsgnam_r.c: Likewise.
66310         * inet/getnetbyad.c: Likewise.
66311         * inet/getnetbyad_r.c: Likewise.
66312         * inet/getnetbynm.c: Likewise.
66313         * inet/getnetbynm_r.c: Likewise.
66314         * inet/getnetent.c: Likewise.
66315         * inet/getnetent_r.c: Likewise.
66316         * inet/getproto.c: Likewise.
66317         * inet/getproto_r.c: Likewise.
66318         * inet/getprtent.c: Likewise.
66319         * inet/getprtent_r.c: Likewise.
66320         * inet/getprtname.c: Likewise.
66321         * inet/getprtname_r.c: Likewise.
66322         * inet/getrpcbyname.c: Likewise.
66323         * inet/getrpcbyname_r.c: Likewise.
66324         * inet/getrpcbynumber.c: Likewise.
66325         * inet/getrpcbynumber_r.c: Likewise.
66326         * inet/getrpcent.c: Likewise.
66327         * inet/getrpcent_r.c: Likewise.
66328         * inet/getaliasent.c: Likewise.
66329         * inet/getaliasent_r.c: Likewise.
66330         * inet/getaliasname.c: Likewise.
66331         * inet/getaliasname_r.c: Likewise.
66332         * nscd/getgrgid_r.c: Likewise.
66333         * nscd/getgrnam_r.c: Likewise.
66334         * nscd/gethstbyad_r.c: Likewise.
66335         * nscd/gethstbynm3_r.c: Likewise.
66336         * nscd/getpwnam_r.c: Likewise.
66337         * nscd/getpwuid_r.c: Likewise.
66338         * nscd/getsrvbynm_r.c: Likewise.
66339         * nscd/getsrvbypt_r.c: Likewise.
66340         * nscd/gai.c: Likewise.
66342         * configure.in (build_nscd): New substituted variable, set
66343         by --disable-build-nscd and defaults to $use_nscd.
66344         * configure: Regenerated.
66345         * config.make.in (build-nscd): New substituted variable.
66346         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66347         Change conditional to require [$(build-nscd) = yes] as well.
66348         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66350         [BZ# 13696]
66351         * configure.in (use_nscd): New substituted variable, set by
66352         --disable-nscd.  If enabled, define USE_NSCD.
66353         * configure: Regenerated.
66354         * config.h.in: Add USE_NSCD.
66355         * config.make.in (use-nscd): New substituted variable.
66356         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66357         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66358         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66359         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66360         (CFLAGS-getgrnam_r.c): Likewise.
66361         (CFLAGS-initgroups.c): Likewise.
66362         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66363         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66364         Variables removed.
66365         * inet/getnetgrent_r.c
66366         (nscd_setnetgrent): New function, broken out of ...
66367         (setnetgrent): ... here.  Call it.
66368         (innetgr): Conditionalize nscd bits on [USE_NSCD].
66369         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66370         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66371         * nscd/Makefile (routines, aux): Move definitions after include of
66372         Makeconfig.  Conditionalize on [$(use-nscd) != no].
66373         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66374         Conditionalize on [USE_NSCD].
66375         (is_nscd, nscd_init_cb): Likewise.
66376         (nss_load_library): Conditionalize init callback on [USE_NSCD].
66377         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66378         * nss/nss_db/db-init.c: Likewise.
66379         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66380         [USE_NSCD].
66381         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66382         (make_request): Use it.
66383         (cache_valid_p): New function.
66384         (__check_pf): Use it.
66385         * NEWS: Add item for --disable-nscd.
66387 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
66389         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66390         to support sed >= 4.2.1-20-ga9bf076.
66391         * configure: Regenerated.
66393 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66395         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66396         Conditionalize whole body on [IREL].
66398 2012-08-22  Jeff Law <law@redhat.com>
66400         [BZ #14505]
66401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66402         if the family is PF_UNSPEC.
66404 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
66406         * Makerules (lib-version): Rename from V.
66407         (install-lib-nosubdir): Change V to lib-version.
66409 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
66411         [BZ #14252]
66412         * powerpc32/power6/wcschr.c: New file.
66413         * powerpc32/power6/wcscpy.c: New file.
66414         * powerpc32/power6/wcsrchr.c: New file.
66415         * powerpc64/power6/wcschr.c: New file.
66416         * powerpc64/power6/wcscpy.c: New file.
66417         * powerpc64/power6/wcsrchr.c: New file.
66419 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66421         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66422         (two_way_short_needle): Use it.
66423         * string/strstr.c (AVAILABLE1_USES_J): Define.
66424         * string/strcasestr.c: Likewise.
66426         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66427         array references.
66428         * string/strcasestr.c (TOLOWER): Make side-effect safe.
66430         [BZ #11607]
66431         * NEWS: Add an entry.
66432         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66433         define their defaults.
66434         (two_way_short_needle): Detect end-of-string on-the-fly.
66435         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66436         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66437         * string/bug-strcasestr1.c: New test.
66438         * string/Makefile: Run it.
66440 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66442         [BZ #11607]
66443         * string/str-two-way.h (two_way_short_needle): Optimize matching of
66444         the first character.
66446 2012-08-21  Roland McGrath  <roland@hack.frob.com>
66448         * csu/elf-init.c (__libc_csu_irel): Function removed.
66449         * csu/libc-start.c (apply_irel): New function.
66450         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66452 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
66454         * sysdeps/unix/sysv/linux/kernel-features.h
66455         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66456         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66457         <kernel-features.h>.
66458         [__NR_fadvise64_64]: Make code unconditional.
66459         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66460         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66461         !__NR_fadvise64_64)]: Likewise.
66462         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66463         !__NR_fadvise64_64))]: Likewise.
66464         [__NR_fadvise64]: Make code unconditional.
66465         [!__NR_fadvise64]: Remove conditional code.
66466         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66467         <kernel-features.h>.
66468         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66469         unconditional.
66470         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66471         conditional code.
66472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66473         not include <kernel-features.h>.
66474         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66475         unconditional.
66476         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66477         conditional code.
66478         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66479         include <kernel-features.h>.
66480         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66481         unconditional.
66482         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66483         conditional code.
66485 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66487         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66488         slight instruction rearrangements per scrollpipe analysis.
66489         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66491 2012-08-20  Roland McGrath  <roland@hack.frob.com>
66493         * manual/syslog.texi (syslog; vsyslog, closelog):
66494         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66495         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66497         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66498         DSOCAPS to match condition on defining it.
66500 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
66502         * sysdeps/unix/sysv/linux/kernel-features.h
66503         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66505         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66506         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66508         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66509         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66511         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66512         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66514         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66515         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66517         * sysdeps/unix/sysv/linux/kernel-features.h
66518         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66519         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66520         unconditional.
66521         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66522         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66523         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66524         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66525         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66526         Make code unconditional.
66527         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66528         (__mmap64) [!__NR_mmap2]: Likewise.
66529         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66530         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66531         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66532         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66533         [__NR_mmap2]: Make code unconditional.
66534         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66535         (__mmap64) [!__NR_mmap2]: Likewise.
66537 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66539         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66541 2012-08-18  Andreas Jaeger  <aj@suse.de>
66543         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66545 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66547         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66548         * include/unistd.h (__have_sock_cloexec): Likewise.
66549         (__have_pipe2): Likewise.
66550         (__have_dup3): Likewise.
66552 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66554         [BZ #9685]
66555         * include/unistd.h (__have_pipe2): Change define into an extern int.
66556         (__have_dup3): Likewise.
66557         * socket/have_sock_cloexec.c: Include fcntl.h.
66558         (__have_pipe2): New variable.
66559         (__have_dup3): Likewise.
66561 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
66563         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66565 2012-08-17  Marek Polacek  <polacek@redhat.com>
66567         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66568         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66570 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66572         * configure.in: Add AC_SUBST for sysheaders.
66573         * configure: Regenerated.
66574         * config.make.in (sysheaders): New substituted variable.
66576         * sysdeps/unix/mkfifo.c: Moved ...
66577         * sysdeps/posix/mkfifo.c: ... here.
66578         * sysdeps/unix/mkfifoat.c: Moved ...
66579         * sysdeps/posix/mkfifoat.c: ... here.
66581         * sysdeps/unix/utime.c: Moved ...
66582         * sysdeps/posix/utime.c: ... here.
66584         * sysdeps/unix/time.c: Moved ...
66585         * sysdeps/posix/time.c: ... here.
66586         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66587         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66589         * sysdeps/unix/nice.c: Moved ...
66590         * sysdeps/posix/nice.c: ... here.
66592         * sysdeps/unix/alarm.c: Moved ...
66593         * sysdeps/posix/alarm.c: ... here.
66595         * intl/Makefile ($(codeset_mo)): Depend on the input file.
66597 2012-08-17  Jeff Law <law@redhat.com>
66599         * intl/Makefile (codeset_mo): New variable.
66600         ($(codeset_mo)): New target.
66601         (tst-codeset.out): Depend on that.  Remove explicit rule.
66602         (tst-gettext3.out, tst-gettext5.out): Likewise.
66603         (LOCPATH-ENV, tst-codeset-ENV): New variables.
66604         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66605         * intl/tst-codeset.sh: Remove.
66606         * intl/tst-gettext3.sh: Likewise.
66607         * intl/tst-gettext5.sh: Likewise.
66609 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66611         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
66612         * sysdeps/unix/syscalls.list: ... here.
66614         * sysdeps/posix/getaddrinfo.c
66615         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66616         (gaiconf_init, gaiconf_reload): Use them.
66617         [!_STATBUF_ST_NSEC]
66618         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66619         Define using time_t rather than struct timespec.
66621         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66622         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66623         Macros removed.
66624         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66625         [!NO_THREADS].
66626         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66627         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66628         Likewise.
66630         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66631         __libc_cleanup_push argument.
66633         * bits/param.h: New file.
66634         * misc/sys/param.h: New file.
66635         * include/sys/param.h: New file.
66636         * misc/Makefile (headers): Add bits/param.h.
66637         * sysdeps/generic/sys/param.h: File removed.
66638         * sysdeps/unix/sysv/linux/bits/param.h: New file.
66639         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66640         * sysdeps/mach/hurd/bits/param.h: New file.
66641         * sysdeps/mach/hurd/sys/param.h: File removed.
66643         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66644         last change.
66646         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66647         [_IO_MTSAFE_IO].
66648         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66649         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66650         New macros.
66652         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66653         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66654         rather than -D_IO_MTSAFE_IO conditionally.
66655         * stdio-common/Makefile (CPPFLAGS): Likewise.
66656         * wcsmbs/Makefile (CPPFLAGS): Likewise.
66657         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66658         Use $(libio-mtsafe).
66659         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66660         of -D_IO_MTSAFE_IO.
66661         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66662         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66663         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66664         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66665         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66666         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66667         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66668         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66669         (CFLAGS-fread_u_chk.c): Likewise.
66670         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66671         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66672         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66673         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66674         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66675         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66676         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66677         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66678         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66680         * libio/Makefile: Test [$(libc-reentrant) = yes]
66681         instead of [$(filter %REENTRANT, $(defines)) nonempty].
66683         * Makeconfig
66684         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66685         * sysdeps/pthread/configure: File removed.
66686         * sysdeps/pthread/Makeconfig: New file.
66687         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66688         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66690 2012-08-16  Gary Benson  <gbenson@redhat.com>
66692         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66693         unmapping the first object in a namespace.
66695 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66697         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66698         (__internal_setnetgrent): ... this.  Add internal_function to
66699         definition.  Add libc_hidden_def.
66700         (setnetgrent): Update caller.
66701         (internal_endnetgrent): Renamed to ...
66702         (__internal_endnetgrent): ... this.  Add internal_function to
66703         definition.  Add libc_hidden_def.
66704         (endnetgrent): Update caller.
66705         (internal_getnetgrent_r): Renamed to ...
66706         (__internal_getnetgrent_r): ... this.  Add internal_function to
66707         definition.  Add libc_hidden_def.
66708         (__getnetgrent_r): Update caller.
66709         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
66711 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66713         * stdlib/longlong.h: Update from GCC.
66715 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66717         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66718         on _QL, which is set by umul_ppmm but never used.
66719         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66720         variables, which are set by GMP macros but never used.
66721         * stdio-common/_itowa.c (_itowa): Likewise.
66722         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66723         * stdlib/mod_1.c (mpn_mod_1): Likewise.
66725 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
66727         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66728         struct La_sh_regs is not constant.
66729         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66730         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66731         and struct La_sparc64_regs are not constant.
66733 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66735         * sysdeps/unix/sysv/linux/kernel-features.h
66736         (__ASSUME_POSIX_TIMERS): Remove.
66737         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66738         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66739         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66740         Make code unconditional.
66741         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66742         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66743         Make code unconditional.
66744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66745         * sysdeps/unix/sysv/linux/clock_nanosleep.c
66746         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66748         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66749         Make code unconditional.
66750         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66751         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66752         (__libc_missing_posix_timers): Remove.
66754 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66756         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66757         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66759         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66761         * elf/dl-sym.c: Include <stdlib.h>.
66763         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66764         constants, which avoids warnings in 32-bit builds.
66766         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66767         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66769         * misc/lseek.c: File moved to ...
66770         * io/lseek.c: ... here.
66772         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66774         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66775         shifting LEN more than 31 bits at once.
66777 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66779         [BZ #14195]
66780         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66781         segmentation fault for a case of two empty input strings.
66782         * string/test-strncasecmp.c (check1): Renamed to...
66783         (bz12205): ...this.
66784         (bz14195): Add new testcase for two empty input strings and N > 0.
66785         (test_main): Call new testcase, adapt for renamed function.
66787 2012-08-15  Andreas Jaeger  <aj@suse.de>
66789         [BZ #14090]
66790         * crypt/md5test2.c: New test, based on test supplied by Serge
66791         Belyshev <belyshev@depni.sinp.msu.ru>.
66792         * crypt/Makefile (xtests): Add md5test-giant..
66793         * crypt/Makefile ($(objpfx)md5test-giant): Add.
66795 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
66797         [BZ #14090]
66798         * crypt/md5.c (md5_process_block): Don't assume the buffer
66799         length is less than 2**32.
66800         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66801         length is less than 2**64.
66803 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66805         * string/str-two-way.h: Include <sys/param.h>.
66806         (MAX): Macro removed.
66808         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66809         Move #define and #undef of memmove to just before and after
66810         including <string.h>.
66812         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66813         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66814         and after including <string.h>.  Move declarations of
66815         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66816         to before #include "string/memmove.c".
66818         * include/dirent.h: Declare __getdirentries.
66820         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66821         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66823 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
66825         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66826         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66827         * sysdeps/i386/configure: Regenerated.
66828         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66829         STABS_CURRENT_FILE, and STABS_FUN.
66830         (END): Remove call to STABS_FUN_END.
66831         (STABS_CURRENT_FILE1): Delete.
66832         (STABS_CURRENT_FILE): Likewise.
66833         (STABS_FUN): Likewise.
66834         (STABS_FUN_END): Likewise.
66835         (STABS_FUN2): Likewise.
66836         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66837         * sysdeps/x86_64/configure: Regenerated.
66839 2012-08-14  Roland McGrath  <roland@hack.frob.com>
66841         * elf/dl-open.c: Include <atomic.h>.
66842         * elf/dl-lookup.c: Likewise.
66844 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
66846         * sysdeps/unix/sysv/linux/kernel-features.h
66847         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66848         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66849         unconditionally.
66850         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66851         unconditionally.
66852         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66853         condition on __ASSUME_CLONE_THREAD_FLAGS.
66855 2012-08-14  Andreas Jaeger  <aj@suse.de>
66857         * sysdeps/i386/fpu/libm-test-ulps: Update.
66859 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
66861         * include/atomic.h (atomic_exchange_and_add): Split into ...
66862         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66863         New atomic macros.
66865 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
66867         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66869 2012-08-13  Jeff Law <law@redhat.com>
66871         * manual/stdio.texi (snprintf): Clarify handling of the trailing
66872         null byte in the output string.
66874 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
66876         * sysdeps/unix/sysv/linux/kernel-features.h
66877         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
66878         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
66879         (__ASSUME_ARG_MAX_STACK_BASED): Define.
66880         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66881         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
66882         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
66883         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
66885 2012-08-09  Jeff Law <law@redhat.com>
66887         [BZ #13939]
66888         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
66889         When avoid_arena is set, don't retry in the that arena.  Pick the
66890         next one, whatever it might be.
66891         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
66892         (arena_lock): Pass in new parameter to arena_get2.
66893         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
66894         arena_get2.
66895         (__libc_malloc): Unify retrying after main arena failure with
66896         __libc_memalign version.
66897         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
66899 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
66901         [BZ #14166]
66902         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
66903         to __redirect_strstr.
66904         (__strstr_sse42): Use typeof __redirect_strstr.
66905         (__strstr_ia32): Likewise.
66906         (__libc_strstr): New prototype.
66907         (strstr): Renamed to ...
66908         (__libc_strstr): This.
66909         (strstr): New strong alias of __libc_strstr.
66910         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66911         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
66912         __redirect_time.
66913         Include <time.h>.
66914         (__libc_time): New prototype.
66915         (time_ifunc): Replace time with __libc_time.
66916         (time): New strong alias and hidden definition of __libc_time.
66917         (__GI_time): Remove strong alias.
66918         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
66919         Include <stddef.h>.
66920         (memmove): Redefined to __redirect_memmove.
66921         (__memmove_sse2): Use typeof __redirect_memmove.
66922         (__memmove_ssse3): Likewise.
66923         (__memmove_ssse3_back): Likewise.
66924         (__libc_memmove): New prototype.
66925         (memmove): Renamed to ...
66926         (__libc_memmove): This.
66927         (memmove): New strong alias of __libc_memmove.
66929 2012-08-08  Mark Salter  <msalter@redhat.com>
66931         * elf/elf.h
66932         (R_MN10300_TLS_GD): Define.
66933         (R_MN10300_TLS_LD): Likewise.
66934         (R_MN10300_TLS_LDO): Likewise.
66935         (R_MN10300_TLS_GOTIE): Likewise.
66936         (R_MN10300_TLS_IE): Likewise.
66937         (R_MN10300_TLS_LE): Likewise.
66938         (R_MN10300_TLS_DTPMOD): Likewise.
66939         (R_MN10300_TLS_DTPOFF): Likewise.
66940         (R_MN10300_TLS_TPOFF): Likewise.
66941         (R_MN10300_SYM_DIFF): Likewise.
66942         (R_MN10300_ALIGN): Likewise.
66943         (R_MN10300_NUM): Update.
66945 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
66947         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
66948         Remove.
66950 2012-08-08  Roland McGrath  <roland@hack.frob.com>
66952         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
66954         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
66955         sysdeps/unix -> sysdeps/posix move.
66956         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
66958 2012-08-07      Allan McRae     <allan@archlinux.org>
66960         [BZ #14303]
66961         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
66962         (SUNOS_CPP): Likewise.
66963         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
66964         not found.
66965         (open_input): Call CPP using execvp.
66967 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
66969         * sysdeps/unix/sysv/linux/kernel-features.h
66970         (__ASSUME_PROT_GROWSUPDOWN): Remove.
66971         (__ASSUME_NO_CLONE_DETACHED): Likewise.
66972         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
66973         (__ASSUME_WAITID_SYSCALL): Likewise.
66974         * sysdeps/unix/sysv/linux/dl-execstack.c
66975         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
66976         code unconditional.
66977         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
66978         conditional code.
66979         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
66980         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
66981         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
66982         code.
66983         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
66984         unconditional.
66985         [__ASSUME_WAITID_SYSCALL]: Likewise.
66986         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
66988 2012-08-07  Roland McGrath  <roland@hack.frob.com>
66990         * sysdeps/unix/closedir.c: Renamed to ...
66991         * sysdeps/posix/closedir.c: ... here.
66992         * sysdeps/unix/dirfd.c: Renamed to ...
66993         * sysdeps/posix/dirfd.c: ... here.
66994         * sysdeps/unix/dirstream.h: Renamed to ...
66995         * sysdeps/posix/dirstream.h: ... here.
66996         * sysdeps/unix/fdopendir.c: Renamed to ...
66997         * sysdeps/posix/fdopendir.c: ... here.
66998         * sysdeps/unix/opendir.c: Renamed to ...
66999         * sysdeps/posix/opendir.c: ... here.
67000         * sysdeps/unix/readdir.c: Renamed to ...
67001         * sysdeps/posix/readdir.c: ... here.
67002         * sysdeps/unix/readdir_r.c: Renamed to ...
67003         * sysdeps/posix/readdir_r.c: ... here.
67004         * sysdeps/unix/rewinddir.c: Renamed to ...
67005         * sysdeps/posix/rewinddir.c: ... here.
67006         * sysdeps/unix/seekdir.c: Renamed to ...
67007         * sysdeps/posix/seekdir.c: ... here.
67008         * sysdeps/unix/telldir.c: Renamed to ...
67009         * sysdeps/posix/telldir.c: ... here.
67010         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67011         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67012         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67013         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67015         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67016         * bits/fcntl.h: ... here.
67018         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67019         not 0.
67020         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67021         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67022         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67023         (struct flock): Move l_start, l_len to the beginning.
67024         Use __pid_t for l_pid.
67025         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67026         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67027         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67028         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67029         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67030         [__USE_LARGEFILE64] (struct flock64): New type.
67031         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67033         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67034         * bits/dirent.h: ... here.
67036         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67037         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67039 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67041         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67042         Change from 2.6.0 to 2.6.16.
67043         * sysdeps/unix/sysv/linux/configure: Regenerated.
67044         * sysdeps/unix/sysv/linux/kernel-features.h
67045         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67046         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67047         version.
67048         (__ASSUME_UTIMES): Likewise.
67049         (__ASSUME_CLONE_STOPPED): Remove.
67050         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67051         architectures, not kernel version.
67052         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67053         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67054         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67055         (__ASSUME_WAITID_SYSCALL): Likewise.
67056         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67057         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67058         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67059         refer to older versions.
67061 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67063         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67064         Define alphasort64 as an alias.
67065         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67066         Define versionsort64 as an alias.
67067         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67068         Define scandir64 as an alias.
67069         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67070         Define scandirat64 as an alias.
67071         * dirent/alphasort64.c (alphasort64):
67072         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67073         * dirent/versionsort64.c: Likewise.
67074         * dirent/scandir64.c: Likewise.
67075         * dirent/scandirat64.c: Likewise.
67076         * sysdeps/wordsize-64/alphasort.c: File removed.
67077         * sysdeps/wordsize-64/alphasort64.c: File removed.
67078         * sysdeps/wordsize-64/scandir.c: File removed.
67079         * sysdeps/wordsize-64/scandir64.c: File removed.
67080         * sysdeps/wordsize-64/scandirat.c: File removed.
67081         * sysdeps/wordsize-64/scandirat64.c: File removed.
67082         * sysdeps/wordsize-64/versionsort.c: File removed.
67083         * sysdeps/wordsize-64/versionsort64.c: File removed.
67084         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67085         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67086         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67087         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67088         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67089         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67090         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67091         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67093         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67095         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67096         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67097         [defined __arch64__ || defined __sparcv9]
67098         (__INO_T_MATCHES_INO64_T): New macro.
67099         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67100         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67101         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67102         * sysdeps/unix/sysv/linux/bits/dirent.h
67103         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67104         (_DIRENT_MATCHES_DIRENT64): New macro.
67106         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67107         Define lockf64 as an alias.
67108         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67109         Define fseeko64 as an alias.
67110         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67111         Define ftello64 as an alias.
67112         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67113         Define _IO_fgetpos64 and fgetpos64 as aliases.
67114         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67115         Define _IO_fsetpos64 and fsetpos64 as aliases.
67116         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67117         Conditionalize body on this.
67118         * libio/fseeko64.c: Likewise.
67119         * libio/ftello64.c: Likewise.
67120         * libio/iofgetpos64.c: Likewise.
67121         * libio/iofsetpos64.c: Likewise.
67122         * sysdeps/wordsize-64/lockf.c: File removed.
67123         * sysdeps/wordsize-64/lockf64.c: File removed.
67124         * sysdeps/wordsize-64/fseeko.c: File removed.
67125         * sysdeps/wordsize-64/fseeko64.c: File removed.
67126         * sysdeps/wordsize-64/ftello.c: File removed.
67127         * sysdeps/wordsize-64/ftello64.c: File removed.
67128         * sysdeps/wordsize-64/iofgetpos.c: File removed.
67129         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67130         * sysdeps/wordsize-64/iofsetpos.c: File removed.
67131         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67132         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67134         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67135         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67136         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67137         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67138         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67139         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67140         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67141         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67143         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67144         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67145         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67146         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67147         [defined __arch64__ || defined __sparcv9]
67148         (__OFF_T_MATCHES_OFF64_T): New macro.
67149         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67150         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67151         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67152         (__OFF_T_MATCHES_OFF64_T): New macro.
67154 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67156         * stdlib/secure-getenv.c (__secure_getenv): Replace
67157         GLIBC_2_16 with GLIBC_2_17.
67159 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67161         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67162         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67164 2012-08-03  David S. Miller  <davem@davemloft.net>
67166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67168 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67170         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67171         Remove.
67172         (__ASSUME_CORRECT_SI_PID): Likewise.
67173         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67174         (__ASSUME_TMPFS_NAME): Likewise.
67175         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67176         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67177         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67178         (HAVE_AUX_SECURE): Make definition unconditional.
67179         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67180         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67182 2012-08-03  Roland McGrath  <roland@hack.frob.com>
67184         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67185         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67186         * sysdeps/mach/hurd/eloop-threshold.h: New file.
67187         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67188         __eloop_threshold instead of SYMLOOP_MAX.
67190         * sysdeps/generic/eloop-threshold.h: New file.
67191         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67192         of MAXSYMLINKS.
67193         * elf/chroot_canon.c (chroot_canon): Likewise.
67195 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67197         [BZ #13717]
67198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67199         Change to 2.6.0 everywhere.
67200         * sysdeps/unix/sysv/linux/configure: Regenerated.
67201         * sysdeps/unix/sysv/linux/kernel-features.h
67202         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67203         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67204         kernel versions.
67205         (__ASSUME_POSIX_TIMERS): Define unconditionally.
67206         (__ASSUME_FUTEX_REQUEUE): Remove.
67207         (__ASSUME_STATFS64): Define unconditionally.
67208         (__ASSUME_AT_SECURE): Likewise.
67209         (__ASSUME_CORRECT_SI_PID): Likewise.
67210         (__ASSUME_TGKILL): Define without depending on kernel version for
67211         i386.
67212         (__ASSUME_UTIMES): Likewise.
67213         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67214         kernel version.
67215         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67216         (__ASSUME_TMPFS_NAME): Likewise.
67217         * README: Update reference to Linux kernel versions.
67219 2012-08-02  Marek Polacek  <polacek@redhat.com>
67221         [BZ# 14150]
67222         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
67223         libc_cv_asm_type_prefix with %.
67224         * configure: Regenerated.
67225         * include/libc-symbols.h: Remove comment about
67226         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67227         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67228         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67229         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67230         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67231         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67232         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67233         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67234         * elf/tst-unique2mod1.c: Likewise.
67235         * elf/tst-unique1mod2.c: Likewise.
67236         * elf/tst-unique1mod1.c: Likewise.
67237         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67238         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67239         Replace ASM_TYPE_DIRECTIVE with .type.
67240         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67241         * sysdeps/i386/sysdep.h: Likewise.
67242         * sysdeps/x86_64/sysdep.h: Likewise.
67243         * sysdeps/sh/sysdep.h: Likewise.
67244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67245         Do not define ASM_TYPE_DIRECTIVE.
67246         * sysdeps/powerpc/sysdep.h: Likewise.
67247         * sysdeps/powerpc/powerpc32/sysdep.h:
67248         Replace ASM_TYPE_DIRECTIVE with .type.
67249         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67250         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67251         * sysdeps/i386/fpu/e_powf.S: Likewise.
67252         * sysdeps/i386/fpu/e_expl.S: Likewise.
67253         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67254         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67255         * sysdeps/i386/fpu/e_pow.S: Likewise.
67256         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67257         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67258         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67259         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67260         * sysdeps/i386/fpu/e_log2.S: Likewise.
67261         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67262         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67263         * sysdeps/i386/fpu/e_powl.S: Likewise.
67264         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67265         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67266         * sysdeps/i386/fpu/e_logl.S: Likewise.
67267         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67268         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67269         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67270         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67271         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67272         * sysdeps/i386/fpu/e_log.S: Likewise.
67273         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67274         * sysdeps/i386/fpu/e_logf.S: Likewise.
67275         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67276         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67277         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67278         * sysdeps/i386/fpu/e_log10.S: Likewise.
67279         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67280         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67281         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67282         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67283         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67284         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67285         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67286         * sysdeps/i386/i686/strtok.S: Likewise.
67287         * sysdeps/i386/i386-mcount.S: Likewise.
67288         * sysdeps/i386/strtok.S: Likewise.
67289         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67290         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67292         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67293         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67294         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67295         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67296         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67297         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67298         * sysdeps/x86_64/_mcount.S: Likewise.
67299         * sysdeps/x86_64/strtok.S: Likewise.
67300         * sysdeps/sh/_mcount.S: Likewise.
67302 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67304         * libio/iofopen.c: Include <fcntl.h>.
67305         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67306         (_IO_fopen64, fopen64): Define as aliases.
67307         * libio/iofopen64.c: Include <fcntl.h>.
67308         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67309         Conditionalize body on this.
67310         * sysdeps/wordsize-64/iofopen.c: File removed.
67311         * sysdeps/wordsize-64/iofopen64.c: File removed.
67313 2012-08-01  Marek Polacek  <polacek@redhat.com>
67315         * libc/Makeconfig: Use elf in place of binfmt-subdir.
67316         Use dlfcn directly instead of a variable.
67317         (binfmt-subdir): Do not define.
67318         (dlfcn): Likewise.
67320 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
67322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67323         Remove all definitions.
67324         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67325         <kernel-features.h>.
67326         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67327         (miss_F_GETOWN_EX): Remove all definitions.
67328         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67329         macro definition.
67330         [!__ASSUME_FCNTL64]: Remove conditional code.
67331         [__ASSUME_FCNTL64]: Make code unconditional.
67332         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67333         <kernel-features.h>.
67334         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67335         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67336         (lockf64) [__NR_fcntl64]: Make code unconditional.
67337         (lockf64) [__ASSUME_FCNTL64]: Likewise.
67339         * sysdeps/unix/sysv/linux/kernel-features.h
67340         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67341         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67342         Make code unconditional.
67343         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67344         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67346         [__NR_vfork]: Make code unconditional.
67347         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67348         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67350         [__NR_vfork]: Make code unconditional.
67351         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67352         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67354 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67356         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67357         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67359         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67360         Define mkstemp64 as an alias.
67361         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67362         Define mkstemps64 as an alias.
67363         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67364         Define mkostemp64 as an alias.
67365         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67366         Define mkostemps64 as an alias.
67367         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67368         Conditionalize body on this.
67369         * misc/mkostemp64.c: Likewise.
67370         * misc/mkostemps64.c: Likewise.
67371         * misc/mkstemps64.c: Likewise.
67372         * sysdeps/wordsize-64/mkstemp64.c: File removed.
67373         * sysdeps/wordsize-64/mkostemp64.c: File removed.
67374         * sysdeps/wordsize-64/mkostemp.c: File removed.
67375         * sysdeps/wordsize-64/mkstemp.c: File removed.
67376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67377         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67378         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67379         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67381         [BZ #14138]
67382         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67383         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67384         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67385         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67387         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67388         compat_symbol macros from <shlib-compat.h> rather than the underlying
67389         default_symbol_version and symbol_version macros, so that DEFAULT
67390         lines in shlib-versions are respected.
67391         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67393 2012-08-01  Florian Weimer  <fweimer@redhat.com>
67395         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67396         Declare with warn_unused_result.
67397         (setgid, setregid, setegid, setresgid): Likewise.
67398         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67399         Likewise.
67400         * WUR-REPORT: Remove set*id functions.
67402 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
67404         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67406 2012-07-31  Roland McGrath  <roland@hack.frob.com>
67408         [BZ #10191]
67409         * include/sys/socket.h (__libc_accept, __libc_accept4):
67410         Add attribute_hidden.
67411         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67413         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67414         use of PTR_MANGLE.
67415         * inet/getnetgrent_r.c (setup): Likewise.
67417         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67419 2012-07-31  David S. Miller  <davem@davemloft.net>
67421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67423 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
67425         [BZ #13629]
67426         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67427         value between 1.0 and 2.0 and smaller part has absolute value less
67428         than 1.0.
67429         * math/s_clog10.c (__clog10): Likewise.
67430         * math/s_clog10f.c (__clog10f): Likewise.
67431         * math/s_clog10l.c (__clog10l): Likewise.
67432         * math/s_clogf.c (__clogf): Likewise.
67433         * math/s_clogl.c (__clogl): Likewise.
67434         * math/libm-test.inc (clog_test): Add more tests.
67435         (clog10_test): Likewise.
67436         * sysdeps/i386/fpu/libm-test-ulps: Update.
67437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67439 2012-07-31  Florian Weimer  <fweimer@redhat.com>
67441         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67442         Exit with zero in case no suitable GID is found, and write a
67443         message to standard error.
67445 2012-07-30  Roland McGrath  <roland@hack.frob.com>
67447         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67448         rather than to 1.
67449         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67450         (MAXPATHLEN): Removed.
67451         (NOGROUP, NODEV): New macros.
67452         (setbit, clrbit, isset, isclr): New macros.
67453         (howmany, roundup, powerof2): New macros.
67454         (DEV_BSIZE): New macro.
67456         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67457         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67459         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67460         definition on [!__NO_LONG_DOUBLE_MATH].
67462         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67463         PTR_MANGLE and PTR_DEMANGLE.
67465         * socket/accept4.c (accept4): Rename to __libc_accept4.
67466         Define accept4 as a weak alias.
67468         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67469         on [_DIRENT_HAVE_D_TYPE].
67470         * io/ftw.c (ftw_dir): Likewise.
67472         * io/xmknod.c (__xmknod): Don't check PATH for being null.
67474         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67476         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67477         Use the BSD numbers rather than the arbitrary ones we had.
67478         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67479         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67480         (SIGXCPU, SIGXFSZ): New macros.
67481         (_NSIG): Now 32.
67483         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67484         initializer on [_LIBC_REENTRANT].
67486         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67487         definitions inside [_POSIX_MAPPED_FILES].
67489         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67491         * dirent/opendir.c: Include <fcntl.h>.
67493         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67494         (__libc_getspecific): Likewise.
67495         (__libc_key_create): Likewise.
67497         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67498         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67499         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67500         (tmpfile64): Define as alias.
67501         * sysdeps/wordsize-64/tmpfile.c: File removed.
67502         * sysdeps/wordsize-64/tmpfile64.c: File removed.
67503         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67504         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67506         * stdio-common/vfscanf.c: Include <stdbool.h>.
67507         * nss/makedb.c: Likewise.
67508         * stdio-common/_i18n_number.h: Likewise.
67509         * argp/argp-help.c: Likewise.
67510         * posix/wordexp.c: Likewise.
67511         * sysdeps/posix/spawni.c: Likewise.
67512         * nss/nss_files/files-initgroups.c: Likewise.
67513         * stdio-common/reg-modifier.c: Include <stdlib.h>.
67514         * nss/nss_files/files-initgroups.c: Likewise.
67515         * nss/nss_db/db-netgrp.c: Likewise.
67516         * nss/nss_db/db-initgroups.c: Likewise.
67517         * io/fchmodat.c: Include <sys/stat.h>.
67519         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67520         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67522         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67523         [HAVE_MMAP].
67525         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67526         Add multiple inclusion protection.
67528 2012-07-27  David S. Miller  <davem@davemloft.net>
67530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67532 2012-07-27  Gary Benson  <gbenson@redhat.com>
67534         [BZ #14298]
67535         * elf/rtld.c: Include <stap-probe.h>.
67536         (dl_main): Added static probes "init_start" and "init_complete".
67537         * elf/dl-load.c: Include <stap-probe.h>.
67538         (lose): Take new parameter "nsid".
67539         Added static probe "map_failed".
67540         (_dl_map_object_from_fd): Pass namespace id to lose.
67541         Added static probe "map_start".
67542         (open_verify): Pass namespace id to lose.
67543         * elf/dl-open.c: Include <stap-probe.h>.
67544         (dl_open_worker) Added static probes "map_complete", "reloc_start"
67545         and "reloc_complete".
67546         * elf/dl-close.c: Include <stap-probe.h>.
67547         (_dl_close_worker): Added static probes "unmap_start" and
67548         "unmap_complete".
67549         * elf/rtld-debugger-interface.txt: New file documenting the above.
67551 2012-07-26  Roland McGrath  <roland@hack.frob.com>
67553         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67554         rather than a string variable.
67555         * sunrpc/rpc_main.c (h_output): Likewise.
67556         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67558 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
67560         * inet/check_native.c: New file.
67562 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
67564         [BZ #13629]
67565         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67566         if larger part has absolute value 1.0.
67567         * math/s_clog10.c (__clog10): Likewise.
67568         * math/s_clog10f.c (__clog10f): Likewise.
67569         * math/s_clog10l.c (__clog10l): Likewise.
67570         * math/s_clogf.c (__clogf): Likewise.
67571         * math/s_clogl.c (__clogl): Likewise.
67572         * math/libm-test.inc (clog_test): Add more tests.
67573         (clog10_test): Likewise.
67574         * sysdeps/i386/fpu/libm-test-ulps: Update.
67575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67577         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67578         (pltexit): Likewise.
67579         (La_regs): Likewise.
67580         (La_retval): Likewise.
67581         (int_retval): Likewise.
67582         Update #error for removed macros to refer only to definitions in
67583         tst-audit.h.
67584         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67585         macro.
67586         (pltexit): Likewise.
67587         (La_regs): Likewise.
67588         (La_retval): Likewise.
67589         (int_retval): Likewise.
67590         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67591         macro.
67592         (pltexit): Likewise.
67593         (La_regs): Likewise.
67594         (La_retval): Likewise.
67595         (int_retval): Likewise.
67596         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67597         macro.
67598         (pltexit): Likewise.
67599         (La_regs): Likewise.
67600         (La_retval): Likewise.
67601         (int_retval): Likewise.
67602         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67603         macro.
67604         (pltexit): Likewise.
67605         (La_regs): Likewise.
67606         (La_retval): Likewise.
67607         (int_retval): Likewise.
67608         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67609         macro.
67610         (pltexit): Likewise.
67611         (La_regs): Likewise.
67612         (La_retval): Likewise.
67613         (int_retval): Likewise.
67614         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67615         macro.
67616         (pltexit): Likewise.
67617         (La_regs): Likewise.
67618         (La_retval): Likewise.
67619         (int_retval): Likewise.
67620         * sysdeps/generic/tst-audit.h: Update comment to refer only to
67621         macro definitions in tst-audit.h.
67622         * sysdeps/i386/tst-audit.h: New file.
67623         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67624         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67625         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67626         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67627         * sysdeps/sh/tst-audit.h: Likewise.
67628         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67629         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67630         * sysdeps/x86_64/tst-audit.h: Likewise.
67632 2012-07-26  Andreas Jaeger  <aj@suse.de>
67634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67635         ptrace.
67637         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67638         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67639         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67640         PTRACE_O_MASK.
67641         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67642         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67643         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67645         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67646         value.
67648         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67649         _sigsys.
67650         (si_call_addr, si_syscall, si_arch): Define new macro.
67651         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67652         _sigsys.
67653         (si_call_addr, si_syscall, si_arch): Define new marcro.
67654         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67655         _sigsys.
67656         (si_call_addr, si_syscall, si_arch): Define new macro.
67657         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67658         _sigsys.
67659         (si_call_addr, si_syscall, si_arch): Define new macro.
67661 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67663         [BZ #13717]
67664         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67665         Change to 2.4.21 where previously 2.4.1.
67666         * sysdeps/unix/sysv/linux/configure: Regenerated.
67667         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67668         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67669         Linux kernel version.
67670         (__ASSUME_STD_AUXV): Remove.
67671         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67672         kernel version.
67673         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67674         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67675         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67676         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67677         (__ASSUME_NETLINK_SUPPORT): Likewise.
67678         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67679         (__no_netlink_support): Remove conditional definition.
67680         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67681         Remove.
67682         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67683         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67684         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67685         (if_nameindex_ioctl): Remove.
67686         (if_nameindex_netlink): Do not handle __no_netlink_support.
67687         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67688         code.
67689         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67690         Remove conditional code.
67691         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67692         code.
67693         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67694         unconditional.
67695         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67696         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67697         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67698         Remove.
67699         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67700         [!__ASSUME_STD_AUXV]: Remove conditional code.
67701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67702         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67703         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67705         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67706         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67707         code.
67708         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67710         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67711         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67712         conditional code.
67713         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67715         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67716         code.
67717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67718         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67719         conditional code.
67720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67721         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67722         code unconditional.
67723         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67724         conditional code.
67725         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67726         unconditional.
67727         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67728         conditional code.
67729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67730         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67731         unconditional.
67732         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67733         conditional code.
67734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67735         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67736         code unconditional.
67737         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67738         conditional code.
67739         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67740         unconditional.
67741         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67742         conditional code.
67743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67744         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67745         code unconditional.
67746         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67747         conditional code.
67748         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67749         unconditional.
67750         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67751         conditional code.
67753 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
67755         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67756         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67757         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67758         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67759         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67760         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67761         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67762         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67763         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67764         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67765         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67766         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67767         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67768         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67769         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67770         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67771         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67772         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67773         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67775         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67776         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67777         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67779 2012-07-25  Florian Weimer  <fweimer@redhat.com>
67781         * Versions.def: Add GLIBC_2.17.
67782         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67783         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67784         Introduce __libc_secure_getenv.
67785         * stdlib/Versions (2.17): Add secure_getenv
67786         (GLIBC_PRIVATE): Add __libc_secure_getenv.
67787         * stdlib/secure-getenv.c: Rename __secure_getenv to
67788         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
67789         symbol __secure_getenv for GLIBC_2.0.
67790         * stdlib/tst-secure-getenv.c: New.
67791         * stdlib/Makefile (tests): Add testcase.
67792         * manual/startup.texi (Environment Access): Document
67793         secure_getenv.
67794         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67795         __libc_secure_getenv.
67796         * inet/ruserpass.c (ruserpass): Likewise.
67797         * malloc/mtrace.c (mtrace): Likewise.
67798         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67799         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67800         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67801         * sysdeps/posix/tempname.c: Likewise.  Evaluate
67802         HAVE_SECURE_GETENV.
67803         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67804         __secure_getenv to __libc_secure_getenv.
67805         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67807         Likewise.
67808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67809         Likewise.
67810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67812         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67818 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67820         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67821         (struct La_i86_retval): Likewise.
67822         (struct La_x86_64_regs): Likewise.
67823         (struct La_x86_64_retval): Likewise.
67824         (struct La_x32_regs): Likewise.
67825         (struct La_x32_retval): Likewise.
67826         (struct La_ppc32_regs): Likewise.
67827         (struct La_ppc32_retval): Likewise.
67828         (struct La_ppc64_regs): Likewise.
67829         (struct La_ppc64_retval): Likewise.
67830         (struct La_sh_regs): Likewise.
67831         (struct La_sh_retval): Likewise.
67832         (struct La_s390_32_regs): Likewise.
67833         (struct La_s390_32_retval): Likewise.
67834         (struct La_s390_64_regs): Likewise.
67835         (struct La_s390_64_retval): Likewise.
67836         (struct La_sparc32_regs): Likewise.
67837         (struct La_sparc32_retval): Likewise.
67838         (struct La_sparc64_regs): Likewise.
67839         (struct La_sparc64_retval): Likewise.
67840         (struct audit_ifaces): Remove architecture-specific pltenter and
67841         pltexit members.
67842         * sysdeps/i386/ldsodefs.h: New file.
67843         * sysdeps/powerpc/ldsodefs.h: Likewise.
67844         * sysdeps/s390/ldsodefs.h: Likewise.
67845         * sysdeps/sh/ldsodefs.h: Likewise.
67846         * sysdeps/sparc/ldsodefs.h: Likewise.
67847         * sysdeps/x86_64/ldsodefs.h: Likewise.
67849 2012-07-25  Marek Polacek  <polacek@redhat.com>
67851         [BZ #6808]
67852         * math/libm-test.inc (yn_test): Add another test.
67853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67854         to ERANGE when the result is +-Inf.
67855         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67856         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67857         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67858         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67860 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
67862         * conform/data/time.h-data (NULL): Use macro-constant.  Require
67863         equal to 0.
67864         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
67865         clock_t.
67866         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
67868 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
67870         * configure.in <sysdeps resolving>: Correct printing
67871         Implies_before.
67872         * configure: Regenerate.
67874 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
67876         * math/w_ilogb.c: Include <limits.h>.
67877         * math/w_ilogbl.c: Likewise.
67879 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
67881         * manual/lang.texi (__va_copy): Document primarily as ISO C99
67882         va_copy.  Document allowing for unavailable va_copy only as
67883         pre-C99 compatibility.
67884         * manual/string.texi (Copying and Concatenation): Use va_copy
67885         instead of __va_copy in concat example.
67887 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
67889         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
67890         (__sendto): Use create_address_port.  Initialize APORT and deallocate
67891         it if not null.
67893         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
67894         with O_NOLINK passed to __file_name_lookup.
67896         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
67897         with O_NOLINK passed to __file_name_lookup.
67899         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
67900         negative N or less than NGIDS.
67902         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
67903         type to string_t.  Set ERANGE as errno and return it if NAME is not big
67904         enough.  Use memcpy instead of strncpy.
67906 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
67908         * elf/Makefile (check-data): Remove.
67909         (localplt.data): New vpath directive.
67910         ($(objpfx)check-localplt.out): Use localplt.data from vpath
67911         instead of $(check-data).
67912         * scripts/data/localplt-generic.data: Move to ...
67913         * sysdeps/generic/localplt.data: ... here.
67914         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
67915         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
67916         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
67917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
67918         ... here.
67919         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
67920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
67921         ... here.
67922         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
67923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
67924         ... here.
67925         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
67926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
67927         ... here.
67928         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
67929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
67930         ... here.
67931         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
67932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
67933         ... here.
67935 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67937         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
67938         PPC32 and PPC64 files.
67939         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
67940         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
67942 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67944         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
67945         __makecontext_ret to ...
67946         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
67947         ... here and call exit if uc_link is NULL.  New file.
67948         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
67949         __makecontext_ret.S.
67950         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
67951         __makecontext_ret to ...
67952         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
67953         ... here and call exit if uc_link is NULL.  New file.
67954         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
67955         __makecontext_ret.S.
67957 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67959         * elf/elf.h (R_390_IRELATIVE): New definition.
67960         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
67961         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
67962         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
67963         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
67964         (elf_machine_lazy_rel): Likewise.
67965         * sysdeps/s390/dl-irel.h: New file.
67966         * sysdeps/s390/s390-64/memcpy.S: New asm code.
67967         * sysdeps/s390/s390-64/memset.S: New asm code.
67968         * sysdeps/s390/s390-64/memcmp.S: New asm code.
67969         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
67970         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
67971         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
67972         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
67973         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
67974         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
67975         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
67976         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
67977         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
67978         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
67979         * sysdeps/s390/s390-32/memcpy.S: New asm code.
67980         * sysdeps/s390/s390-32/memset.S: New asm code.
67981         * sysdeps/s390/s390-32/memcmp.S: New asm code.
67983 2012-07-17  Marek Polacek  <polacek@redhat.com>
67985         [BZ #14349]
67986         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
67987         * sysdeps/s390/s390-64/configure.in: Likewise.
67988         * sysdeps/sparc/configure.in: Likewise.
67989         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
67990         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
67991         * sysdeps/i386/configure.in: Likewise.
67992         * sysdeps/x86_64/configure.in: Likewise.
67993         * sysdeps/sh/configure.in: Likewise.
67994         * sysdeps/s390/s390-32/configure: Regenerated.
67995         * sysdeps/s390/s390-64/configure: Likewise.
67996         * sysdeps/x86_64/configure: Likewise.
67997         * sysdeps/sh/configure: Likewise.
67998         * sysdeps/powerpc/powerpc64/configure: Likewise.
67999         * sysdeps/powerpc/powerpc32/configure: Likewise.
68000         * sysdeps/sparc/configure: Likewise.
68001         * sysdeps/i386/configure: Likewise.
68003         * elf/dl-open.c: Comment fixes.
68005 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68007         * Makefile [CXX] (check-data): Remove.
68008         [CXX] (c++-types.data): New vpath directive.
68009         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68010         vpath.  Do not allow for C++ type data being missing.
68011         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68012         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68013         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68014         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68015         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68016         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68017         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68019         ... here.
68020         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68022         ... here.
68023         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68025         ... here.
68026         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68028         ... here.
68029         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68031         ... here.
68032         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68034         ... here.
68035         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68037         ... here.
68038         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68041         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68042         definitions to architecture-specific files.
68043         (TLS_IE): Likewise.
68044         (TLS_LD): Likewise.
68045         (TLS_GD): Likewise.
68046         * sysdeps/i386/tls-macros.h: New file.
68047         * sysdeps/powerpc/tls-macros.h: Likewise.
68048         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68049         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68050         * sysdeps/sh/tls-macros.h: Likewise.
68051         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68052         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68053         * sysdeps/x86_64/tls-macros.h: Likewise.
68055 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68057         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68058         zero value for regular exit case.
68060         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68061         (__start_context): Preserve zero value for regular exit case.
68063 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68064             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68066         * manual/setjmp.texi (setcontext): Clarify normal process
68067         termination when uc_link is the null pointer.
68068         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68069         exit call.
68071 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68073         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68074         preprocessor.  Test for each exception mask separately.
68076 2012-07-16  Andreas Jaeger  <aj@suse.de>
68078         * po/ru.po: Update from translation team.
68080 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
68082         * conform/data/string.h-data (NULL): Use macro-constant.  Require
68083         equal to 0.
68084         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68085         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68086         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68087         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68090 2012-07-13  Andreas Jaeger  <aj@suse.de>
68092         * po/fr.po: Update from translation team.
68094 2012-07-12  Marek Polacek  <polacek@redhat.com>
68096         [BZ #14173]
68097         * math/libm-test.inc (yn_test): Add test for BZ #14173.
68098         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68099         loop condition.
68101 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
68103         [BZ #13717]
68104         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68105         Change to 2.4.1 where previously 2.4.0.
68106         * sysdeps/unix/sysv/linux/configure: Regenerated.
68107         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68108         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68109         version.
68110         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68111         (__ASSUME_AT_CLKTCK): Remove.
68112         (__ASSUME_AT_PAGESIZE): Likewise.
68113         (__ASSUME_AT_XID): Likewise.
68114         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68115         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68116         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68117         unconditionally.
68118         (HAVE_AUX_PAGESIZE): Likewise.
68119         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68120         [__ASSUME_AT_CLKTCK]: Make code unconditional.
68121         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68123 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
68125         [BZ #14307]
68126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68127         the temporary buffer used to invoke __gethostbyname2_r,
68128         __gethostbyaddr_r and gethostbyname4_r to make room for struct
68129         host_data / struct gaih_addrtuple.
68130         * resolv/nss_dns/dns-host.c (global scope): Move definition of
68131         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68132         header file nss/nsswitch.h.
68133         * nss/nsswitch.h (global scope): Add definition of implementation
68134         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68135         resolv/nss_dns/dns-host.c).
68137 2012-07-11  Andreas Jaeger  <aj@suse.de>
68139         * po/fr.po: Update from translation team.
68141         * po/sv.po: Update from translation team
68142         * po/fr.po: Another update from translation team.
68144 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68146         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68147         for subnormals or multiply small sinh result by itself.
68148         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68151 2012-07-11  David S. Miller  <davem@davemloft.net>
68153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68155 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
68157         [BZ #14347]
68158         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68159         (INTERNAL_MARK): Shift it here.
68161 2012-07-10  Marek Polacek  <polacek@redhat.com>
68163         [BZ #14151]
68164         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
68165         libc_cv_asm_global_directive with .globl.
68166         * configure: Regenerated.
68167         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68168         with .globl.
68169         * sysdeps/i386/configure: Regenerated.
68170         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68171         with .globl.
68172         * sysdeps/x86_64/configure: Regenerated.
68173         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68174         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68175         * elf/tst-unique2mod2.c: Likewise.
68176         * elf/tst-unique2mod1.c: Likewise.
68177         * elf/tst-unique1mod2.c: Likewise.
68178         * elf/tst-unique1mod1.c: Likewise.
68179         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68180         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68181         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68182         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68183         * sysdeps/mach/sysdep.h: Likewise.
68184         * sysdeps/i386/sysdep.h: Likewise.
68185         * sysdeps/i386/i386-mcount.S: Likewise.
68186         * sysdeps/x86_64/_mcount.S: Likewise.
68187         * sysdeps/x86_64/sysdep.h: Likewise.
68188         * sysdeps/sh/_mcount.S: Likewise.
68189         * sysdeps/sh/sysdep.h: Likewise.
68190         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68191         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68192         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68193         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68194         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68195         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68196         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68197         * locale/localeinfo.h: Likewise.
68198         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68199         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68201 2012-07-09  Roland McGrath  <roland@hack.frob.com>
68203         [BZ #14336]
68204         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68205         system".
68206         * manual/message.texi (The Uniforum approach): Likewise.
68207         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68208         (glibc iconv Implementation): Likewise.
68210 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
68212         [BZ #14337]
68213         * math/s_clog.c (__clog): Avoid scaling a value down where that
68214         could result in underflow.
68215         * math/s_clog10.c (__clog10): Likewise.
68216         * math/s_clog10f.c (__clog10f): Likewise.
68217         * math/s_clog10l.c (__clog10l): Likewise.
68218         * math/s_clogf.c (__clogf): Likewise.
68219         * math/s_clogl.c (__clogl): Likewise.
68220         * math/libm-test.inc (clog_test): Add more tests.
68221         (clog10_test): Likewise.
68222         * sysdeps/i386/fpu/libm-test-ulps: Update.
68223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68225 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
68227         [BZ #14283]
68228         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68229         by 7 not 8 to examine high bit of fractional part.
68231         [BZ #14042]
68232         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68233         for call to __mcount_internal.
68234         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68235         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68236         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68238 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
68240         [BZ #14154]
68241         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68242         approximation for values within 0x1p-13f of an odd multiple of
68243         pi/4.
68244         * math/libm-test.inc (tan_test): Do not allow spurious underflow
68245         exception.  Add more tests.
68246         * sysdeps/i386/fpu/libm-test-ulps: Update.
68248         [BZ #6778]
68249         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68250         inputs and return -1 for them.  Do not check for +Inf in case not
68251         reachable for +Inf.
68252         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68253         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68254         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68255         and return -1 for them.  Do not check for +Inf in case not
68256         reachable for +Inf.
68257         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68258         define.
68259         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68260         and return -1 for them.  Do not check for +Inf in case not
68261         reachable for +Inf.
68262         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
68263         spurious underflow.
68264         * sysdeps/i386/fpu/libm-test-ulps: Update.
68265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68267 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
68269         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68271 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
68273         [BZ #14157]
68274         [BZ #14331]
68275         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68276         could result in spurious underflow.  Scale down values above
68277         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68278         * math/s_csqrtf.c (__csqrtf): Likewise.
68279         * math/s_csqrtl.c (__csqrtl): Likewise.
68280         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
68281         spurious underflow.
68282         * sysdeps/i386/fpu/libm-test-ulps: Update.
68283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68285 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
68287         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68288         xopen-msg.sed.
68289         * catgets/xopen-msg.awk: New file.
68290         * catgets/xopen-msg.sed: Removed.
68292         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68293         po2text.sed.
68294         * intl/po2test.awk: New file.
68295         * intl/po2test.sed: Removed.
68297 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
68299         [BZ #14328]
68300         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68301         or multiply small sinh result by itself.
68302         * math/s_ctanf.c (__ctanf): Likewise.
68303         * math/s_ctanh.c (__ctanh): Likewise.
68304         * math/s_ctanhf.c (__ctanhf): Likewise.
68305         * math/s_ctanhl.c (__ctanhl): Likewise.
68306         * math/s_ctanl.c (__ctanl): Likewise.
68307         * math/libm-test.inc (ctan_test_tonearest): New function.
68308         (ctan_test_towardzero): Likewise.
68309         (ctan_test_downward): Likewise.
68310         (ctan_test_upward): Likewise.
68311         (ctanh_test_tonearest): Likewise.
68312         (ctanh_test_towardzero): Likewise.
68313         (ctanh_test_downward): Likewise.
68314         (ctanh_test_upward): Likewise.
68315         (main): Call these new functions.
68316         * sysdeps/i386/fpu/libm-test-ulps: Update.
68317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68319 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
68321         * .gitignore: Delete /ports entry.
68323 2012-07-03  Andreas Jaeger  <aj@suse.de>
68325         * po/bg.po: Update from translation team.
68326         * po/cs.po: Likewise.
68327         * po/de.po: Likewise.
68328         * po/hr.po: Likewise.
68329         * po/nl.pl: Likewise.
68330         * po/pl.po: Likewise.
68331         * po/vi.po: Likewise.
68333 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
68335         * Makeconfig [!+link] (+link-before-libc): New variable.
68336         [!+link] (+link-after-libc): Likewise.
68337         [!+link] (+link-tests): Likewise.
68338         [!+link] (+link): Define in terms of $(+link-before-libc) and
68339         $(+link-after-libc).
68340         [!+link-static] (+link-static-before-libc): New variable.
68341         [!+link-static] (+link-static-after-libc): Likewise.
68342         [!+link-static] (+link-static-tests): Likewise.
68343         [!+link-static] (+link-static): Define in terms of
68344         $(+link-static-before-libc) and $(+link-static-after-libc).
68345         [build-shared] (link-libc-before-gnulib): New variable.
68346         [build-shared] (link-libc-tests): Likewise.
68347         [build-shared] (link-libc): Define in terms of
68348         $(link-libc-before-gnulib).
68349         [!build-shared] (link-libc-tests): New variable.
68350         (link-libc-static-tests): New variable.
68351         [!gnulib] (gnulib-arch): New variable.
68352         [!gnulib] (gnulib-tests): Likewise.
68353         [!gnulib] (static-gnulib-arch): Likewise.
68354         [!gnulib] (static-gnulib-tests): Likewise.
68355         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
68356         Define with "=" instead of ":=".
68357         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
68358         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
68359         * Rules (binaries-all-notests): New variable.
68360         (binaries-all-tests): Likewise.
68361         (binaries-static-notests): Likewise.
68362         (binaries-static-tests): Likewise.
68363         (binaries-all): Define using $(binaries-all-notests) and
68364         $(binaries-all-tests).
68365         (binaries-static): Define using $(binaries-static-notests) and
68366         $(binaries-static-tests).
68367         (binaries-shared-tests): New variable.
68368         (binaries-shared-notests): Likewise.
68369         (binaries-shared): Remove variable.
68370         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68371         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68372         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68373         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68374         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68375         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68376         * elf/Makefile (sln-modules): New variable.
68377         (extra-objs): Add $(sln-modules:=.o).
68378         (ldconfig-modules): Add static-stubs.
68379         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68380         * elf/static-stubs.c: New file.
68382         [BZ #14283]
68383         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68384         by 7 not 8 to examine high bit of fractional part.  Use volatile
68385         variables when splitting into final array of floats if
68386         __FLT_EVAL_METHOD__ != 0.
68387         * math/libm-test.inc (cos_test): Add another test.
68388         (sin_test): Likewise.
68389         * sysdeps/i386/fpu/libm-test-ulps: Update.
68391         [BZ #14273]
68392         * math/libm-test.inc (cosh_test): Add more tests.
68394         * version.h (RELEASE): Set to "development".
68395         (VERSION): Set to "2.16.90".
68397 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
68399         * NEWS: Update copyright. Remove last-updated date.
68400         Mention math library bug fixes and timezone data changes.
68401         * README: Mention GNU/Hurd, x32, and HPPA support status.
68403 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
68405         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68407 2012-06-27  Andreas Jaeger  <aj@suse.de>
68409         * manual/contrib.texi (Contributors): Add Samuel Thibault.
68411 2012-06-25  Andreas Jaeger  <aj@suse.de>
68413         * sysdeps/s390/fpu/libm-test-ulps: Update.
68415 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
68416             Thomas Schwinge  <thomas@codesourcery.com>
68418         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68419         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68420         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68421         fanotify_mark.
68423 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
68425         * sysdeps/mach/start.c: Remove file.
68426         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68427         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68428         * sysdeps/sh/init-first.c: Likewise.
68430         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68431         registers for frame unwinding purposes, add CFI directives.
68432         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68433         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68434         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68435         Likewise.
68437         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68438         __fortify_fail returning.
68439         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68441         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68442         sysdeps/sh/____longjmp_chk.S.
68443         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68444         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68445         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68446         (gen-as-const-headers): Append sigaltstack-offsets.sym.
68448         * sysdeps/sh/abort-instr.h: New file.
68449         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68450         process in case exit returns.
68452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68453         initialize the GOT register before use.
68455         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68456         calculation of ARGC > 4.
68458         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68459         meaningful names to some local labels.
68461 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68462             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68464         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68465         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68466         (__arch_compare_and_exchange_val_16_acq): Likewise.
68467         (__arch_compare_and_exchange_val_32_acq): Likewise.
68468         (atomic_exchange_and_add): Fix gUSA sequence.
68469         (atomic_add): Likewise.
68470         (atomic_add_negative): Likewise.
68471         (atomic_add_zero): Likewise.
68472         (atomic_bit_test_set): Likewise.
68474 2012-06-22  Andreas Schwab  <schwab@redhat.com>
68476         [BZ #13579]
68477         * include/link.h (struct link_map): Add l_free_initfini.
68478         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68479         l_initfini.
68480         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68481         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68482         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68483         set.
68485 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
68487         * configure.in: Use AC_LANG_SOURCE.
68488         * configure: Regenerate.
68490 2012-06-22  Roland McGrath  <roland@hack.frob.com>
68492         * configure.in (libc_cv_localstatedir): New substituted variable.
68493         * configure: Regenerated.
68494         * config.make.in (localstatedir): New variable, substituted from
68495         libc_cv_localstatedir.
68496         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68497         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68498         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68499         * sysdeps/gnu/configure: Regenerated.
68501 2012-06-21  Jeff Law  <law@redhat.com>
68503         [BZ #14277]
68504         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68505         free.  Simplify list management for _LIBC case.
68507 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
68509         [BZ #14273]
68510         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68511         Clear sign bit of 64-bit integer value before comparing against
68512         overflow value.
68514         * sysdeps/mach/configure: Regenerated.
68516 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
68518         [BZ #14278]
68519         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68521 2012-06-21  Jeff Law  <law@redhat.com>
68523         [BZ #13882]
68524         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
68525         uint16_t for elements in the "seen" array to avoid char overflows.
68526         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68527         * elf/dl-open.c (dl_open_worker): Likewise.
68529 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
68531         * scripts/list-sources.sh: Scan PORTS for translations.
68532         * po/libc.pot: Regenerated.
68534 2012-06-21  Andreas Jaeger  <aj@suse.de>
68536         [BZ #12194]
68537         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68538         warning.
68539         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68540         * bits/byteswap-16.h (__bswap_16): Likewise.
68541         * bits/byteswap.h (__bswap_constant_16): Likewise.
68543 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
68545         [BZ #14117]
68546         * sysdeps/i386/fpu_control.h: Removed.
68547         * sysdeps/x86_64/fpu_control.h: Moved to ...
68548         * sysdeps/x86/fpu_control.h: Here.
68550         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68551         (_FPU_SETCW): Likewise.
68553 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
68555         [BZ #14117]
68556         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68557         * sysdeps/x86/fpu/bits/mathinline.h: This.
68558         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68560         [BZ #14050]
68561         [BZ #14117]
68562         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68563         functions if __x86_64__ is defined.
68565 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
68567         * string/endian.h: Add !__ASSEMBLER__ condition for including
68568         conversion interfaces.
68570 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
68572         [BZ #14241]
68573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68574         of ABS(x) in calculating zero to negative powers other than odd
68575         integers.
68576         * math/libm-test.inc (pow_test): Add more tests.
68578 2012-06-15  Andreas Jaeger  <aj@suse.de>
68580         * manual/contrib.texi (Contributors): Update entry of Liubov
68581         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68582         Machado Filho.
68584 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
68586         * string/string.h: Add __wur to GNU version of strerror_r.
68588 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
68590         [BZ #14229]
68591         * string/Makefile (tests): Add tst-strtok_r.
68592         * string/tst-strtok_r.c: New file.
68593         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68594         RAX_LP/RDX_LP on SAVE_PTR.
68596 2012-06-14  Roland McGrath  <roland@hack.frob.com>
68598         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68600 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
68602         * libm_test.inc (csqrt_test): Allow more spurious underflow
68603         exceptions.
68604         (j0_test): Likewise.
68605         (j1_test): Likewise.
68606         (y0_test): Likewise.
68607         (y1_test): Likewise.
68609 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
68611         * po/Makefile (libc.pot): Use UTF-8 charset.
68613 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
68615         [BZ #14210]
68616         Suppress sign-conversion warning from FD_SET.
68617         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68618         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68619         not unsigned long int.
68620         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68622 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
68624         [BZ #14050]
68625         [BZ #14117]
68626         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68627         __extern_always_inline instead of __extern_inline.
68628         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68629         (__signbit): Likewise.
68630         (__signbitl): Support C++ namespace.
68631         (lrintf): New inline function.
68632         (lrint): Likewise.
68633         (llrintf): Likewise.
68634         (llrint): Likewise.
68635         (fmaxf): Likewise.
68636         (fmax): Likewise.
68637         (fminf): Likewise.
68638         (fmin): Likewise.
68639         (rint): Likewise.
68640         (rintf): Likewise.
68641         (ceil): Likewise.
68642         (ceilf): Likewise.
68643         (floor): Likewise.
68644         (floorf): Likewise.
68645         (nearbyint): Likewise.
68646         (nearbyintf): Likewise.
68648 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
68650         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68651         non-default versions.
68653 2012-06-11  Roland McGrath  <roland@hack.frob.com>
68655         [BZ #14218]
68656         * manual/argp.texi (Argp): Reword argp_parse description slightly.
68658 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
68660         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68661         (FE_UPWARD, FE_DOWNWARD): Don't define.
68662         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68663         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68665         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68666         reading it.
68667         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68668         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68670 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68672         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68674         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68675         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68677 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
68679         [BZ #14117]
68680         * sysdeps/i386/fpu/bits/fenv.h: Removed.
68681         * sysdeps/i386/fpu/Implies: New file.
68682         * sysdeps/x86_64/fpu/Implies: Likewise.
68683         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68684         * sysdeps/x86/fpu/bits/fenv.h: This.
68686         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68687         __SSE_MATH__.
68689 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68691         [BZ #14134]
68692         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68693         character 0xffff that matches the last element of the
68694         conversion table.
68696 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68698         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68699         fmodl commit.
68701 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68704         values higher than 25.6283.
68706 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68709         subnormal exponent extraction and add some __builtin_expect.
68710         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68711         Fix for subnormal mantissa calculation.
68713 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
68715         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68716         cpu2 is -1 and errno is not ENOSYS.
68718 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
68720         [BZ #14117]
68721         * sysdeps/i386/i486/bits/string.h: Renamed to ...
68722         * sysdeps/x86/bits/string.h: This.
68723         * sysdeps/x86_64/bits/string.h: Removed.
68725         * sysdeps/i386/i486/bits/string.h: Define inline functions only
68726         if not compiling for x86-64, but compiling for >= i486.
68728         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68729         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68731         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68732         New macro from Linux kernel 3.4.0.
68733         (FP_XSTATE_MAGIC2): Likewise.
68734         (FP_XSTATE_MAGIC2_SIZE): Likewise.
68735         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68736         (struct _fpx_sw_bytes): New struct.
68737         (struct _xsave_hdr): Likewise.
68738         (struct _ymmh_state): Likewise.
68739         (struct _xstate): Likewise.
68741         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68742         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68743         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68744         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68745         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68746         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68748         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68749         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68750         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68751         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68752         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68753         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68755 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68757         [BZ #13743]
68758         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68759         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68760         (sysdep_headers): Include sys/platform/ppc.h.
68761         * sysdeps/powerpc/test-gettimebase.c: Test for
68762         __ppc_get_timebase() to catch future ISA opcode/insn changes.
68763         * manual/Makefile (appendices): Include platform.texi.
68764         * manual/contrib.texi (Contributors): Update @node pointers.
68765         * manual/maint.texi (Maintenance): Likewise.
68766         (Platform): New node.
68767         * manual/platform.texi: New file.  Document the new features.
68769 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68770             Jakub Jelinek  <jakub@redhat.com>
68772         [BZ #14188]
68773         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68774         where __builtin_expect is unavailable.
68776 2012-06-03  David S. Miller  <davem@davemloft.net>
68778         * stdlib/longlong.h: Updated from GCC.
68780 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
68782         [BZ #14042]
68783         * sysdeps/powerpc/powerpc32/mcount.c: New file.
68784         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68785         __mcount_internal.
68786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68787         (GLIBC_2.16): Likewise.
68789 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68791         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68793 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68796         (default-abi): New variable.
68797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68798         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68799         variable.
68800         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68801         Likewise.
68802         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68803         Likewise.
68804         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68805         Likewise.
68807         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68808         definition.  Document in comment.
68810 2012-06-01  David S. Miller  <davem@davemloft.net>
68812         * stdlib/longlong.h: Updated from GCC.
68814 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68816         [BZ #14117]
68817         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68818         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68819         sys/debugreg.h sys/io.h here.
68820         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68821         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68822         sys/io.h.
68823         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68824         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68825         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68826         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68827         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68828         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68830         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68831         Define only if __x86_64__ is defined.
68833 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68835         [BZ #14048]
68836         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68837         Use int64_t for variable i.
68838         * math/libm-test.inc (fmod_test): Add more tests.
68840         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68841         z computation is not scheduled after fetestexcept.
68842         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68843         Use math_force_eval instead of asm to ensure calculation scheduled
68844         before exception test.
68845         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68846         Ensure a1 + u.d computation is not scheduled after fetestexcept.
68848 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
68850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68851         computation is not scheduled after fetestexcept.
68853 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68855         [BZ #14117]
68856         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68857         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68859 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68861         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68862         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68864 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68866         [BZ #14117]
68867         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68868         <bits/wordsize.h>.
68869         (__WCHAR_MIN): Support __WORDSIZE == 64.
68870         (__WCHAR_MAX): Likewise.
68872         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
68873         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
68875         [BZ #14183]
68876         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68877         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
68879         [BZ #14117]
68880         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
68881         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
68883         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
68884         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
68886         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
68887         Defined to 1 if __x86_64__ isn't defined.
68888         (_STAT_VER_LINUX_OLD): New.
68889         (st_atime): Remove duplicate.
68890         (st_mtime): Likewise.
68891         (st_ctime): Likewise.
68893 2012-05-31  David S. Miller  <davem@davemloft.net>
68895         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
68896         entries.
68898 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
68900         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
68901         gen-libm-test.pl.
68903         [BZ #14132]
68904         * elf/dl-reloc.c: Include <_itoa.h>.
68905         (_dl_reloc_bad_type): Remove use of INTUSE.
68906         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
68907         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
68908         * stdio-common/psiginfo.c (psiginfo): Likewise.
68909         * stdio-common/psignal.c (psignal): Likewise.
68910         * string/strsignal.c (strsignal): Likewise.
68911         * include/signal.h (_sys_siglist): Declare hidden proto.
68912         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
68913         INTVARDEF with libc_hidden_data_def.
68914         * stdio-common/itoa-udigits.c: Likewise.
68915         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
68916         (_itoa_lower_digits_internal): Remove declaration.
68917         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
68918         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
68919         (_sys_sigabbrev_internal): Remove aliases.
68920         (_sys_siglist): Define hidden alias.
68922 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
68924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68925         bits/sysctl.h.
68927 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68929         [BZ #14117]
68930         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
68931         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
68933         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
68934         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
68935         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
68936         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
68937         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
68938         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
68940         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
68941         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
68942         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
68944         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
68945         with __addr.
68946         (insw): Likewise.
68947         (insl): Likewise.
68948         (outsb): Likewise.
68949         (outsw): Likewise.
68950         (outsl): Likewise.
68952         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
68953         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
68954         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
68956         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
68957         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
68958         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
68959         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
68960         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
68961         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
68963         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
68964         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
68966         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
68967         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
68969         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
68970         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
68971         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
68973         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
68974         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
68975         to ...
68976         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
68978         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
68979         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
68980         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
68982         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
68983         for x86-64.
68984         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
68986 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
68988         * math/math.h (M_El): Use two more decimal places.
68989         (M_LOG2El): Likewise.
68990         (M_LOG10El): Likewise.
68991         (M_LN2l): Likewise.
68992         (M_LN10l): Likewise.
68993         (M_PIl): Likewise.
68994         (M_PI_2l): Likewise.
68995         (M_PI_4l): Likewise.
68996         (M_1_PIl): Likewise.
68997         (M_2_PIl): Likewise.
68998         (M_2_SQRTPIl): Likewise.
68999         (M_SQRT2l): Likewise.
69000         (M_SQRT1_2l): Likewise.
69002 2012-05-31  David S. Miller  <davem@davemloft.net>
69004         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69005         values between float registers.
69006         * sysdeps/sparc/sparc64/memset.S: Likewise.
69007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69009 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69011         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69012         -D_FORTIFY_SOURCE=1.
69013         (CPPFLAGS-tst-longjmp_chk.c): Define.
69014         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69015         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69016         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69017         CFLAGS-tst-wchar-h.c.
69019 2012-05-31  Marek Polacek  <polacek@redhat.com>
69021         [BZ #14132]
69022         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69023         __endmntent_internal): Remove declaration.
69024         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69025         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69026         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69028 2012-05-30  David S. Miller  <davem@davemloft.net>
69030         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69031         (___Q_simulate_exceptions): Use real FP ops rather than writing
69032         into the %fsr.
69033         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69034         Likewise.
69036 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69038         [BZ #14117]
69039         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69040         * sysdeps/x86/bits/xtitypes.h: This.
69042         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69043         * sysdeps/x86/bits/wordsize.h: This.
69045         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69046         * sysdeps/x86/bits/huge_vall.h: This.
69048         * sysdeps/i386/bits/select.h: Removed.
69049         * sysdeps/x86_64/bits/select.h: Renamed to ...
69050         * sysdeps/x86/bits/select.h: This.
69052         * sysdeps/i386/bits/setjmp.h: Removed.
69053         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69054         * sysdeps/x86/bits/setjmp.h: This.
69056         * sysdeps/i386/bits/mathdef.h: Removed.
69057         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69058         * sysdeps/x86/bits/mathdef.h: This.
69060 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69062         [BZ #14132]
69063         * include/sys/socket.h (__connect_internal)
69064         (__libc_sa_len_internal): Remove declaration.
69065         (__connect, __libc_sa_len): Declare hidden_proto.
69066         (SA_LEN): Remove use of INTUSE.
69067         * socket/connect.c: Add libc_hidden_def.
69068         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69069         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69070         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69071         alias.
69072         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69073         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69074         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69075         of adding _internal alias.
69077 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69079         [BZ #14117]
69080         * sysdeps/i386/bits/link.h: Removed.
69081         * sysdeps/i386/bits/linkmap.h: Likewise.
69082         * sysdeps/x86_64/bits/link.h: Renamed to ...
69083         * sysdeps/x86/bits/link.h: This.
69084         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69085         * sysdeps/x86/bits/linkmap.h: This.
69087         * sysdeps/i386/bits/endian.h: Removed.
69088         * sysdeps/x86_64/bits/endian.h: Renamed to ...
69089         * sysdeps/x86/bits/endian.h: This.
69091         * sysdeps/i386/bits/byteswap.h: Removed.
69092         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69093         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69094         * sysdeps/x86/bits/byteswap.h: This.
69095         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69096         * sysdeps/x86/bits/byteswap-16.h: This.
69097         * sysdeps/i386/Implies: Add x86.
69098         * sysdeps/x86_64/Implies: Likewise.
69100 2012-05-30  David S. Miller  <davem@davemloft.net>
69102         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69103         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69104         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69105         (FP_TRAPPING_EXCEPTIONS): Define.
69106         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69107         (FP_TRAPPING_EXCEPTIONS): Define.
69108         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69109         subnormals only when inexact has been signalled or underflow
69110         exceptions are enabled.
69111         (_FP_PACK_CANONICAL): Likewise.
69113 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69115         [BZ #14183]
69116         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69117         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69119 2012-05-30  Richard Henderson  <rth@twiddle.net>
69121         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69122         with #ifndef NOT_IN_libc.
69124         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
69125         marked to avoid plt entry.
69127 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69129         [BZ #14112]
69130         * Makeconfig (default-abi): New macro.
69131         (abi-includes): Likewise.
69132         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
69133         $(abi-$(default-abi)-lib-soname) for soname if defined.
69134         ($(common-objpfx)gnu/lib-names.stmp): Generate from
69135         abi-variants.
69136         * Makefile (installed-stubs): Likewise.
69137         * include/stubs-biarch.h: Removed.
69138         * scripts/lib-names.awk: Only handle one library at a time.
69139         * scripts/soversions.awk: Remove WORDSIZE support.
69140         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69141         entries.
69142         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69143         Removed.
69144         (syscall-list-default-condition): Likewise.
69145         (syscall-list-default-condition): Likewise.
69146         (syscall-list-includes): Likewise.
69147         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69148         syscall-list-* with abi-*.  Handle undefined abi-variants.
69149         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69150         * sysdeps/unix/sysv/linux/i386/Implies: New file.
69151         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69152         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69153         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69154         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69155         Removed.
69156         (syscall-list-32-options): Likewise.
69157         (syscall-list-32-condition): Likewise.
69158         (syscall-list-64-options): Likewise.
69159         (syscall-list-64-condition): Likewise.
69160         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69161         macro.
69162         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69163         Renamed to ...
69164         (abi-*): This.
69165         (abi-64-ld-soname): New macro.
69166         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69167         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69168         Renamed to ...
69169         (abi-*): This.
69170         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69171         * sysdeps/x86_64/x32/shlib-versions: Likewise.
69173 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
69175         * sysdeps/unix/sysv/linux/kernel-features.h
69176         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69177         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69178         include <kernel-features.h>.
69179         [!__NR_ftruncate64]: Remove conditional code.
69180         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69181         [__NR_ftruncate64]: Make code unconditional.
69182         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69183         * sysdeps/unix/sysv/linux/truncate64.c: Do not
69184         include <kernel-features.h>.
69185         [!__NR_ftruncate64]: Remove conditional code.
69186         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69187         [__NR_ftruncate64]: Make code unconditional.
69188         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69190         include <kernel-features.h>.
69191         [!__NR_ftruncate64]: Remove conditional code.
69192         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69193         [__NR_ftruncate64]: Make code unconditional.
69194         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69196         include <kernel-features.h>.
69197         [!__NR_ftruncate64]: Remove conditional code.
69198         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69199         [__NR_ftruncate64]: Make code unconditional.
69200         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69202         * configure.in (libc_cv_fpie): Weaken to a compile test using
69203         LIBC_TRY_CC_OPTION.
69204         * configure: Regenerated.
69206 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69212         Refreshed.
69213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69219         Refreshed.
69221 2012-05-27  David S. Miller  <davem@davemloft.net>
69223         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69224         (___Q_zero): New.
69225         (__Q_simulate_exceptions): Return void.  Change to simulate
69226         exceptions by writing into the %fsr.
69227         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69228         (__Qp_handle_exceptions): Likewise.
69229         (numbers): Delete.
69230         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69231         __Qp_handle_exceptions.
69232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69233         __Qp_handle_exceptions.
69234         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69235         as unused and give dummy FP_RND_NEAREST initializer.
69236         (FP_INHIBIT_RESULTS): Define.
69237         (___Q_simulate_exceptions): Update declaration.
69238         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69239         formatting.
69240         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69241         as unused and give dummy FP_RND_NEAREST initializer.
69242         (__Qp_handle_exceptions): Update declaration.
69243         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69244         formatting.
69246 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
69248         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69249         the temporary FPU control word.
69250         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69251         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69252         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69253         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69254         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69255         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69256         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69257         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69258         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69259         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69260         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69262 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69264         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69265         fields.
69267 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
69269         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69270         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69271         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69272         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69273         Likewise.
69274         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69275         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69276         Likewise.
69278 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
69280         * po/h.po: Update from translation team.
69282 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
69284         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69286         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69287         handling of denormals.
69288         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69289         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69290         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69291         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69293         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69295         Likewise.
69297 2012-05-26  Marek Polacek  <polacek@redhat.com>
69299         [BZ #14152]
69300         * math/libm-test.inc (fma_test): Don't always expect underflow
69301         exception.
69303 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69305         [BZ #12416]
69306         * elf/tst-execstack.c: Include stackinfo.h.
69307         (do_test): Adjust test case to ensure that pthread_getattr_np
69308         behaviour remains the same after marking stack executable.
69310 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69312         * sysdeps/unix/sysv/linux/kernel-features.h
69313         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69314         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69315         kernel-features.h.
69316         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69317         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69318         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69319         kernel-features.h.
69320         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69321         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69323 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
69325         * configure.in: Define the default includes to being none.
69326         * configure: Regenerated.
69328 2012-05-25  Roland McGrath  <roland@hack.frob.com>
69330         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69331         * sysdeps/x86_64/setjmp.S: Likewise.
69332         * sysdeps/i386/bsd-setjmp.S: Likewise.
69333         * sysdeps/i386/bsd-_setjmp.S: Likewise.
69334         * sysdeps/i386/setjmp.S: Likewise.
69335         * sysdeps/i386/__longjmp.S: Likewise.
69336         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69337         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69339         * include/stap-probe.h: New file.
69340         * configure.in: Handle --enable-systemtap.
69341         * configure: Regenerated.
69342         * config.h.in (USE_STAP_PROBE): New #undef.
69343         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69344         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69345         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69347 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69349         [BZ #13717]
69350         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69351         to 2.4.0 where earlier.
69352         * sysdeps/unix/sysv/linux/configure: Regenerated.
69353         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69354         <kernel-features.h>.
69355         [__ASSUME_32BITUIDS]: Make code unconditional.
69356         [!__ASSUME_32BITUIDS]: Remove conditional code.
69357         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69358         <kernel-features.h>.
69359         [__ASSUME_32BITUIDS]: Make code unconditional.
69360         [!__ASSUME_32BITUIDS]: Remove conditional code.
69361         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69362         [__ASSUME_32BITUIDS]: Make code unconditional.
69363         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69364         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69365         <kernel-features.h>.
69366         [__ASSUME_32BITUIDS]: Make code unconditional.
69367         [!__ASSUME_32BITUIDS]: Remove conditional code.
69368         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69369         <kernel-features.h>.
69370         [__ASSUME_32BITUIDS]: Make code unconditional.
69371         [!__ASSUME_32BITUIDS]: Remove conditional code.
69372         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69373         <kernel-features.h>.
69374         [__ASSUME_32BITUIDS]: Make code unconditional.
69375         [!__ASSUME_32BITUIDS]: Remove conditional code.
69376         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69377         <kernel-features.h>.
69378         [__ASSUME_32BITUIDS]: Make code unconditional.
69379         [!__ASSUME_32BITUIDS]: Remove conditional code.
69380         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69381         <kernel-features.h>.
69382         [__ASSUME_32BITUIDS]: Make code unconditional.
69383         [!__ASSUME_32BITUIDS]: Remove conditional code.
69384         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69385         <kernel-features.h>.
69386         [__ASSUME_32BITUIDS]: Make code unconditional.
69387         [!__ASSUME_32BITUIDS]: Remove conditional code.
69388         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69389         <kernel-features.h>.
69390         [__ASSUME_32BITUIDS]: Make code unconditional.
69391         [!__ASSUME_32BITUIDS]: Remove conditional code.
69392         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69393         <kernel-features.h>.
69394         [__ASSUME_32BITUIDS]: Make code unconditional.
69395         [!__ASSUME_32BITUIDS]: Remove conditional code.
69396         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69397         <kernel-features.h>.
69398         [__ASSUME_32BITUIDS]: Make code unconditional.
69399         [!__ASSUME_32BITUIDS]: Remove conditional code.
69400         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69401         <kernel-features.h>.
69402         [__ASSUME_32BITUIDS]: Make code unconditional.
69403         [!__ASSUME_32BITUIDS]: Remove conditional code.
69404         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69405         <kernel-features.h>.
69406         [__NR_setresgid] (__setresgid): Do not declare.
69407         [__ASSUME_32BITUIDS]: Make code unconditional.
69408         [!__ASSUME_32BITUIDS]: Remove conditional code.
69409         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69410         <kernel-features.h>.
69411         [__NR_setresuid] (__setresuid): Do not declare.
69412         [__ASSUME_32BITUIDS]: Make code unconditional.
69413         [!__ASSUME_32BITUIDS]: Remove conditional code.
69414         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69415         <kernel-features.h>.
69416         [__ASSUME_32BITUIDS]: Make code unconditional.
69417         [!__ASSUME_32BITUIDS]: Remove conditional code.
69418         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69419         <kernel-features.h>.
69420         [__ASSUME_32BITUIDS]: Make code unconditional.
69421         [!__ASSUME_32BITUIDS]: Remove conditional code.
69422         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
69423         <kernel-features.h>.
69424         [__ASSUME_32BITUIDS]: Make code unconditional.
69425         [!__ASSUME_32BITUIDS]: Remove conditional code.
69426         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
69427         <kernel-features.h>.
69428         [__ASSUME_32BITUIDS]: Make code unconditional.
69429         [!__ASSUME_32BITUIDS]: Remove conditional code.
69430         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
69431         <kernel-features.h>.
69432         [__ASSUME_32BITUIDS]: Make code unconditional.
69433         [!__ASSUME_32BITUIDS]: Remove conditional code.
69434         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69435         <kernel-features.h>.
69436         [__ASSUME_32BITUIDS]: Make code unconditional.
69437         [!__ASSUME_32BITUIDS]: Remove conditional code.
69438         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69439         <kernel-features.h>.
69440         [__ASSUME_32BITUIDS]: Make code unconditional.
69441         [!__ASSUME_32BITUIDS]: Remove conditional code.
69442         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69443         <kernel-features.h>.
69444         [__ASSUME_32BITUIDS]: Make code unconditional.
69445         [!__ASSUME_32BITUIDS]: Remove conditional code.
69446         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69447         <kernel-features.h>.
69448         [__ASSUME_32BITUIDS]: Make code unconditional.
69449         [!__ASSUME_32BITUIDS]: Remove conditional code.
69450         * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
69455         (__ASSUME_SETRESUID_SYSCALL): Remove.
69456         (__ASSUME_SETRESGID_SYSCALL): Likewise.
69457         (__ASSUME_32BITUIDS): Likewise.
69458         (__ASSUME_LDT_WORKS): Likewise.
69459         (__ASSUME_O_DIRECTORY): Likewise.
69460         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69461         architecture but not kernel version.
69462         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69463         (__ASSUME_MMAP2_SYSCALL): Likewise.
69464         (__ASSUME_STAT64_SYSCALL): Likewise.
69465         (__ASSUME_IPC64): Likewise.
69466         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69467         <kernel-features.h>.
69468         [__ASSUME_32BITUIDS]: Make code unconditional.
69469         [!__ASSUME_32BITUIDS]: Remove conditional code.
69470         * sysdeps/unix/sysv/linux/opendir.c: Do not include
69471         <kernel-features.h>.
69472         [__ASSUME_O_DIRECTORY]: Make code unconditional.
69473         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69474         132096]: Remove conditional code.
69475         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69476         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69477         <kernel-features.h>.
69478         [__ASSUME_32BITUIDS]: Make code unconditional.
69479         [!__ASSUME_32BITUIDS]: Remove conditional code.
69480         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69481         <kernel-features.h>.
69482         [__ASSUME_32BITUIDS]: Make code unconditional.
69483         [!__ASSUME_32BITUIDS]: Remove conditional code.
69484         * sysdeps/unix/sysv/linux/setegid.c: Do not include
69485         <kernel-features.h>.
69486         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69487         unconditional.
69488         (__setresgid): Do not declare.
69489         [__ASSUME_32BITUIDS]: Make code unconditional.
69490         [!__ASSUME_32BITUIDS]: Remove conditional code.
69491         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69492         <kernel-features.h>.
69493         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69494         unconditional.
69495         (__setresuid): Do not declare.
69496         [__ASSUME_32BITUIDS]: Make code unconditional.
69497         [!__ASSUME_32BITUIDS]: Remove conditional code.
69498         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69499         <kernel-features.h>.
69500         [__ASSUME_32BITUIDS]: Make code unconditional.
69501         [!__ASSUME_32BITUIDS]: Remove conditional code.
69502         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69503         <kernel-features.h>.
69504         [__ASSUME_32BITUIDS]: Make code unconditional.
69505         [!__ASSUME_32BITUIDS]: Remove conditional code.
69507 2012-05-25  Richard Henderson  <rth@twiddle.net>
69509         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69510         dl_hwcap to ifunc resolver.
69511         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69512         elf_ifunc_invoke.
69513         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69514         dl_hwcap to ifunc resolver.
69515         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69517 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69519         [BZ #14153]
69520         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69521         for |x| <= 2**-26, not 2**-57.
69522         * math/libm-test.inc (acos_test): Do not allow spurious underflow
69523         exception.
69525 2012-05-24  Jeff Law  <law@redhat.com>
69527         * stdio-common/Makefile (tests): Add bug25.
69528         * stdio-common/bug25.c: New test.
69530 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69532         [BZ #13576]
69533         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69534         multiple of MALLOC_ALIGNMENT in size.
69535         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69537 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69539         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69540         Require >= 256.
69541         (FILENAME_MAX): Use macro-int-constant.
69542         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
69543         (_IOFBF): Use macro-int-constant.
69544         (_IOLBF): Likewise.
69545         (_IONBF): Likewise.
69546         (SEEK_CUR): Likewise.
69547         (SEEK_END): Likewise.
69548         (SEEK_SET): Likewise.
69549         (TMP_MAX): Likewise.
69550         (EOF): Use macro-int-constant.  Require < 0.
69551         (NULL): Use macro-constant.  Require == 0.
69552         (stdin): Require type to be FILE *.
69553         (stdout): Likewise.
69554         (stderr): Likewise.
69555         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69556         macro-int-constant.
69557         (EXIT_SUCCESS): Likewise.
69558         (NULL): Use macro-constant.  Require == 0.
69559         (RAND_MAX): Use macro-int-constant.
69560         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69561         [C99-based standards] (strtof): Require function.
69562         [C99-based standards] (strtold): Likewise.
69563         [C99-based standards] (strtoll): Likewise.
69564         [C99-based standards] (strtoull): Likewise.
69565         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69566         [ISO || ISO99 || ISO11] (limits.h): Likewise.
69567         [ISO || ISO99 || ISO11] (math.h): Likewise.
69568         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69569         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69572 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
69574         [BZ #14132]
69575         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69576         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69577         * intl/dgettext.c (DCGETTEXT): Likewise.
69578         * intl/gettext.c (DCGETTEXT): Likewise.
69579         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69580         * posix/regex_internal.h (gettext): Likewise.
69581         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69582         Remove declaration.
69583         * include/argz.h (__argz_count_internal)
69584         (__argz_stringify_internal): Remove declaration.
69585         (__argz_count, __argz_stringify): Declare hidden proto.
69586         * intl/dcgettext.c: Remove use of INTDEF.
69587         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69588         * string/argz-stringify.c: Likewise.
69589         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69590         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69591         Declare hidden proto.
69592         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69593         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69594         Declare hidden proto.
69595         * include/stdio.h (__asprintf_internal): Don't declare.
69596         (__asprintf): Don't define as macro.  Declare hidden proto.
69597         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69598         (__fsetlocking): Declare hidden proto.
69599         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69600         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69601         hidden proto.
69602         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69603         (_IO_setlinebuf): Remove use of INTUSE.
69604         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69605         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69606         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69607         Remove declaration.
69608         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69609         (_IO_do_flush): Remove use of INTUSE.
69610         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69611         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69612         (_IO_adjust_column, _IO_least_wmarker)
69613         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69614         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69615         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69616         (_IO_default_doallocate, _IO_wdefault_doallocate)
69617         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69618         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69619         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69620         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69621         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69622         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69623         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69624         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69625         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69626         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69627         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69628         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69629         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69630         proto.
69631         (_IO_flush_all_internal, _IO_adjust_column_internal)
69632         (_IO_default_uflow_internal, _IO_default_finish_internal)
69633         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69634         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69635         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69636         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69637         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69638         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69639         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69640         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69641         (_IO_file_close_internal, _IO_file_close_it_internal)
69642         (_IO_file_underflow_internal, _IO_file_overflow_internal)
69643         (_IO_file_init_internal, _IO_file_attach_internal)
69644         (_IO_file_fopen_internal, _IO_file_read_internal)
69645         (_IO_file_sync_internal, _IO_file_seek_internal)
69646         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69647         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69648         (_IO_str_underflow_internal, _IO_str_overflow_internal)
69649         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69650         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69651         (_IO_list_all_internal, _IO_link_in_internal)
69652         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69653         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69654         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69655         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69656         (_IO_do_write_internal, _IO_padn_internal)
69657         (_IO_getline_info_internal, _IO_getline_internal)
69658         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69659         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69660         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69661         (_IO_vfscanf_internal, _IO_vfprintf_internal)
69662         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69663         (_IO_init_internal, _IO_un_link_internal): Don't declare.
69664         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69665         with libc_hidden_ver, remove use of INTUSE.
69666         * libio/genops.c: Likewise.
69667         * libio/freopen.c: Likewise.
69668         * libio/freopen64.c: Likewise.
69669         * libio/iofclose.c: Likewise.
69670         * libio/iofdopen.c: Likewise.
69671         * libio/iofflush.c: Likewise.
69672         * libio/iofflush_u.c: Likewise.
69673         * libio/iofgets.c: Likewise.
69674         * libio/iofgets_u.c: Likewise.
69675         * libio/iofopen.c: Likewise.
69676         * libio/iofopncook.c: Likewise.
69677         * libio/iofread.c: Likewise.
69678         * libio/iofread_u.c: Likewise.
69679         * libio/ioftell.c: Likewise.
69680         * libio/iofwrite.c: Likewise.
69681         * libio/iogetline.c: Likewise.
69682         * libio/iogets.c: Likewise.
69683         * libio/iogetwline.c: Likewise.
69684         * libio/iopadn.c: Likewise.
69685         * libio/iopopen.c: Likewise.
69686         * libio/ioseekoff.c: Likewise.
69687         * libio/ioseekpos.c: Likewise.
69688         * libio/iosetbuffer.c: Likewise.
69689         * libio/iosetvbuf.c: Likewise.
69690         * libio/ioungetc.c: Likewise.
69691         * libio/ioungetwc.c: Likewise.
69692         * libio/iovdprintf.c: Likewise.
69693         * libio/iovsprintf.c: Likewise.
69694         * libio/iovsscanf.c: Likewise.
69695         * libio/memstream.c: Likewise.
69696         * libio/obprintf.c: Likewise.
69697         * libio/oldfileops.c: Likewise.
69698         * libio/oldiofclose.c: Likewise.
69699         * libio/oldiofdopen.c: Likewise.
69700         * libio/oldiofopen.c: Likewise.
69701         * libio/oldiopopen.c: Likewise.
69702         * libio/oldstdfiles.c: Likewise.
69703         * libio/putc.c: Likewise.
69704         * libio/setbuf.c: Likewise.
69705         * libio/setlinebuf.c: Likewise.
69706         * libio/stdfiles.c: Likewise.
69707         * libio/strops.c: Likewise.
69708         * libio/vasprintf.c: Likewise.
69709         * libio/vscanf.c: Likewise.
69710         * libio/vsnprintf.c: Likewise.
69711         * libio/vswprintf.c: Likewise.
69712         * libio/wfiledoalloc.c: Likewise.
69713         * libio/wfileops.c: Likewise.
69714         * libio/wgenops.c: Likewise.
69715         * libio/wmemstream.c: Likewise.
69716         * libio/wstrops.c: Likewise.
69717         * libio/__fpurge.c: Likewise.
69718         * libio/__fsetlocking.c: Likewise.
69719         * assert/assert.c: Likewise.
69720         * debug/fgets_chk.c: Likewise.
69721         * debug/fgets_u_chk.c: Likewise.
69722         * debug/fread_chk.c: Likewise.
69723         * debug/fread_u_chk.c: Likewise.
69724         * debug/gets_chk.c: Likewise.
69725         * debug/obprintf_chk.c: Likewise.
69726         * debug/vasprintf_chk.c: Likewise.
69727         * debug/vdprintf_chk.c: Likewise.
69728         * debug/vsnprintf_chk.c: Likewise.
69729         * debug/vsprintf_chk.c: Likewise.
69730         * malloc/mtrace.c: Likewise.
69731         * misc/error.c: Likewise.
69732         * misc/syslog.c: Likewise.
69733         * stdio-common/asprintf.c: Likewise.
69734         * stdio-common/fxprintf.c: Likewise.
69735         * stdio-common/getw.c: Likewise.
69736         * stdio-common/isoc99_fscanf.c: Likewise.
69737         * stdio-common/isoc99_scanf.c: Likewise.
69738         * stdio-common/isoc99_vfscanf.c: Likewise.
69739         * stdio-common/isoc99_vscanf.c: Likewise.
69740         * stdio-common/isoc99_vsscanf.c: Likewise.
69741         * stdio-common/printf-prs.c: Likewise.
69742         * stdio-common/printf_fp.c: Likewise.
69743         * stdio-common/printf_fphex.c: Likewise.
69744         * stdio-common/printf_size.c: Likewise.
69745         * stdio-common/putw.c: Likewise.
69746         * stdio-common/scanf.c: Likewise.
69747         * stdio-common/sprintf.c: Likewise.
69748         * stdio-common/tmpfile.c: Likewise.
69749         * stdio-common/vfprintf.c: Likewise.
69750         * stdio-common/vfscanf.c: Likewise.
69751         * stdlib/strfmon_l.c: Likewise.
69752         * sunrpc/openchild.c: Likewise.
69753         * sunrpc/xdr_stdio.c: Likewise.
69754         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69755         * sysdeps/mach/hurd/tmpfile.c: Likewise.
69757 2012-05-24  Roland McGrath  <roland@hack.frob.com>
69759         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69761         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69762         in the third column, to generate for the shared library an IFUNC
69763         that uses _dl_vdso_vsym.
69764         * Makerules (COMPILE.c, compile-stdin.c): New variables.
69765         * Makeconfig (object-suffixes-noshared): New variable.
69767         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69768         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69769         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69770         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69772         [BZ #14132]
69773         * include/sys/time.h (__gettimeofday): Remove macro.
69774         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69775         * time/gettimeofday.c (__gettimeofday): Remove #undef.
69776         Remove INTDEF.
69777         (__gettimeofday): Add libc_hidden_def.
69778         (gettimeofday): Add libc_hidden_weak.
69779         * sysdeps/mach/gettimeofday.c: Likewise.
69780         * sysdeps/posix/gettimeofday.c: Likewise.
69781         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69782         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69783         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69784         (__gettimeofday_internal): Remove strong_alias.
69785         (__gettimeofday): Add libc_hidden_def.
69786         (gettimeofday): Add libc_hidden_weak.
69787         * sysdeps/unix/syscalls.list (gettimeofday):
69788         Remove __gettimeofday_internal alias.
69790 2012-05-24  Daniel Jacobowitz  <drow@false.org>
69791             H.J. Lu  <hongjiu.lu@intel.com>
69793         [BZ #12495]
69794         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69795         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69796         (largebin_index_32_big): New.
69797         (largebin_index): Use it for 16-byte alignment.
69798         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
69799         correction with front_misalign.
69801 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69805         Likewise.
69806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69807         Likewise.
69808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69809         Likewise.
69810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69811         Likewise.
69812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69813         Likewise.
69814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69815         Likewise.
69816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69817         Likewise.
69818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69819         Likewise.
69820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69821         Likewise.
69822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69823         Likewise.
69824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69825         Likewise.
69826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69827         Likewise.
69829         * scripts/data/c++-types-x32-linux-gnu.data: New file.
69830         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69832 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69834         [BZ #10846]
69835         [BZ #14036]
69836         * math/libm-test.inc (exp_test): Add test from bug 14036.
69837         (pow_test): Add test from bug 10846.
69839         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69840         and other flags.
69841         (special_function): Do not include flags in test name.
69842         (parse_args): Likewise.
69843         * sysdeps/i386/fpu/libm-test-ulps: Update.
69844         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69845         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69846         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69849         * math/gen-libm-test.pl (%beautify): Add entries for underflow
69850         exceptions.
69851         * math/libm-test.inc ("Philosophy"): Update comment about
69852         exception testing.
69853         (UNDERFLOW_EXCEPTION): New macro.
69854         (UNDERFLOW_EXCEPTION_OK): Likewise.
69855         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69856         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69857         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69858         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69859         (INVALID_EXCEPTION_OK): Update value.
69860         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69861         (OVERFLOW_EXCEPTION_OK): Likewise.
69862         (IGNORE_ZERO_INF_SIGN): Likewise.
69863         (test_exceptions): Handle underflow exceptions.
69864         (acos_test): Update for underflow exception expectations.
69865         (cexp_test): Likewise.
69866         (clog_test): Likewise.
69867         (clog10_test): Likewise.
69868         (csqrt_test): Likewise.
69869         (ctan_test): Likewise.
69870         (ctanh_test): Likewise.
69871         (exp_test): Likewise.
69872         (exp10_test): Likewise.
69873         (exp2_test): Likewise.
69874         (expm1_test): Likewise.
69875         (fma_test): Likewise.
69876         (j0_test): Likewise.
69877         (jn_test): Likewise.
69878         (nexttoward_test): Likewise.
69879         (pow_test): Likewise.
69880         (scalbn_test): Likewise.
69881         (scalbln_test): Likewise.
69882         (tan_test): Likewise.
69883         (y1_test): Likewise.
69884         * sysdeps/i386/fpu/libm-test-ulps: Update.
69885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69887 2012-05-23  David S. Miller  <davem@davemloft.net>
69889         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69890         (__libc_sigaction): Remove unused local variables.
69892 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69894         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
69896 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
69898         mktime: avoid signed integer overflow
69899         * time/mktime.c (__mktime_internal): Do not mishandle the case
69900         where diff == INT_MIN.
69902         mktime: simplify computation of average
69903         * time/mktime.c (ranged_convert): Use new time_t_avg function
69904         instead of rolling our own (probably-slower) code.
69906         mktime: do not assume signed right shift propagates sign bit
69907         * time/mktime.c (isdst_differ): New static function.
69908         (__mktime_internal): No need to normalize tm_isdst now.
69909         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
69910         tm_isdst values.
69912         mktime: merge another wrapv change from gnulib
69913         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
69914         from some compilers.
69916         mktime: remove incorrect attempt at unusual arithmetics
69917         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
69918         The code didn't really work on such machines anyway.
69919         (TYPE_MINIMUM): Assume two's complement.
69920         (twos_complement_arithmetic): Verify that long_int and time_t
69921         are two's complement (or unsigned, in the latter case).
69923         mktime: check signed shifts on long_int and time_t, too
69924         * time/mktime.c (SHR): Check that shifts work as desired
69925         on the types long_int and time_t too, as SHR is used on
69926         such types.
69928         mktime: do not assume 'long' is wide enough
69929         * time/mktime.c (verify): Move decl up.
69930         (long_int): New type.
69931         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
69932         to remove assumption in the code that 'long' is wide enough to
69933         store year values.  This assumption is not true on x32 and on
69934         some non-glibc platforms.
69936         mktime: merge wrapv change from gnulib
69937         * time/mktime.c (WRAPV): New macro.
69938         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
69939         (guess_time_tm, __mktime_internal): Do not assume that signed
69940         integer overflow wraps around; modern compilers generate code
69941         where this assumption is no longer valid.
69943 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69945         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
69946         Replace "jmp L(pseudo_end)" with "ret".
69947         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
69948         Likewise.
69950 2012-05-23  Andreas Jaeger  <aj@suse.de>
69952         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
69953         * sysdeps/unix/sysv/linux/poll.c: Remove file.
69955 2012-05-23  Andreas Jaeger  <aj@suse.de>
69956             Maximilian Attems  <max@stro.at>
69958         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
69959         New macros.
69961 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69963         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
69964         code so that pseudo_end is just ret and the stack pointer is
69965         correct also for static library in error case.
69967 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
69969         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
69970         move to syscalls.list.
69971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
69972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
69973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
69974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
69976         * manual/install.texi (Running make install): Do not mention Linux
69977         kernel version for which pt_chown is not needed.
69978         (Linux): Do not mention problems with nscd with 2.0 kernels.
69979         * INSTALL: Regenerated.
69981 2012-05-23  Andreas Jaeger  <aj@suse.de>
69983         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
69984         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
69985         macro.
69986         * sysdeps/unix/sysv/linux/s390/bits/mman.h
69987         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69988         * sysdeps/unix/sysv/linux/sh/bits/mman.h
69989         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69990         * sysdeps/unix/sysv/linux/i386/bits/mman.h
69991         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69992         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
69993         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69994         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
69995         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69996         * sysdeps/unix/sysv/linux/bits/in.h
69997         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
69999 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70001         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70002         (PREPARE_VERSION): Just use assert instead, it will be elided
70003         under [NDEBUG] anyway.
70005 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70007         * sysdeps/unix/sysv/linux/Makefile: Include
70008         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70009         (sysdep_routines): Remove sysctl.
70010         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70011         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70012         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70013         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70014         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70016 2012-05-22  Andreas Jaeger  <aj@suse.de>
70018         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70019         that pseudo_end is just ret and the stack pointer is correct also
70020         for static library in error case.
70022 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70024         [BZ #14122]
70025         * nss/nsswitch.c (defconfig_entries): New variable.
70026         (__nss_database_lookup): Don't leak defconfig entries.
70027         (nss_parse_service_list): Don't leak on error paths.
70028         (free_database_entries): New function.
70029         (free_defconfig): New function.
70030         (free_mem): Move common code to free_database_entries.
70032 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70034         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70035         Add arch_prctl.
70036         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70038         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70039         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70040         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70041         New macro.
70042         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70043         (INTERNAL_SYSCALL_TYPES): Likewise.
70044         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70045         (LOAD_REGS_TYPES_[1-6]): Likewise.
70046         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70047         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70049 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70051         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70052         copysignl for GLIBC_2_0.
70053         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70054         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70055         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70056         logbl for GLIBC_2_0.
70057         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70058         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70060 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70062         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70063         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70065         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70066         Use "neg %eax".
70068         * time/mktime.c: Update copyright years.
70070 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70072         mktime: merge comment-quoting-style change from gnulib
70073         * time/mktime.c: Quote 'like this' in comments.
70074         The GNU coding standards suggest that we no longer quote `like this',
70075         as "`" and "'" are typically rendered asymmetrically nowadays.
70076         The typical gnulib style is to quote 'like this' when quoting
70077         code, and "like this" when quoting English.
70079         * time/mktime.c (compile-command): Add "-I.".
70081         mktime: merge mktime-internal.h change from gnulib
70082         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70084         mktime: merge time_r change from gnulib
70085         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70087         mktime: merge DEBUG change from gnulib
70088         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70089         case system <time.h> has a #define.
70091         mktime: merge <sys/types.h> change from gnulib
70092         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70093         since <time.t> is now guaranteed to define time_t.
70095         mktime: merge HAVE_CONFIG_H change from gnulib
70096         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70098 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70101         Use "neg %eax".
70103         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70104         __rlim_t cast.
70105         (struct rusage): Use anonymous union to pad each field to
70106         __syscall_slong_t.
70108 2012-05-21  David S. Miller  <davem@davemloft.net>
70110         * Makefules (o-iterator): Remove .s cases.
70111         (compile-command.s): Delete.
70112         (COMPILE.s): Delete.
70113         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70115 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
70117         * configure.in (libc_cv_predef_stack_protector): Only consider
70118         "foobar" and "__stack_chk_fail" lines in libc_undefs.
70119         * configure: Regenerated.
70121 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70124         New macro.  Use R*LP on int and pointer.
70125         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70126         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70127         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70128         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70130         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70131         [__WORDSIZE_TIME64_COMPAT32] instead of
70132         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70133         (struct utmp): Likewise.
70134         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70135         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70136         Renamed to ...
70137         (__WORDSIZE_TIME64_COMPAT32): This.
70138         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70139         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70140         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70141         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70142         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70143         (__WORDSIZE_TIME64_COMPAT32): New macro.
70145 2012-05-21  Andreas Jaeger  <aj@suse.de>
70147         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70148         only if [SHARED]. Add prototype for __wcschr_ia32.
70150 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70152         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70153         of %rbp unmolested in the jmp_buf while mangling the low bits.
70154         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70155         unmolested high bits of %rbp while demangling the low bits.
70156         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70158 2012-05-21  Andreas Jaeger  <aj@suse.de>
70160         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70161         * sunrpc/svc_simple.c: Use it for registerrpc.
70162         * sunrpc/xcrypt.c: Use it for passwd2des.
70164         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70166 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70168         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70169         Don't define if [__SYSCALL_WORDSIZE != 32].
70170         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70171         New macro.
70173 2012-05-21  Bruno Haible  <bruno@clisp.org>
70174             Andreas Jaeger  <aj@suse.de>
70176         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70177         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70178         inptr and inend for must_buffer_ch.
70179         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70180         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70181         * stdio-common/Makefile (tests): Remove bug15.
70182         (bug15-ENV): Remove macro.
70183         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70184         anymore.
70186 2012-05-19  Andreas Jaeger  <aj@suse.de>
70187             Roland McGrath  <roland@hack.frob.com>
70189         * manual/contrib.texi: Completely rewritten. It contains now an
70190         alphabetical list of contributors and their contributions.
70192 2012-05-21  Richard Henderson  <rth@twiddle.net>
70194         * misc/getauxval.c (__getauxval): Use unsigned long int.
70195         * misc/sys/auxv.h: Include <sys/cdefs.h>.
70196         (getauxval): Use unsigned long int.
70198 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70200         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70202 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70204         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70205         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70206         __alignof__ (long double).
70208 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70212 2012-05-20  Richard Henderson  <rth@twiddle.net>
70214         * misc/getauxval.c: New file.
70215         * misc/sys/auxv.h: New file.
70216         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70217         (routines): Add getauxval.
70218         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70219         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70220         * elf/dl-sysdep.c (_dl_auxv): Remove.
70221         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70222         * elf/dl-support.c (_dl_auxv): New variable.
70223         (_dl_aux_init): Initialize it.
70224         * manual/startup.texi (Auxiliary Vector): New node.
70225         * sysdeps/generic/bits/hwcap.h: New file.
70226         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70227         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
70228         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70229         * sysdeps/sparc/sysdep.h: ... here.  Include it.
70230         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70231         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70233         Update.
70234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70237         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70243 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70247 2012-05-19  David S. Miller  <davem@davemloft.net>
70249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70251 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70253         [BZ #14123]
70254         * math/s_ccosh.c: Include <float.h>
70255         (__ccosh): Avoid internal overflow calculating sinh and cosh
70256         values before multiplying by sin and cos values.
70257         * math/s_ccoshf.c: Likewise.
70258         * math/s_ccoshl.c: Likewise.
70259         * math/s_csin.c: Likewise.
70260         * math/s_csinf.c: Likewise.
70261         * math/s_csinl.c: Likewise.
70262         * math/s_csinh.c: Likewise.
70263         * math/s_csinhf.c: Likewise.
70264         * math/s_csinhl.c: Likewise.
70265         * math/libm-test.inc (ccos_test): Add more tests.
70266         (ccosh_test): Likewise.
70267         (csin_test): Likewise.
70268         (csinh_test): Likewise.
70269         * sysdeps/i386/fpu/libm-test-ulps: Update.
70270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70272 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
70274         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70275         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70277         * sysdeps/x86_64/x32/_itoa.h: Add comment.
70279 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70281         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70282         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70283         * sysdeps/powerpc/soft-fp/Versions: Likewise.
70284         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70285         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70286         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70287         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70288         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70289         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70290         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70291         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70292         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70293         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70294         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70295         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70296         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70297         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70298         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70299         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70300         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70301         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70302         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70303         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70304         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70305         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70306         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70307         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70308         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70309         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70310         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70311         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70313 2012-05-18  Andreas Jaeger  <aj@suse.de>
70315         * csu/.gitignore: Delete.
70317 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70319         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70320         (timex): Use __syscall_slong_t.
70322 2012-05-18  Andreas Jaeger  <aj@suse.de>
70323             Carlos O'Donell  <carlos_odonell@mentor.com>
70325         * manual/install.texi (Configuring and compiling): Update
70326         description about files modified in the source directory.
70327         * INSTALL: Regenerated.
70329 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70331         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70332         value.  Use "or" to set return value to -1.
70333         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70334         negate return value.
70336 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70338         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70339         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70340         failure if the compiler has Graphite support disabled.
70341         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70342         Likewise.
70343         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70344         (CFLAGS-memmove.c): Likewise.
70345         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70346         Likewise.
70348 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70350         * sysdeps/x86_64/x32/_itoa.h: New file.
70352         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70353         getdents system call only if kernel and user dirents have the
70354         same d_ino and d_off.
70356         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70357         LLONG_MAX != LONG_MAX.
70358         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70359         (_fitoa_word): Likewise.
70361         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70362         years.
70363         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70364         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70365         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70367         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70368         include <bits/wordsize.h>.  Check __x86_64__ instead of
70369         __WORDSIZE.
70370         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70371         if __x86_64__ is defined.  Use anonymous union on fpstate.
70373         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70374         anonymous union.
70376 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
70378         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70379         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70380         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70381         Refer to _rtld_local_ro instead of _rtld_global_ro.
70382         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70383         Likewise.
70384         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70385         Likewise.
70386         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70387         Likewise.
70388         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70389         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70390         of _rtld_global, and rtld_progname instead of _dl_argv[0].
70392         [BZ #10882]
70393         * sysdeps/powerpc/powerpc32/dl-machine.c
70394         (__elf_machine_runtime_setup) [PROF]: Don't reference
70395         _dl_prof_resolve.
70397 2012-05-18  Andreas Jaeger  <aj@suse.de>
70399         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70400         function only available for GCCs before 3.4 since GCC 3.4
70401         introduced a builtin.
70402         (lrint): Likewise.
70403         (llrintf): Likewise.
70404         (llrint): Likewise.
70405         (fmaxf): Likewise.
70406         (fmax): Likewise.
70407         (fminf): Likewise.
70408         (fmin): Likewise.
70409         (rint): Likewise.
70410         (rintf): Likewise.
70411         (nearbyint): Likewise.
70412         (nearbyintf): Likewise.
70413         (ceil): Likewise.
70414         (ceilf): Likewise.
70415         (floor): Likewise.
70416         (floorf): Likewise.
70418 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70420         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70421         on both fields and cast pointer to __syscall_ulong_t.
70423         * bits/types.h (__fsword_t): New type.
70424         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70425         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70426         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70427         (__FSWORD_T_TYPE): Likewise.
70428         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70429         (__FSWORD_T_TYPE): Likewise.
70430         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70431         (__FSWORD_T_TYPE): Likewise.
70432         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70433         (__FSWORD_T_TYPE): Likewise.
70434         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70435         __SWORD_TYPE with __fsword_t.
70436         (statfs64): Likewise.
70438 2012-05-17  David S. Miller  <davem@davemloft.net>
70440         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70442 2012-05-17  Andreas Jaeger  <aj@suse.de>
70444         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70445         warning.
70447 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70449         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70451 2012-05-17  Andreas Jaeger  <aj@suse.de>
70453         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70454         when it is used.
70456 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70458         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70460 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70462         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70463         * sysdeps/x86_64/tst-mallocalign1.c: New file.
70465 2012-05-17  Andreas Jaeger  <aj@suse.de>
70466             Carlos O'Donell  <carlos_odonell@mentor.com>
70468         [BZ #14059]
70469         * sysdeps/x86_64/multiarch/init-arch.h
70470         (bit_YMM_Usable): Rename to...
70471         (bit_AVX_Usable): ... this.
70472         (bit_FMA4_Usable): New macro.
70473         (bit_XMM_state): New macro.
70474         (bit_YMM_state): New macro.
70475         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70476         [__ASSEMBLER__] (index_AVX_Usable): ... this.
70477         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70478         (CPUID_OSXSAVE): New macro.
70479         (CPUID_AVX): New macro.
70480         (CPUID_FMA4): New macro.
70481         (index_YMM_Usable): Rename to...
70482         (index_AVX_Usable): ... this.
70483         (HAS_AVX): Use HAS_ARCH_FEATURE.
70484         (HAS_FMA4): Likewise.
70485         (HAS_YMM_USABLE): Remove.
70486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70487         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70488         are present.
70489         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70490         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70491         * sysdeps/x86_64/multiarch/Makefile: Likewise.
70492         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70493         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70495 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70497         * math/libm-test.c: Support platforms without multiple rounding modes.
70498         * math/bug-nextafter.c: Support platforms without FP exceptions.
70499         * math/bug-nexttoward.c: Likewise.
70500         * math/test-fenv.c: Likewise.
70501         * math/test-misc.c: Likewise.
70502         * stdlib/bug-getcontext.c: Likewise.
70504 2012-05-17  Andreas Jaeger  <aj@suse.de>
70506         * manual/examples/search.c (critter_cmp): Change signature to
70507         avoid warnings.
70508         * manual/string.texi (Collation Functions): Likewise.
70510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70512         * bits/types.h: Fold copyright years.
70513         * bits/typesizes.h: Likewise.
70514         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70517         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70518         * time/time.h: Likewise.
70520 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
70522         [BZ #208]
70523         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70524         in instead of returning them.  Return void.
70525         (__libc_mallinfo): Accumulate over all arenas.
70526         (__malloc_stats): Adjust for change in int_mallinfo interface.
70528 2012-05-16  Roland McGrath  <roland@hack.frob.com>
70530         [BZ #10375]
70531         * configure.in (NM): Add AC_CHECK_TOOL for it.
70532         (libc_extra_cflags): New substituted variable.
70533         Check for -fstack-protector being used implicitly.
70534         * configure: Regenerated.
70535         * config.make.in (config-extra-cflags): New variable,
70536         gets @libc_extra_cflags@.
70537         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70539         [BZ #10375]
70540         * configure.in: Check for _FORTIFY_SOURCE being predefined.
70541         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70542         * configure: Regenerated.
70543         * config.make.in (CPPUNDEFS): New substituted variable.
70544         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70545         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70546         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70548 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70550         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70551         (mq_attr): Use __syscall_slong_t.
70553 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70555         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70556         Check __x86_64__ instead of __WORDSIZE.
70557         (_STAT_VER_LINUX): Likewise.
70558         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
70559         __syscall_ulong_t and __syscall_slong_t.
70560         (stat64): Likewise.
70562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70564         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70566 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70568         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70570 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70572         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70573         __syscall_ulong_t.
70575         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70576         include <bits/wordsize.h>.  Check __x86_64__ instead of
70577         __WORDSIZE.
70578         (greg_t): Use "__extension__ long long int" if __x86_64__ is
70579         defined.
70580         (mcontext_t): Replace "unsigned long" with "unsigned long long".
70582         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70583         include <bits/wordsize.h>.  Check __x86_64__ instead of
70584         __WORDSIZE.
70585         (user_regs_struct): Use "__extension__ unsigned long long"
70586         instead of "unsigned long" if __x86_64__ is defined.
70587         (user): Likewise.  Pad after pointer field if __ILP32__ is
70588         defined.
70590 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
70592         * configure.in (makeinfo): Require version 4.5 or later.  Allow
70593         versions 5 to 9.
70594         * configure: Regenerated.
70595         * manual/install.texi (texinfo): Increase version requirement to
70596         4.5 or later.
70597         * INSTALL: Regenerated.
70599         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70603         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70605         * sysdeps/x86_64/x32/ffs.c: New file.
70607         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70608         __syscall_ulong_t.
70609         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70610         defined.  Use __syscall_ulong_t.
70611         (shminfo): Use __syscall_ulong_t.
70612         (shm_info): Likewise.
70614         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70615         __syscall_ulong_t.
70617         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70618         <bits/wordsize.h>.
70619         (msgqnum_t): Use __syscall_ulong_t.
70620         (msglen_t): Likewise.
70621         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
70622         __syscall_ulong_t.
70624         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70625         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70627         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70629         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70630         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70632         * sysvipc/sys/msg.h (msgbuf): Replace long int with
70633         __syscall_slong_t.
70635         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70636         include <bits/wordsize.h>.  Check __x86_64__ instead of
70637         __WORDSIZE.
70639         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70640         "unsigned long long int" if __x86_64__ is defined.
70641         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70643         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70644         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70645         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70647         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70648         <stdint.h>.
70649         (GET_PC): Cast to uintptr_t first.
70650         (GET_FRAME): Likewise.
70651         (GET_STACK): Likewise.
70653         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70654         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70655         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70656         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70657         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70658         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70659         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70660         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70661         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70662         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70663         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70664         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70665         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70666         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70667         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70668         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70669         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70670         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70671         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70673         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70674         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70675         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70676         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70677         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70678         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70679         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70680         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70681         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70683 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
70685         * Makerules (+depfiles): Also collect depfiles from .oS in
70686         $(extra-objs).
70687         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70688         .oS, $(libnldbl-routines)).
70690         * Makerules (native-compile-mkdep-flags): Define.
70691         * sunrpc/Makefile (extra-objs): Add $(addprefix
70692         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70693         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70694         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
70695         calling $(make-target-directory).
70697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70699         * bits/types.h (__snseconds_t): Removed.
70700         * time/time.h (struct timespec): Replace __snseconds_t with
70701         __syscall_slong_t.
70702         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70703         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70704         Likewise.
70705         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70706         (__SNSECONDS_T_TYPE): Likewise.
70707         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70708         (__SNSECONDS_T_TYPE): Likewise.
70709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70710         (__SNSECONDS_T_TYPE): Likewise.
70712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70714         * sysdeps/mach/hurd/bits/typesizes.h
70715         (__SYSCALL_SLONG_TYPE): New macro.
70716         (__SYSCALL_ULONG_TYPE): Likewise.
70718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70720         * bits/types.h (__syscall_slong_t): New type.
70721         (__syscall_ulong_t): Likewise.
70723         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70724         (__SYSCALL_ULONG_TYPE): Likewise.
70725         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70726         (__SYSCALL_SLONG_TYPE): Likewise.
70727         (__SYSCALL_ULONG_TYPE): Likewise.
70728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70729         (__SYSCALL_SLONG_TYPE): Likewise.
70730         (__SYSCALL_ULONG_TYPE): Likewise.
70731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70732         (__SYSCALL_SLONG_TYPE): Likewise.
70733         (__SYSCALL_ULONG_TYPE): Likewise.
70735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70737         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70738         Add sigaltstack-offsets.sym.
70739         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70740         <sigaltstack-offsets.h>.
70741         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
70742         longjmp_msg pointer.
70743         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
70744         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70745         signal stack.
70746         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70748 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70750         * elf/stackguard-macros.h: Remove file.
70751         * sysdeps/generic/stackguard-macros.h: New file.
70752         * sysdeps/i386/stackguard-macros.h: Likewise.
70753         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70754         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70755         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70756         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70757         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70758         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70759         * sysdeps/x86_64/stackguard-macros.h: Likewise.
70760         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70761         <elf/stackguard-macros.h>.
70763         [BZ #14109]
70764         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70765         __aligned__ in attribute.
70766         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70767         (gregset_t): Likewise.
70769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70771         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70772         * sysdeps/x86_64/64/Implies-after: Here.  New file.
70773         * sysdeps/x86_64/x32/Implies-after: New file.
70775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70777         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70778         and access return value for _dl_profile_fixup.  Use R10_LP to
70779         load frame size.
70781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70783         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70787         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70788         * sysdeps/x86_64/x32/sysdep.h: New file.
70790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70792         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70793         * sysdeps/x86_64/setjmp.S: Likewise.
70795 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70797         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70798         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70799         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70800         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70801         remove unused global constant.
70803 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
70805         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70806         include of <not-cancel.h>.
70808 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70810         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70812 2012-05-15  Jeff Law  <law@redhat.com>
70813             Andreas Jaeger  <aj@suse.de>
70815         [BZ #13594]
70816         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70817         out from...
70818         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70819         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70820         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70821         code changing __hst_map_handle.map.
70823 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70825         * configure.in (sysnames): Look for Implies-before and Implies-after
70826         files.
70827         * configure: Regenerated.
70829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70831         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70832         8-byte data alignment with LP_SIZE alignment.
70834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70836         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70837         into R10_LP.
70839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70841         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70845         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70846         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70847         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70848         Likewise.
70849         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70853         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70854         (stackinfo_sub_sp): Likewise.
70856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70858         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70859         RAX_LP.
70861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70863         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70864         into R*_LP.
70866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70868         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70869         sizes into R*_LP.
70871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70873         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
70875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70877         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
70878         into R11_LP and load __x86_64_shared_cache_size_half into
70879         R8_LP.
70881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70883         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
70884         R8_LP.
70886 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
70889         logb for POWER7.
70890         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
70891         logbf for POWER7.
70892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
70893         logbl for POWER7.
70894         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
70895         powerpc32/power7/fpu/s_logb.c via #include.
70896         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
70897         powerpc32/power7/fpu/s_logbf.c via #include.
70898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
70899         powerpc32/power7/fpu/s_logbl.c via #include.
70901 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70903         * README.libm: Remove file.
70905 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70907         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
70908         count for x32.  Use R*_LP and omit operand-size suffix.
70910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70912         * shlib-versions: Move x86_64-.*-linux.* entries to ...
70913         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
70914         * sysdeps/x86_64/x32/shlib-versions: New file.
70916 2012-05-14  Roland McGrath  <roland@hack.frob.com>
70918         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
70919         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
70920         Use _dl_fatal_printf instead.
70922 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
70924         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
70925         set if not set by the user.  Do not allow for being unset.
70926         * sysdeps/unix/sysv/linux/configure: Regenerated.
70928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70930         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
70931         the `q' suffix from lea and replace .quad with ASM_ADDR.
70933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
70936         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
70937         instead of $17.
70938         (PTR_DEMANGLE): Likewise.
70940 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70942         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
70943         (LP_OP): Likewise.
70944         (ASM_ADDR): Likewise.
70945         (RAX_LP): Likewise.
70946         (RBP_LP): Likewise.
70947         (RBX_LP): Likewise.
70948         (RCX_LP): Likewise.
70949         (RDI_LP): Likewise.
70950         (RSI_LP): Likewise.
70951         (RSP_LP): Likewise.
70952         (R8_LP): Likewise.
70953         (R9_LP): Likewise.
70954         (R10_LP): Likewise.
70955         (R10_LP): Likewise.
70956         (R11_LP): Likewise.
70957         (R12_LP): Likewise.
70958         (R13_LP): Likewise.
70959         (R14_LP): Likewise.
70960         (R15_LP): Likewise.
70962 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70964         * sysdeps/x86_64/x32/dl-machine.h: New file.
70966 2012-05-14  Andreas Jaeger  <aj@suse.de>
70968         * manual/Makefile (subdir): Remove export of subdir.
70969         (all): Remove target.
70970         (.PHONY): Remove all from list.
70971         (mkinstalldirs): Remove.
70972         (.PHONY): Remove installdirs from list.
70973         ($(inst_infodir)/libc.info): Use make-target-directory.
70974         (installdirs): Remove.
70975         (subdir_%): Remove.
70976         (glibc-targets): Remove.
70977         (lib): Remove.
70978         (stubs): Remove.
70979         ($(objpfx)stubs ../po/manual.pot): Remove.
70980         ($(objpfx)stamp%): Remove.
70981         (make-target-directory): Remove.
70982         (subdir_install): Remove.
70983         (routines): Remove.
70984         (aux): Remove.
70985         (sources): Remove.
70986         (objects): Remove.
70987         (headers): Remove.
70989         [BZ #13750]
70990         * manual/.gitignore: Remove, it's not needed anymore.
70991         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
70992         all files in it.
70993         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
70994         directory.
70995         (texis): Renamed to $(objpfx)texis.
70996         (texis-path): New, contains path to generated files.
70997         (chapters.%): Use texis-path for complete path, add extra argument
70998         libc-texinfo.sh.
70999         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71000         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71001         (summary,texi, stamp-summary): Use complete path of
71002         files. Generate files in build dir.
71003         (dir-add.texi): Build in build dir.
71004         (libm-err.texi,stamp-libm-err): Likewise.
71005         (version.texi, stamp-version): Likewise.
71006         (.%c.texi): Likewise.
71007         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71008         (mostlyclean): Remove target.
71009         (realclean): Remove target.
71010         (generated): Add new variable with contents from mostlyclean and
71011         realclean, remove entries duplicated in common-mostlyclean, add
71012         stamp-libm-err and stamp-version.
71013         (generated-dirs): Add libc directory.
71014         ($(inst_infodir)/libc.info): Install files from build dir.
71016         * manual/install.texi (Configuring and compiling): Adjust since
71017         the info files are not part of the tar ball anymore.
71019 2012-05-14  Andreas Jaeger  <aj@suse.de>
71021         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71022         variable.
71024 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71026         [BZ #13717]
71027         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71028         to 2.2.0 where earlier.
71029         * sysdeps/unix/sysv/linux/configure: Regenerated.
71030         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71031         Remove conditional code.
71032         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71033         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71034         Remove conditional code.
71035         [!__NR_lchown]: Likewise.
71036         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71037         [__NR_lchown]: Likewise.
71038         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71039         comment referencing __ASSUME_LCHOWN_SYSCALL.
71040         * sysdeps/unix/sysv/linux/i386/sigaction.c
71041         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71042         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71043         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71044         Remove conditional code.
71045         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71046         (__protocol_available): Remove #if 0 code.
71047         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71048         conditional code.
71049         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71050         * sysdeps/unix/sysv/linux/kernel-features.h
71051         (__ASSUME_GETCWD_SYSCALL): Don't define.
71052         (__ASSUME_REALTIME_SIGNALS): Likewise.
71053         (__ASSUME_PREAD_SYSCALL): Likewise.
71054         (__ASSUME_PWRITE_SYSCALL): Likewise.
71055         (__ASSUME_POLL_SYSCALL): Likewise.
71056         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71057         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71058         non-SPARC.
71059         (__ASSUME_SIOCGIFNAME): Don't define.
71060         (__ASSUME_MSG_NOSIGNAL): Likewise.
71061         (__ASSUME_SENDFILE): Define unconditionally.
71062         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71063         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71064         conditional code.
71065         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71066         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71067         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71068         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71069         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71070         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71071         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71073         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71076         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71079         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71082         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71085         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71088         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71091         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71094         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71096         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71097         Remove conditional code.
71098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71099         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71100         Remove conditional code.
71101         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71102         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71103         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71104         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71105         Remove conditional code.
71106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71107         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71108         Remove conditional code.
71109         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71110         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71111         Remove conditional code.
71112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71113         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71114         Remove conditional code.
71115         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71116         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71117         Remove conditional code.
71118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71119         * sysdeps/unix/sysv/linux/sh/pwrite64.c
71120         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71121         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71122         * sysdeps/unix/sysv/linux/sigaction.c
71123         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71124         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71125         * sysdeps/unix/sysv/linux/sigpending.c
71126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71128         * sysdeps/unix/sysv/linux/sigprocmask.c
71129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71131         * sysdeps/unix/sysv/linux/sigsuspend.c
71132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71134         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71135         (__libc_missing_rt_sigs): Remove.
71136         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71137         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71138         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71139         Remove conditional code.
71140         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71141         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71142         return 1.
71143         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71144         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71145         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71146         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71148 2012-05-14  Andreas Jaeger  <aj@suse.de>
71150         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71151         it's not used in glibc.
71152         (__coshm1): Likewise.
71153         (__acosh1p): Likewise.
71154         (__sgn): Likewise.
71156         * manual/string.texi (Copying and Concatenation): Add missing
71157         variable in concat example.
71158         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71160 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71162         [BZ #14103]
71163         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71164         __builtin_clzl with __builtin_clzll.
71166 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71168         [BZ #14104]
71169         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71170         libc_freeres_ptr.
71172 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71174         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71175         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71176         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71177         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71179 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
71181         * NEWS: Update ia64 info.
71183 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
71185         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71186         used as bcopy.
71188 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
71190         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71191         * sysdeps/unix/syscalls.list (dup3): Likewise.
71192         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71193         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71195 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71197         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71198         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71200 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71202         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71203         thread pointer.
71204         (TLS_IE): Use mov/add instead of movq/addq to load thread
71205         pointer.
71206         (TLS_GD_PREFIX): New.
71207         (TLS_GD): Use it.
71209 2012-05-11  David S. Miller  <davem@davemloft.net>
71211         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71212         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71213         (_FPU_SETCW): Likewise.
71215 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71217         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71218         is 32-byte aligned.
71220 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
71222         [BZ #11837]
71223         * iconvdata/gb18030.c: Update tables.
71224         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
71225         characters specially.
71226         (BODY for TO_LOOP): Add encoding of missing ranges.
71228 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
71230         [BZ #13673]
71231         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71232         * sysdeps/mach/hurd/dup3.c: Likewise.
71233         * sysdeps/mach/hurd/readlinkat.c: Likewise.
71234         * sysdeps/powerpc/memmove.c:: Likewise.
71236 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71238         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71239         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71241 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71243         * elf/elf.h (R_X86_64_RELATIVE64): New.
71244         (R_X86_64_NUM): Updated.
71245         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71246         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
71247         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71248         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71249         tst-quad1pie tst-quad2pie
71250         (modules-names): Add tst-quadmod1 tst-quadmod2.
71251         ($(objpfx)tst-quad1): New dependency.
71252         ($(objpfx)tst-quad2): Likewise.
71253         ($(objpfx)tst-quad1pie): Likewise.
71254         ($(objpfx)tst-quad2pie): Likewise.
71255         * sysdeps/x86_64/tst-quad1.c: New file.
71256         * sysdeps/x86_64/tst-quad1pie.c: New file.
71257         * sysdeps/x86_64/tst-quad2.c: Likewise.
71258         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71259         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71260         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71261         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71262         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71266         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71267         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71268         * streams/stropts.h (t_scalar_t): Define type.
71270         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71271         (_PATH_PRESERVE): Set to "/var/lib".
71272         (_PATH_RWHODIR): Set to "/var/spool/rwho".
71274         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71275         instead of int.
71277         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71278         if __dir_mkfile succeeded.
71280         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71281         checking for _hurd_dtablesize.  Unlock it right after having
71282         finished _hurd_dtable allocation.
71284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71286         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71287         * sysdeps/mach/hurd/configure: Regenerated.
71288         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71289         special-casing to...
71290         * sysdeps/gnu/configure.in: ... this new file.
71291         * sysdeps/unix/sysv/linux/configure: Regenerated.
71292         * sysdeps/gnu/configure: New generated file.
71294         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71295         for Linux: use nsec instead of usec, as well as:
71296         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71297         members of type struct timespec.
71298         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71299         New macros.
71300         (struct stat64): Likewise.
71301         (_STATBUF_ST_NSEC): New macro.
71302         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71304         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71305         __strtoul_internal rather than strtoul.
71307 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71309         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71310         and reject them.
71312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71314         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71315         which preserves existing values.
71316         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71318 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71320         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71321         TIMEOUT values.  Return EINVAL for NFDS values either negative or
71322         greater than FD_SETSIZE.
71324 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71326         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71327         allocated, call __vm_protect to finish enabling the existing space, and
71328         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71329         allocate the remainder.
71331 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71333         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71334         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
71336 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71338         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71339         sysdeps/mach/hurd/readlink.c.
71341         * posix/tst-sysconf.c (posix_options): Only use
71342         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71343         _POSIX_SYNCHRONIZED_IO when they are defined
71344         * sysdeps/mach/hurd/bits/posix_opt.h:
71345         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71346         (_XOPEN_REALTIME): Undefine macro.
71347         (_XOPEN_REALTIME_THREADS): Undefine macro.
71348         (_XOPEN_SHM): Undefine macro.
71349         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71350         macro to -1.
71351         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71352         macro to -1.
71353         (_POSIX_ASYNC_IO): Undefine macro.
71354         (_POSIX_PRIORITIZED_IO): Undefine macro.
71355         (_POSIX_SPIN_LOCKS): Define macro to -1.
71357         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71358         SA_NODEFER, SA_RESETHAND.
71359         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71360         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71361         F_DUPFD_CLOEXEC.
71363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71365         * elf/Makefile (pldd-modules): Define unconditionally.
71367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71369         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71373         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71374         Return ENOENT when name is empty.
71375         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71377 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71379         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71381         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71383 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71385         Fix mlock in all cases except non-readable pages.
71386         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71387         instead of VM_PROT_ALL as parameter to __vm_wire function.
71389         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71390         (__mkdir): When path is `/', just fail with EEXIST.
71391         * sysdeps/mach/hurd/mkdirat.c: Likewise.
71393 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71395         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71396         <sys/uio.h> (for writev).
71397         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71398         and <sys/param.h> (for MIN).
71400 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71402         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71403         REQUESTED_TIME.  Properly set the remaining time and return EINTR
71404         if interrupted.
71406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71408         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71409         Depend on against $(link-rpcuserlibs).
71411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71413         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71414         (__libc_stack_end): Do not use attribute_relro.
71415         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71416         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71417         to libthread-provided value.
71418         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71419         attribute_relro.
71421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71423         [BZ #3748]
71424         * bits/libc-lock.h (__libc_once_get): New macro.
71425         * sysdeps/mach/bits/libc-lock.h: Likewise.
71426         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71427         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71428         instead of using implementation details.
71430         * libio/fileops.c: Unconditionally include <kernel-features.h>.
71431         * libio/freopen.c: Likewise.
71432         * libio/freopen64.c: Likewise.
71433         * misc/syslog.c: Likewise.
71434         * nscd/connections.c: Likewise.
71435         * nscd/netgroupcache.c: Likewise.
71436         * sysdeps/posix/getcwd.c: Likewise.
71438 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71440         * math/w_ilogbf.c: Add #include <limits.h>.
71442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71444         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71445         path instead of returning without unlocking.
71447         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71448         immediate-write ioctls.
71449         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71453         * sysdeps/mach/hurd/i386/init-first.c (init): Use
71454         __builtin_frame_address instead of making assumptions about the
71455         location of the return address relative to DATA.  Force early load of
71456         the return address.
71457         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71458         __builtin_frame_address.
71460         dup3 for GNU Hurd.
71461         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71462         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
71463         implement dup3 and do some further code clean-ups.
71464         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71465         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71469         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71471         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71472         HURD_CRITICAL_END around holding _hurd_dtable_lock.
71473         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71474         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71475         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71476         d->port.lock.
71478         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71479         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
71480         when handler == SIG_ERR, not when handler != SIG_ERR.
71482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71484         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71485         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71486         definitions.
71488         accept4 for GNU Hurd.
71489         * include/sys/socket.h (__libc_accept4): New prototype.
71490         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
71491         to implement __libc_accept4.
71492         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71493         __libc_accept4.
71494         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71496         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71497         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71498         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71499         signal-defines.sym.
71501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71503         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71505 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71507         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71508         assertion on O_CLOEXEC flag.
71509         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71510         * hurd/intern-fd.c: Likewise.
71511         * hurd/port2fd.c: Likewise.
71513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71515         [BZ #3906]
71516         * bits/in.h (IPV6_PKTINFO): Define new macro.
71517         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71519 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71521         [BZ #13954]
71522         [BZ #13955]
71523         [BZ #13956]
71524         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71526         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71527         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71529         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71530         * math/libm-test.inc (logb_test) : Additional logb tests.
71532 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
71533             Andreas Jaeger  <aj@suse.de>
71535         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71536         * configure: Regenerated.
71537         * config.h.in (LINK_OBSOLETE_RPC): New macro.
71538         * config.make.in (link-obsolete-rpc): New substituted variable.
71539         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71540         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71541         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71542         (shared-only-routines): Don't set it under [link-obsolete-rpc],
71543         so that libc.a contains the symbols.
71544         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71545         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71546         * sunrpc/auth_none.c: Likewise.
71547         * sunrpc/auth_unix.c: Likewise.
71548         * sunrpc/authdes_prot.c: Likewise.
71549         * sunrpc/authuxprot.c: Likewise.
71550         * sunrpc/clnt_gen.c: Likewise.
71551         * sunrpc/clnt_perr.c: Likewise.
71552         * sunrpc/clnt_raw.c: Likewise.
71553         * sunrpc/clnt_simp.c: Likewise.
71554         * sunrpc/clnt_tcp.c: Likewise.
71555         * sunrpc/clnt_udp.c: Likewise.
71556         * sunrpc/clnt_unix.c: Likewise.
71557         * sunrpc/des_crypt.c: Likewise.
71558         * sunrpc/des_soft.c: Likewise.
71559         * sunrpc/get_myaddr.c: Likewise.
71560         * sunrpc/key_call.c: Likewise.
71561         * sunrpc/key_prot.c: Likewise.
71562         * sunrpc/netname.c: Likewise.
71563         * sunrpc/pm_getmaps.c: Likewise.
71564         * sunrpc/pm_getport.c: Likewise.
71565         * sunrpc/pmap_clnt.c: Likewise.
71566         * sunrpc/pmap_prot.c: Likewise.
71567         * sunrpc/pmap_prot2.c: Likewise.
71568         * sunrpc/pmap_rmt.c: Likewise.
71569         * sunrpc/publickey.c: Likewise.
71570         * sunrpc/rpc_cmsg.c: Likewise.
71571         * sunrpc/rpc_common.c: Likewise.
71572         * sunrpc/rpc_dtable.c: Likewise.
71573         * sunrpc/rpc_prot.c: Likewise.
71574         * sunrpc/rpc_thread.c: Likewise.
71575         * sunrpc/rtime.c: Likewise.
71576         * sunrpc/svc.c: Likewise.
71577         * sunrpc/svc_auth.c: Likewise.
71578         * sunrpc/svc_raw.c: Likewise.
71579         * sunrpc/svc_run.c: Likewise.
71580         * sunrpc/svc_tcp.c: Likewise.
71581         * sunrpc/svc_udp.c: Likewise.
71582         * sunrpc/svc_unix.c: Likewise.
71583         * sunrpc/svcauth_des.c: Likewise.
71584         * sunrpc/xcrypt.c: Likewise.
71585         * sunrpc/xdr.c: Likewise.
71586         * sunrpc/xdr_array.c: Likewise.
71587         * sunrpc/xdr_float.c: Likewise.
71588         * sunrpc/xdr_intXX_t.c: Likewise.
71589         * sunrpc/xdr_mem.c: Likewise.
71590         * sunrpc/xdr_rec.c: Likewise.
71591         * sunrpc/xdr_ref.c: Likewise.
71592         * sunrpc/xdr_sizeof.c: Likewise.
71593         * sunrpc/xdr_stdio.c: Likewise.
71595 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71597         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71598         change.  Update copyright years.
71600 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71602         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71604 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
71605             Joseph Myers  <joseph@codesourcery.com>
71606             Paul Pluzhnikov  <ppluzhnikov@google.com>
71608         [BZ #14012]
71609         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71610         requiring rpcgen.
71611         [cross-compiling] (extra-libs): Likewise.
71612         [cross-compiling] (extra-libs-others): Likewise.
71613         [cross-compiling] (librpcsvc-routines): Likewise.
71614         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71615         [cross-compiling] (omit-deps): Likewise.
71616         (sunrpc-CPPFLAGS): New variable.
71617         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71618         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71619         (cross-rpcgen-objs): New variable.
71620         (extra-objs): Append $(cross-rpcgen-objs).
71621         ($(cross-rpcgen-objs)): New rule.
71622         ($(objpfx)cross-rpcgen): Likewise.
71623         (rpcgen-cmd): Define to use $(built-program-file).  Expand
71624         comment.
71625         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71626         ($(objpfx)x%.stmp): Likewise.
71627         * sunrpc/proto.h [IS_IN_build] (_): Define.
71628         [IS_IN_build] (_libc_intl_domainname): Likewise.
71630 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71633         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71634         and R_X86_64_TPOFF64.
71636 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71638         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71639         sysdeps/unix/sysv/syscalls.list.
71640         (stime): Likewise.
71641         (utime): Likewise.
71642         * sysdeps/unix/sysv/syscalls.list: Remove file.
71644 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
71646         [BZ #3440]
71647         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71648         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71649         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71650         (__LC_IDENTIFICATION): Make these macros useful in #if
71651         expressions, as required by C99.
71653 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
71655         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71656         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
71657         after this.
71659 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
71661         * stdlib/longlong.h: Updated from GCC.
71663 2012-05-09  Andreas Jaeger  <aj@suse.de>
71665         * nscd/nscd.c (run_modes): Make named enum, reorder so that
71666         default is first entry.
71667         (run_mode): Set type.
71668         (main): Remove informal message about syslog.
71669         (options): Fix typo.
71671         [BZ #14053]
71672         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71673         to asm.
71674         (lrint): Likewise.
71675         (llrintf): Likewise.
71676         (llrint): Likewise.
71677         (rint): Likewise.
71678         (rintf): Likewise.
71679         (nearbyint): Likewise.
71680         (nearbyintf): Likewise.
71682 2012-05-09  Andreas Jaeger  <aj@suse.de>
71683             Pedro Alves  <palves@redhat.com>
71685         * nscd/nscd.c (run_mode): Use enum.
71686         (main): Cleanup coding style issue.
71688 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
71689             Andreas Jaeger  <aj@suse.de>
71691         * nscd/nscd.c (go_background): Replaced with...
71692         (run_mode): ... this.
71693         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71694         (options): Add -F --foreground.
71695         (main): Implement it.
71696         (parse_opt): Parse it.
71698 2012-05-09  Andreas Jaeger  <aj@suse.de>
71700         [BZ #14083]
71701         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71702         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71703         -Wconversion warning.
71704         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71705         Likewise.
71707 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
71709         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
71710         == 0.
71711         (LC_ALL): Use macro-int-constant.
71712         (LC_COLLATE): Likewise.
71713         (LC_CTYPE): Likewise.
71714         (LC_MESSAGES): Likewise.
71715         (LC_MONETARY): Likewise.
71716         (LC_NUMERIC): Likewise.
71717         (LC_TIME): Likewise.
71718         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71719         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71721         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71722         Specify type.
71723         [C99-based standards] (float_t): Expect type.
71724         [C99-based standards] (double_t): Expect type.
71725         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
71726         type.
71727         [C99-based standards] (HUGE_VALL): Likewise.
71728         [C99-based standards] (INFINITY): Likewise.
71729         [C99-based standards] (NAN): Likewise.
71730         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71731         [C99-based standards] (FP_NAN): Likewise.
71732         [C99-based standards] (FP_NORMAL): Likewise.
71733         [C99-based standards] (FP_SUBNORMAL): Likewise.
71734         [C99-based standards] (FP_ZERO): Likewise.
71735         [C99-based standards] (FP_FAST_FMA): Use
71736         optional-macro-int-constant.  Specify type.  Require == 1.
71737         [C99-based standards] (FP_FAST_FMAF): Likewise.
71738         [C99-based standards] (FP_FAST_FMAL): Likewise.
71739         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71740         [C99-based standards] (FP_ILOGBNAN): Likewise.
71741         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71742         Specify type.
71743         [C99-based standards] (MATH_ERREXCEPT): Likewise.
71744         [C99-based standards] (math_errhandling): Specify type.
71745         [ISO99 || ISO11] (signgam): Do not allow.
71746         [non-C99-based standards] (copysignf): Do not allow.
71747         [non-C99-based standards] (exp2f): Likewise.
71748         [non-C99-based standards] (log2f): Likewise.
71749         [non-C99-based standards] (modff): Allow.
71750         [non-C99-based standards] (erff): Do not allow.
71751         [non-C99-based standards] (erfcf): Likewise.
71752         [non-C99-based standards] (gammaf): Likewise.
71753         [non-C99-based standards] (hypotf): Likewise.
71754         [non-C99-based standards] (j0f): Likewise.
71755         [non-C99-based standards] (j1f): Likewise.
71756         [non-C99-based standards] (jnf): Likewise.
71757         [non-C99-based standards] (lgammaf): Likewise.
71758         [non-C99-based standards] (tgammaf): Likewise.
71759         [non-C99-based standards] (y0f): Likewise.
71760         [non-C99-based standards] (y1f): Likewise.
71761         [non-C99-based standards] (ynf): Likewise.
71762         [non-C99-based standards] (isnanf): Likewise.
71763         [non-C99-based standards] (acoshf): Likewise.
71764         [non-C99-based standards] (asinhf): Likewise.
71765         [non-C99-based standards] (atanhf): Likewise.
71766         [non-C99-based standards] (cbrtf): Likewise.
71767         [non-C99-based standards] (expm1f): Likewise.
71768         [non-C99-based standards] (ilogbf): Likewise.
71769         [non-C99-based standards] (log1pf): Likewise.
71770         [non-C99-based standards] (logbf): Likewise.
71771         [non-C99-based standards] (nextafterf): Likewise.
71772         [non-C99-based standards] (remainderf): Likewise.
71773         [non-C99-based standards] (rintf): Likewise.
71774         [non-C99-based standards] (scalbf): Likewise.
71775         [non-C99-based standards] (copysignl): Likewise.
71776         [non-C99-based standards] (exp2l): Likewise.
71777         [non-C99-based standards] (log2l): Likewise.
71778         [non-C99-based standards] (modfl): Allow.
71779         [non-C99-based standards] (erfl): Do not allow.
71780         [non-C99-based standards] (erfcl): Likewise.
71781         [non-C99-based standards] (gammal): Likewise.
71782         [non-C99-based standards] (hypotl): Likewise.
71783         [non-C99-based standards] (j0l): Likewise.
71784         [non-C99-based standards] (j1l): Likewise.
71785         [non-C99-based standards] (jnl): Likewise.
71786         [non-C99-based standards] (lgammal): Likewise.
71787         [non-C99-based standards] (tgammal): Likewise.
71788         [non-C99-based standards] (y0l): Likewise.
71789         [non-C99-based standards] (y1l): Likewise.
71790         [non-C99-based standards] (ynl): Likewise.
71791         [non-C99-based standards] (isnanl): Likewise.
71792         [non-C99-based standards] (acoshl): Likewise.
71793         [non-C99-based standards] (asinhl): Likewise.
71794         [non-C99-based standards] (atanhl): Likewise.
71795         [non-C99-based standards] (cbrtl): Likewise.
71796         [non-C99-based standards] (expm1l): Likewise.
71797         [non-C99-based standards] (ilogbl): Likewise.
71798         [non-C99-based standards] (log1pl): Likewise.
71799         [non-C99-based standards] (logbl): Likewise.
71800         [non-C99-based standards] (nextafterl): Likewise.
71801         [non-C99-based standards] (remainderl): Likewise.
71802         [non-C99-based standards] (rintl): Likewise.
71803         [non-C99-based standards] (scalbl): Likewise.
71804         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71805         [non-C99-based standards] (FP_*): Do not allow.
71806         [C99-based standards] (FP_*): Change to
71807         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71808         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71809         allow.
71810         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71811         (SIG_ERR): Likewise.
71812         [X/Open-based standards] (SIG_HOLD): Likewise.
71813         (SIG_IGN): Likewise.
71814         (SIGABRT): Use macro-int-constant.  Specify type.  Require
71815         positive value.
71816         (SIGFPE): Likewise.
71817         (SIGILL): Likewise.
71818         (SIGINT): Likewise.
71819         (SIGSEGV): Likewise.
71820         (SIGTER): Likewise.
71821         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71822         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71823         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71824         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71825         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71826         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71827         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71828         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71829         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71830         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71831         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71832         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71833         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71834         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71835         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71836         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71837         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71838         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71839         [X/Open-based standards] (SIGTRAP): Likewise.
71840         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71841         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71842         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71843         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71844         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71845         allow.
71847 2012-05-08  Ian Wienand  <ianw@vmware.com>
71849         [BZ #14080]
71850         * time/tzset.c (__tzset_parse_tz): Update default rules for
71851         daylight time changes in the Energy Policy Act of 2005.
71853 2012-05-09  Andreas Jaeger  <aj@suse.de>
71855         [BZ #13983]
71856         * elf/ldconfig.c (parse_conf): Change string to make clear that
71857         ldconfig only issued a warning if ld.so.conf does not exist.
71859 2012-05-08  David S. Miller  <davem@davemloft.net>
71861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71862         movxtod instead of popping the value on the stack.
71864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71866 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
71868         * config.h.in: Add HAVE_ARM_PCS_VFP.
71870 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
71872         [BZ #13979]
71873         * include/features.h: Warn if user requests __FORTIFY_SOURCE
71874         checking but the checks are disabled for any reason.
71876 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
71878         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
71879         and ELF64_R_TYPE with ELFW(R_TYPE).
71881 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
71883         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
71884         (ulimit): Likewise.
71886         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
71887         (settimeofday): Likewise.
71889 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
71891         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
71892         a struct th_u2 inside the union, and move tu_block/tu_code into
71893         a new th_u3 union of tu_block/tu_code inside of that.  Move
71894         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
71895         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
71896         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
71897         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
71898         (th_stuff): Change to th_u1.tu_stuff.
71899         (th_data): Define.
71900         (th_msg): Change to th_u1.th_u2.tu_data.
71902 2012-05-07  David S. Miller  <davem@davemloft.net>
71904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71906         [BZ #14074]
71907         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
71908         (SETUP_PIC_REG): Use it.
71909         (SETUP_PIC_REG_LEAF): Use it.
71911 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
71913         [BZ #13885]
71914         [BZ #13923]
71915         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71916         USE_AS_EXPM1L.
71917         (EXPL_FINITE): Likewise.
71918         (FLDLOG): Likewise.
71919         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71920         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71921         e_expl.S.
71922         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71923         USE_AS_EXPM1L.
71924         (EXPL_FINITE): Likewise.
71925         (FLDLOG): Likewise.
71926         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71927         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71928         e_expl.S.
71929         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
71930         test of -max_value argument for long double.
71931         * sysdeps/i386/fpu/libm-test-ulps: Update.
71932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71934 2012-05-06  David S. Miller  <davem@davemloft.net>
71936         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
71937         quad soft-float symbols whose references which are compiler
71938         generated.
71939         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71941 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
71943         [BZ #13884]
71944         [BZ #13914]
71945         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71946         USE_AS_EXP10L.
71947         (EXPL_FINITE): Likewise.
71948         (FLDLOG): Likewise.
71949         (c0): Likewise.
71950         (c1): Likewise.
71951         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
71952         Adjust comments for base varying.
71953         (__expl_finite): Change alias to EXPL_FINITE.
71954         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
71955         e_expl.S.
71956         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
71957         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
71958         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
71959         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
71960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71961         USE_AS_EXP10L.
71962         (EXPL_FINITE): Likewise.
71963         (FLDLOG): Likewise.
71964         (c0): Likewise.
71965         (c1): Likewise.
71966         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
71967         Adjust comments for base varying.
71968         (__expl_finite): Change alias to EXPL_FINITE.
71969         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
71970         tests for bugs.
71971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71973         [BZ #14064]
71974         * math/libm-test.inc (check_float_internal): Correct ulp
71975         calculation for subnormal expected results.
71977 2012-05-06  Andreas Jaeger  <aj@suse.de>
71979         * Makeconfig (+math-flags): New, set to -frounding-math.
71980         (+cflags): Add +math-flags so that all of glibc gets compiled with
71981         it.
71983         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
71985 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
71987         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
71988         Disable one test.
71990         [BZ #13787]
71991         [BZ #13922]
71992         [BZ #14036]
71993         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
71994         (__ieee754_expl): Allow for and saturate large arguments.
71995         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
71996         (u_threshold): Likewise.
71997         (__exp): Call __ieee754_exp before checking for overflow and
71998         underflow.
71999         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72000         (u_threshold): Likewise.
72001         (__expf): Call __ieee754_expf before checking for overflow and
72002         underflow.
72003         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72004         (u_threshold): Likewise.
72005         (__expl): Call __ieee754_expl before checking for overflow and
72006         underflow.
72007         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72008         (__ieee754_expl): Allow for and saturate large arguments.
72009         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72010         missing overflow exception on overflow.
72011         (expm1_test): Do not allow missing overflow exception on overflow.
72013         * sysdeps/i386/fpu/e_expl.c: Move to ...
72014         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72015         rather than using inline asm.
72016         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72017         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72018         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72020         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72021         (nice): Likewise.
72022         (poll): Likewise.
72023         (signal): Likewise.
72024         (time): Likewise.
72025         (times): Likewise.
72027 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72029         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72030         sysdeps/unix/common/syscalls.list.
72031         (fchmod): Likewise.
72032         (fchown): Likewise.
72033         (ftruncate): Likewise.
72034         (getrusage): Likewise.
72035         (gettimeofday): Likewise.
72036         (setpgid): Likewise.
72037         (setregid): Likewise.
72038         (setreuid): Likewise.
72039         (sigaction): Likewise.
72040         (truncate): Likewise.
72041         (vhangup): Likewise.
72042         * sysdeps/unix/common/syscalls.list: Remove file.
72043         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72044         * sysdeps/unix/sysv/linux/Implies: Likewise.
72046 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72048         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72050         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72051         Moved to ...
72052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72053         Here.
72054         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72055         to ...
72056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72057         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72058         to ...
72059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72060         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72061         to ...
72062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72063         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72064         to ...
72065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72066         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72067         to ...
72068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72069         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72070         to ...
72071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72072         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72073         to ...
72074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72075         Here.
72076         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72077         to ...
72078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72079         Here.
72080         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72081         to ...
72082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72083         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72084         Moved to ...
72085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72086         Here.
72087         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72088         to ...
72089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72091 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72093         * sysdeps/unix/common/bits/dirent.h: Remove file.
72094         * sysdeps/unix/common/bits/fcntl.h: Likewise.
72096         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72097         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72098         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72099         * sysdeps/unix/bsd/isatty.c: Likewise.
72100         * sysdeps/unix/bsd/tcdrain.c: Likewise.
72101         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72102         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72104 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72106         [BZ #13563]
72107         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72108         long double comparison inaccuracies.
72109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72112 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
72114         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72115         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72117 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72119         [BZ #14049]
72120         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72121         nonzero digits before rounding a hex value.
72122         * stdlib/tst-strtod.c (tests): Add another test.
72124 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72126         * sysdeps/s390/fpu/libm-test-ulps: Update.
72128 2012-05-03  Andreas Jaeger  <aj@suse.de>
72130         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72131         does not get optimized out.
72132         (malloc_opt_barrier): New.
72134 2012-05-03  Andreas Jaeger  <aj@suse.de>
72135             Roland McGrath  <roland@hack.frob.com>
72137         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72138         intermediate file deletion.
72139         (generated): Add .symlist files.
72141 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
72143         [BZ #13775]
72144         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72145         Redirect under this condition.
72146         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72147         [__USE_GNU] (__dprintf_chk): Not under this condition.
72148         [__USE_GNU] (__vdprintf_chk): Likewise.
72149         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72150         under this condition.
72151         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72152         [__USE_XOPEN2K8] (dprintf): Define under this condition.
72153         [__USE_XOPEN2K8] (vdprintf): Likewise.
72154         [__USE_GNU] (__dprintf_chk): Not under this condition.
72155         [__USE_GNU] (__vdprintf_chk): Likewise.
72156         [__USE_GNU] (dprintf): Likewise.
72157         [__USE_GNU] (vdprintf): Likewise.
72159 2012-05-03  Roland McGrath  <roland@hack.frob.com>
72161         * elf/Makefile (common-generated): Set this instead of generated for
72162         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
72163         $(all-built-dso)-derived lists.
72165 2012-05-03  Andreas Jaeger  <aj@suse.de>
72167         * sysdeps/i386/fpu/libm-test-ulps: Update.
72169         * FAQ: Removed.
72170         * FAQ.in: Likewise.
72171         * scripts/gen-FAQ.pl: Likewise.
72172         * manual/install.texi (Installation): Point to online location of
72173         FAQ.
72174         * Makefile (files-for-dist): Remove FAQ.
72175         (FAQ): Remove.
72177 2012-05-02  Allan McRae  <allan@archlinux.org>
72179         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72180         (LDFLAGS-reldepmod5.so): Likewise.
72181         (LDFLAGS-reldep6mod1.so): Likewise.
72182         (LDFLAGS-reldep6mod4.so): Likewise.
72183         (LDFLAGS-reldep8mod3.so): Likewise.
72184         (LDFLAGS-unload4mod1.so): Likewise.
72185         (LDFLAGS-unload4mod2.so): Likewise.
72186         (LDFLAGS-tst-initorder): Likewise.
72187         (LDFLAGS-tst-initordera2.so): Likewise.
72188         (LDFLAGS-tst-initordera3.so): Likewise.
72189         (LDFLAGS-tst-initordera4.so): Likewise.
72190         (LDFLAGS-tst-initorderb2.so): Likewise.
72191         (LDFLAGS-noload): Likewise.
72192         (LDFLAGS-next): Likewise.
72193         (LDFLAGS-order2mod1.so): Likewise.
72194         (LDFLAGS-order2mod2.so): Likewise.
72195         (LDFLAGS-tst-initorder2): Likewise.
72196         (LDFLAGS-tst-initorder2a.so): Likewise.
72197         (LDFLAGS-tst-initorder2b.so): Likewise.
72198         (LDFLAGS-tst-initorder2c.so): Likewise.
72199         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72201 2012-05-02  David S. Miller  <davem@davemloft.net>
72203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72205 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
72207         [BZ #14055]
72208         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72210 2012-05-02  Andreas Jaeger  <aj@suse.de>
72212         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72213         since we manipulate rounding mode.
72214         (CPPFLAGS-test-idouble.c): Likewise.
72215         (CPPFLAGS-test-ifloat.c): Likewise.
72216         (CFLAGS-test-ldouble.c): Likewise.
72217         (CFLAGS-test-double.c): Likewise.
72218         (CFLAGS-test-float.c): Likewise.
72219         (CFLAGS-test-misc.c): Likewise.
72220         (CFLAGS-test-test-fenv.c): Likewise.
72222 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72224         [BZ #2550]
72225         [BZ #2570]
72226         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72227         comparisons to determine direction to adjust input.
72229 2012-05-01  Roland McGrath  <roland@hack.frob.com>
72231         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72232         output to the target.
72234         * scripts/localplt.awk: New file.
72235         * elf/Makefile ($(objpfx)check-localplt): Target removed.
72236         (check-localplt-CFLAGS): Variable removed.
72237         ($(all-built-dso:=.jmprel)): New static pattern rule.
72238         (generated): Add those targets.
72239         (localplt-built-dso): New variable.
72240         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72242         * elf/check-localplt.c: File removed.
72244         * scripts/check-execstack.awk: New file.
72245         * elf/Makefile ($(objpfx)check-execstack): Target removed.
72246         (check-execstack-CFLAGS): Variable removed.
72247         ($(objpfx)check-execstack.h): Target removed.
72248         ($(objpfx)execstack-default): New target.
72249         (generated): Add that instead of check-execstack.h.
72250         ($(all-built-dso:=.phdr)): New static pattern rule.
72251         (generated): Add those targets.
72252         * elf/check-execstack.c: File removed.
72254         * scripts/check-textrel.awk: New file.
72255         * elf/Makefile ($(objpfx)check-textrel): Target removed.
72256         (check-textrel-CFLAGS): Variable removed.
72257         (all-built-dso): Use := to define.o
72258         ($(all-built-dso:=.dyn)): New static pattern rule.
72259         (generated): Add those targets.
72260         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72261         * config.make.in (READELF): New substituted variable.
72262         * elf/check-textrel.c: File removed.
72264 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72266         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72267         allow.
72268         * conform/data/ctype.h-data [C99-based standards] (isblank):
72269         Expect function.
72270         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72271         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72272         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72273         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72274         Specify type.  Require positive value.
72275         (EILSEQ): Likewise.
72276         (ERANGE): Likewise.
72277         [ISO || POSIX] (EILSEQ): Do not expect.
72278         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72279         Specify type.  Require positive value.
72280         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72281         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72282         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72283         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72284         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72285         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72286         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72287         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72288         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72289         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72290         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72291         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72292         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72293         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72294         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72295         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72296         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72297         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72298         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72299         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72300         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72301         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72302         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72303         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72304         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72305         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72306         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72307         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72308         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72309         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72310         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72311         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72312         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72313         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72314         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72315         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72316         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72317         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72318         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72319         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72320         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72321         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72322         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72323         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72324         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72325         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72326         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72327         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72328         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72329         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72330         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72331         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72332         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72333         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72334         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72335         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72336         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72337         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72338         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72339         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72340         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72341         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72342         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72343         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72344         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72345         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72346         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72347         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72348         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72349         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72350         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72351         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72352         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72353         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72354         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72355         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72356         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72357         Require >= 2.
72358         (FLT_ROUNDS): Expect as macro, not constant.
72359         (FLT_MANT_DIG): Use macro-int-constant.
72360         (DBL_MANT_DIG): Likewise.
72361         (LDBL_MANT_DIG): Likewise.
72362         (FLT_DIG): Likewise.
72363         (DBL_DIG): Likewise.
72364         (LDBL_DIG): Likewise.
72365         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
72366         (DBL_MIN_EXP): Likewise.
72367         (LDBL_MIN_EXP): Likewise.
72368         (FLT_MAX_EXP): Use macro-int-constant.
72369         (DBL_MAX_EXP): Likewise.
72370         (LDBL_MAX_EXP): Likewise.
72371         (FLT_MAX_10_EXP): Likewise.
72372         (DBL_MAX_10_EXP): Likewise.
72373         (LDBL_MAX_10_EXP): Likewise.
72374         (FLT_MAX): Use macro-constant.
72375         (DBL_MAX): Likewise.
72376         (LDBL_MAX): Likewise.
72377         (FLT_EPSILON): Use macro-constant.  Give upper bound.
72378         (DBL_EPSILON): Likewise.
72379         (LDBL_EPSILON): Likewise.
72380         (FLT_MIN): Likewise.
72381         (DBL_MIN): Likewise.
72382         (LDBL_MIN): Likewise.
72383         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72384         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72385         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72386         [ISO11] (FLT_HAS_SUBNORM): Likewise.
72387         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72388         [ISO11] (DBL_DECIMAL_DIG): Likewise.
72389         [ISO11] (FLT_DECIMAL_DIG): Likewise.
72390         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72391         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72392         [ISO11] (FLT_TRUE_MIN): Likewise.
72393         [ISO11] (LDBL_TRUE_MIN): Likewise.
72394         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72395         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72396         (SCHAR_MIN): Use macro-int-constant.  Specify type.
72397         (SCHAR_MAX): Likewise.
72398         (UCHAR_MAX): Likewise.
72399         (CHAR_MIN): Likewise.
72400         (CHAR_MAX): Likewise.
72401         (MB_LEN_MAX): Use macro-int-constant.
72402         (SHRT_MIN): Use macro-int-constant.  Specify type.
72403         (SHRT_MAX): Likewise.
72404         (USHRT_MAX): Likewise.
72405         (INT_MAX): Likewise.
72406         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
72407         bound negative.
72408         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72409         bound with "U".
72410         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72411         bound with "L".
72412         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
72413         bound negative.  Suffix upper bound with "L".
72414         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72415         bound with "UL".
72416         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72417         Specify type.
72418         [C99-based standards] (LLONG_MAX): Likewise.
72419         [C99-based standards] (ULLONG_MAX): Likewise.
72420         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
72421         == 0.
72422         [ISO11] (max_align_t): Require type.
72423         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72425         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72426         from $CFLAGS, without defining away __attribute__ calls.
72427         (checknamespace): Use $CFLAGS_namespace.
72429         * conform/conformtest.pl (@keywords): Only include C99 keywords
72430         for standards based on C99 or C11.
72432         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72433         Disable tests.
72434         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72435         UNIX98]: Likewise.
72437         * conform/conformtest.pl: Handle "macro-int-constant" and test for
72438         usability of symbols in #if.
72440         * conform/conformtest.pl: If macro or constant types start
72441         "promoted:", expect the symbol to be of the following type
72442         promoted by the integer promotions.
72444         * conform/conformtest.pl: Parse all "constant" and "macro" lines
72445         in one place.  Also handle "macro-constant".
72447         * conform/conformtest.pl: Only accept expected macro values with
72448         "==".  Parse all "macro" lines in one place.
72449         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72451         * conform/conformtest.pl: Handle braced types on "constant" lines
72452         instead of handling "typed-constant".
72453         * conform/data/signal.h-data: Use "constant" instead of
72454         "typed-constant".
72456         * conform/conformtest.pl: Handle "optional-" at start of lines in
72457         one place rather than duplicating several cases.  Handle each
72458         format of "macro" line with initial "optional-".
72460         * conform/conformtest.pl: Only accept expected constant or
72461         optional-constant values with "==".  Parse all "constant" lines in
72462         one place.  Parse all "optional-constant" lines in one place.
72463         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72464         * conform/data/fmtmsg.h-data: Likewise.
72465         * conform/data/netinet/in.h-data: Likewise.
72466         * conform/data/tar.h-data: Likewise.
72467         * conform/data/limits.h-data: Use "==" form on "constant" and
72468         "optional-constant" lines.
72470         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72471         Use -std=c99 for XOPEN2K.
72472         (@knownproblems): Remove.
72473         (newtoken): Don't check %isknown.
72475         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72476         Do not expect macro.
72477         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72478         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72479         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72480         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72481         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72482         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72483         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72484         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72485         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72486         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72487         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72488         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72489         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72490         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72491         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72492         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72493         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72494         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72495         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72496         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72497         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72498         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72499         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72500         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72501         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72502         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72503         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72504         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72505         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72506         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72507         [XPG3] (acosh): Likewise.
72508         [XPG3] (asinh): Likewise.
72509         [XPG3] (atanh): Likewise.
72510         [XPG3] (cbrt): Likewise.
72511         [XPG3] (expm1): Likewise.
72512         [XPG3] (ilogb): Likewise.
72513         [XPG3] (log1p): Likewise.
72514         [XPG3] (logb): Likewise.
72515         [XPG3] (nextafter): Likewise.
72516         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72517         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72518         [XPG3] (remainder): Likewise.
72519         [XPG3] (rint): Likewise.
72520         [XPG3 || XPG4 || UNIX98] (round): Likewise.
72521         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72522         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72523         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72524         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72525         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72526         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72527         [UNIX98 || XOPEN2K] (scalb): Expect.
72528         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72529         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72530         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72531         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72532         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72533         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72534         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72535         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72536         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72537         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72538         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72539         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72540         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72541         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72542         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72543         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72544         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72545         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72546         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72547         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72548         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72549         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72550         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72551         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72552         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72553         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72554         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72555         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72556         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72557         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72558         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72559         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72560         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72561         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72562         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72563         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72564         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72565         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72566         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72567         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72568         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72569         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72570         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72571         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72572         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72573         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72574         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72575         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72576         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72577         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72578         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72579         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72580         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72581         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72582         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72583         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72584         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72585         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72586         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72587         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72588         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72589         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72590         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72591         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72592         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72593         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72594         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72595         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72596         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72597         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72598         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72599         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72600         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72601         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72602         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72603         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72604         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72605         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72606         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72607         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72608         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72609         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72610         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72611         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72612         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72613         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72614         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72615         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72616         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72617         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72618         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72619         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72620         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72621         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72622         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72623         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72624         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72625         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72626         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72627         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72628         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72629         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72630         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72631         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72632         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72633         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72634         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72635         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72636         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72637         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72638         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72639         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72640         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72641         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72642         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72643         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72644         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72645         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72646         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72647         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72648         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72649         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72650         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72651         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72652         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72653         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72654         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72655         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72656         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72657         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72658         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72659         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72660         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72661         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72662         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72663         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72664         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72666         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72667         _XOPEN_SOURCE_EXTENDED for XPG4.
72669         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72671         * Makeconfig (localtime): Remove variable.
72672         (inst_localtime-file): Likewise.
72674 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72677         Update.
72678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72679         Update.
72680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72681         Update.
72682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72683         Update.
72684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72685         Update.
72686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72687         Update.
72688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72689         Update.
72690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72691         Update.
72692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72693         Update.
72695 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72697         [BZ #2550]
72698         [BZ #2570]
72699         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72700         comparisons to determine direction to adjust input.
72701         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72702         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72703         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72704         Likewise.
72705         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72706         Likewise.
72707         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72708         Likewise.
72709         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72710         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72711         Likewise.
72712         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72713         Likewise.
72714         * math/libm-test.inc (nexttoward_test): Add more tests.
72716 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72718         [BZ #14040]
72719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72720         in version GLIBC_2.1, not GLIBC_2.0.
72721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72722         Likewise.
72724 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
72726         [BZ #13942]
72727         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72728         (1 - x) * (1 + x).
72729         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72730         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72731         * math/libm-test.inc (acos_test): Add more tests.
72732         (asin_test): Likewise.
72733         * sysdeps/i386/fpu/libm-test-ulps: Update.
72734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72736         [BZ #14034]
72737         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72738         of square root.
72739         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72740         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72741         * math/libm-test.inc (acos_test_tonearest): New function.
72742         (acos_test_towardzero): Likewise.
72743         (acos_test_downward): Likewise.
72744         (acos_test_upward): Likewise.
72745         (asin_test_tonearest): Likewise.
72746         (asin_test_towardzero): Likewise.
72747         (asin_test_downward): Likewise.
72748         (asin_test_upward): Likewise.
72749         (main): Call the new functions.
72750         * sysdeps/i386/fpu/libm-test-ulps: Update.
72751         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72753         [BZ #13884]
72754         [BZ #13924]
72755         * math/e_exp10.c: Include <float.h>.
72756         (__ieee754_exp10): Handle underflow here rather than multiplying
72757         large negative argument by M_LN10.
72758         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72759         of __ieee754_expf.
72760         * math/e_exp10l.c: Include <float.h>.
72761         (__ieee754_exp10l): Handle underflow here rather than multiplying
72762         large negative argument by M_LN10l.
72763         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
72764         spurious overflow exception on underflow.
72766 2012-04-29  Marek Polacek  <polacek@redhat.com>
72768         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72769         (__fortify_function): New macro.
72770         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72771         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72772         __extern_always_inline.
72773         * libio/bits/stdio2.h: Likewise.
72774         * libio/bits/stdio.h: Likewise.
72775         * string/string.h: Likewise.
72776         * string/bits/string3.h: Likewise.
72777         * include/stdio.h: Likewise.
72778         * stdlib/bits/stdlib.h: Likewise.
72779         * stdlib/stdlib.h: Likewise.
72780         * rt/bits/mqueue2.h: Likewise.
72781         * rt/mqueue.h: Likewise.
72782         * posix/bits/unistd.h: Likewise.
72783         * posix/unistd.h: Likewise.
72784         * io/bits/poll2.h: Likewise.
72785         * io/bits/fcntl2.h: Likewise.
72786         * io/fcntl.h: Likewise.
72787         * io/sys/poll.h: Likewise.
72788         * misc/bits/syslog.h: Likewise.
72789         * misc/bits/syslog-ldbl.h: Likewise.
72790         * misc/sys/syslog.h: Likewise.
72791         * socket/bits/socket2.h: Likewise.
72792         * socket/sys/socket.h: Likewise.
72793         * debug/tst-chk1.c: Likewise.
72794         * wcsmbs/bits/wchar2.h: Likewise.
72795         * wcsmbs/bits/wchar-ldbl.h: Likewise.
72796         * wcsmbs/wchar.h: Likewise.
72798 2012-04-29  Andreas Jaeger  <aj@suse.de>
72800         * Makerules (tests): Remove enable-check-abi protection.
72801         (check-abi-warn): Remove.
72802         (check-abi-%): Remove check-abi-warn usage.
72804         * configure.in: Remove check-abi configure option.
72805         * configure: Regenerated.
72806         * config.make.in (enable-check-abi): Remove.
72808 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
72810         [BZ #14033]
72811         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72812         double functions to double *_finite functions.
72814         [BZ #13941]
72815         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72816         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72817         LDBL_MIN_EXP.
72818         * stdio-common/Makefile (tests): Add tst-sprintf3.
72819         * stdio-common/tst-sprintf3.c: New file.
72821         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72822         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72824 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72826         * conform/conformtest.pl: Remove duplicate typed-constant
72827         handling.
72829 2012-04-28  David S. Miller  <davem@davemloft.net>
72831         * Makerules (%.abilist): Add vpath on sysdep_dirs.
72832         (check-abi-%): Remove AWK script prerequisite and explicit
72833         abilist directory.
72834         (check-abi): Rewrite to just diff the symlist with the abilist.
72835         (config-tls, config-abi-config): Delete, no longer used.
72836         (update-abi-%): Remove AWK script and explicit abilist directory.
72837         (update-abi): Rewrite to simply compare and conditionally copy the
72838         symlist and the sysdep abilist file.  Remove update-abi-config
72839         checks.
72840         * abilist/ld.abilist: Remove.
72841         * abilist/libBrokenLocale.abilist: Remove.
72842         * abilist/libanl.abilist: Remove.
72843         * abilist/libcrypt.abilist: Remove.
72844         * abilist/libdl.abilist: Remove.
72845         * abilist/librt.abilist: Remove.
72846         * abilist/libthread_db.abilist: Remove.
72847         * abilist/libutil.abilist: Remove.
72848         * scripts/extract-abilist.awk: Remove.
72849         * scripts/merge-abilist.awk: Remove.
72850         * sysdeps/generic/libcidn.abilist: New file.
72851         * sysdeps/generic/libnss_compat.abilist: New file.
72852         * sysdeps/generic/libnss_db.abilist: New file.
72853         * sysdeps/generic/libnss_dns.abilist: New file.
72854         * sysdeps/generic/libnss_files.abilist: New file.
72855         * sysdeps/generic/libnss_hesiod.abilist: New file.
72856         * sysdeps/generic/libnss_nis.abilist: New file.
72857         * sysdeps/generic/libnss_nisplus.abilist: New file.
72858         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72859         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72860         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72861         file.
72862         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72863         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72864         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72865         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72866         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72867         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72868         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72869         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72870         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
72871         file.
72872         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
72873         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
72874         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
72875         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
72876         file.
72877         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
72878         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
72879         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72880         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
72881         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
72882         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
72883         file.
72884         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
72885         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
72886         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
72887         file.
72888         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
72889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
72890         New file.
72891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
72892         New file.
72893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
72894         New file.
72895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
72896         New file.
72897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
72898         New file.
72899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
72900         New file.
72901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
72902         New file.
72903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
72904         New file.
72905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
72906         New file.
72907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
72908         New file.
72909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
72910         New file.
72911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
72912         New file.
72913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
72914         New file.
72915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
72916         file.
72917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
72918         New file.
72919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
72920         New file.
72921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
72922         file.
72923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
72924         New file.
72925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
72926         New file.
72927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
72928         file.
72929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
72930         New file.
72931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72932         New file.
72933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
72934         New file.
72935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
72936         New file.
72937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
72938         New file.
72939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
72940         New file.
72941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
72942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
72943         file.
72944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
72945         New file.
72946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
72947         file.
72948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
72949         file.
72950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
72951         file.
72952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
72953         file.
72954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
72955         file.
72956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72957         New file.
72958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
72959         file.
72960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
72961         file.
72962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
72963         New file.
72964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
72965         file.
72966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
72967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
72968         file.
72969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
72970         New file.
72971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
72972         file.
72973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
72974         file.
72975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
72976         file.
72977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
72978         file.
72979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
72980         file.
72981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72982         New file.
72983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
72984         file.
72985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
72986         file.
72987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
72988         New file.
72989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
72990         file.
72991         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72992         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
72993         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
72994         file.
72995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
72996         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
72997         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
72998         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
72999         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73000         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73001         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73002         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73003         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73004         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73007         file.
73008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73009         New file.
73010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73011         file.
73012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73013         file.
73014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73015         file.
73016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73017         file.
73018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73019         file.
73020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73021         New file.
73022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73023         New file.
73024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73025         file.
73026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73027         New file.
73028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73029         file.
73030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73032         file.
73033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73034         New file.
73035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73036         file.
73037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73038         file.
73039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73040         file.
73041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73042         file.
73043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73044         file.
73045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73046         New file.
73047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73048         New file.
73049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73050         file.
73051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73052         New file.
73053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73054         file.
73056 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73058         * conform/conformtest.pl: Fix typo in handling typed-constant from
73059         allow-header.
73061 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73063         * README: Cut down references to pre-2.6 Linux kernels and
73064         Linuxthreads.  Update lists of configurations in libc and ports
73065         and sort alphabetically.  Say "or newer" with Linux kernel version
73066         requirements.
73068         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73070 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73072         [BZ #887]
73073         * math/libm-test.inc (logb_test_downward): New test to expose
73074         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73075         rounding mode.
73077 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73079         [BZ #14027]
73080         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73081         to be done.
73082         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73083         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73085 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
73087         * sysdeps/unix/i386/brk.S: Remove file.
73088         * sysdeps/unix/i386/dl-brk.S: Likewise.
73089         * sysdeps/unix/i386/pipe.S: Likewise.
73090         * sysdeps/unix/i386/sigreturn.S: Likewise.
73091         * sysdeps/unix/i386/syscall.S: Likewise.
73092         * sysdeps/unix/i386/vfork.S: Likewise.
73093         * sysdeps/unix/i386/wait.S: Likewise.
73095         * sysdeps/unix/common/tcsendbrk.c: Move to ...
73096         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73098         * configure.in (arm*-none*): Do not allow without
73099         --enable-hacker-mode.
73100         (netbsd*): Remove case setting base_os.
73101         (386bsd*): Likewise.
73102         (freebsd*): Likewise.
73103         (bsdi*): Likewise.
73104         (osf*): Likewise.
73105         (sunos*): Likewise.
73106         (ultrix*): Likewise.
73107         (newsos*): Likewise.
73108         (dynix*): Likewise.
73109         (*bsd*): Likewise.
73110         (sysv*): Likewise.
73111         (isc*): Likewise.
73112         (esix*): Likewise.
73113         (sco*): Likewise.
73114         (minix*): Likewise.
73115         (irix4*): Likewise.
73116         (irix6*): Likewise.
73117         (solaris[2-9]*): Likewise.
73118         (none): Likewise.
73119         * configure: Regenerated.
73121 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73123         [BZ #11521]
73124         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73125         overflow or cancellation in calculating denominator.
73126         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73127         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73128         down expression to avoid unexpected rounding in newer GCCs.
73129         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73131 2012-04-26  David S. Miller  <davem@davemloft.net>
73133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73134         long-double compat symbols.
73135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73149 2012-04-25  David S. Miller  <davem@davemloft.net>
73151         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73152         HWCAP_* values only after the memory barriers have been defined.
73153         (atomic_full_barrier): Define.
73154         (atomic_read_barrier): Define.
73155         (atomic_write_barrier): Define.
73157 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73159         * shlib-versions: Add libgcc_s version information.
73160         * sysdeps/generic/libgcc_s.h: Remove.
73161         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73162         libgcc_s.h.
73163         * sysdeps/gnu/unwind-resume.c: Likewise.
73164         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73166 2012-04-25  David S. Miller  <davem@davemloft.net>
73168         * sysdeps/unix/sparc/brk.S: Delete.
73169         * sysdeps/unix/sparc/dl-brk.S: Delete.
73170         * sysdeps/unix/sparc/pipe.S: Delete.
73171         * sysdeps/unix/sparc/sysdep.S: Delete.
73172         * sysdeps/unix/sparc/sysdep.h: Delete.
73173         * sysdeps/unix/sparc/vfork.S: Delete.
73174         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73175         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73176         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73177         (ret_ERRVAL, r0, r1, MOVE): Define.
73178         (JUMPTARGET): Remove.
73179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73180         sysdeps/unix/sparc/sysdep.h
73181         (ENTRY, END): Remove.
73182         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73184 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
73186         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73187         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73188         -DIS_IN_build.
73190         * timezone/README: Update upstream location and email address for
73191         tzcode and tzdata.
73192         * timezone/zdump.c: Update from tzcode 2012b.
73193         * timezone/zic.c: Likewise.
73195         * configure.in (libc_cv_as_needed): Remove test.
73196         * configure: Regenerated.
73197         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73198         conditional definition.
73199         [$(have-as-needed) != yes] (no-as-needed): Likewise.
73200         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73201         * config.make.in (have-as-needed): Remove variable.
73203 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73204             Paul Pluzhnikov  <ppluzhnikov@google.com>
73206         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73207         strings correctly.
73209 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
73211         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73212         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73213         * sysdeps/sh/strlen.S: Likewise.
73215 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73217         * sysdeps/unix/fork.S: Remove file.
73218         * sysdeps/unix/i386/fork.S: Likewise.
73219         * sysdeps/unix/sparc/fork.S: Likewise.
73221         * sysdeps/unix/system.c: Remove file.
73222         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73224         * sysdeps/unix/getegid.S: Remove file.
73225         * sysdeps/unix/geteuid.S: Likewise.
73227 2012-04-24  Roland McGrath  <roland@hack.frob.com>
73229         * scripts/check-localplt.awk: New file.
73230         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73231         of diff.
73232         * scripts/data/localplt-generic.data: Add a comment.
73234         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73235         NODE when __dir_mkfile failed.
73236         * sysdeps/mach/hurd/symlinkat.c: Likewise.
73237         Reported by Ludovic Courtès <ludo@gnu.org>.
73239 2012-04-24  Andreas Jaeger  <aj@suse.de>
73241         * Makerules (common-clean): Also remove gen-as-const-headers
73242         files.
73244 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73246         * Makerules (native-compile): Do not change working directory for
73247         build.  Use $(OUTPUT_OPTION) in command.
73248         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73250 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73252         [BZ #13886]
73253         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73254         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73255         * math/libm-test.inc (floor_test): Add more tests.
73256         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73258 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73260         * sysdeps/unix/getdents.c: Remove file.
73261         * sysdeps/unix/sysv/getdents.c: Likewise.
73262         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73264         * sysdeps/unix/syscalls.list (madvise): Add syscall from
73265         sysdeps/unix/mman/syscalls.list.
73266         (mmap): Likewise.
73267         (mprotect): Likewise.
73268         (msync): Likewise.
73269         (munmap): Likewise.
73270         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73271         * sysdeps/unix/mman/syscalls.list: Remove.
73272         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73274         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73275         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73276         * configure: Regenerated.
73277         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73278         $(libgcc_s_suffix).
73279         * config.make.in (libgcc_s_suffix): Remove variable.
73281 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
73283         * sysdeps/unix/sysv/gethostname.c: Move to ...
73284         * sysdeps/posix/gethostname.c: ... here.
73286         * sysdeps/unix/execve.S: Remove file.
73288         * sysdeps/unix/_exit.S: Remove file.
73290 2012-04-23  Andreas Jaeger  <aj@suse.de>
73292         [BZ #13739]
73293         * manual/Makefile: Remove make dist support, there's no
73294         need for a stand-alone documentation tar ball.
73295         (TEXI2DVI): Define always, it's not in Makeconfig.
73296         (dist): Removed.
73297         (tar-it): Removed.
73298         (edition): Removed.
73299         (glibc-doc-$(edition).tar): Removed
73300         (%.Z): Removed.
73301         (%.gz): Removed.
73302         (%.uu): Removed.
73303         (ETAGS): Remove, it's in Makeconfig.
73304         (move-if-change): Remove, it's in Makeconfig.
73306 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
73308         [BZ #13970]
73309         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73310         (strtod, strtof, strtold, strtol, strtoul, strtoq)
73311         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73312         (strtod_l, strtof_l, strtold_l): Remove __wur.
73313         It is not necessarily an error to ignore strtol's return value.
73314         One can reliably look at the stored endptr to decide whether
73315         the number had valid syntax.
73317 2012-04-21  Andreas Jaeger  <aj@suse.de>
73319         [BZ #13739]
73320         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73322 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
73324         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73325         * sysdeps/unix/sysv/Versions: Remove file.
73327 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
73329         [BZ #13927]
73330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73332 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
73334         [BZ #7064]
73335         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73336         version from __vm86.
73338 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
73340         * sysdeps/unix/common/lxstat.c: Remove file.
73341         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73343         * sysdeps/unix/sysv/Makefile: Remove file.
73345         * sysdeps/unix/sysv/direct.h: Remove file.
73347         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73348         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73349         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73350         * sysdeps/unix/sysv/bits/signum.h: Likewise.
73351         * sysdeps/unix/sysv/bits/stat.h: Likewise.
73352         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73353         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73355         * sysdeps/unix/sysv/setrlimit.c: Remove file.
73357         * sysdeps/unix/xmknod.c: Remove file.
73358         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73360         * sysdeps/unix/sysv/settimeofday.c: Remove file.
73362         * sysdeps/unix/sysv/i386/time.S: Remove file.
73364         * sysdeps/unix/fxstat.c: Remove file.
73365         * sysdeps/unix/xstat.c: Likewise.
73366         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73368         * sysdeps/unix/sysv/sigaction.c: Remove file.
73370         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73371         (sysdep_headers): Remove variable.
73372         [termio.h not in sysdep_headers] (generated): Likewise.
73373         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73374         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73375         * sysdeps/unix/sysv/tcdrain.c: Likewise.
73376         * sysdeps/unix/sysv/tcflow.c: Likewise.
73377         * sysdeps/unix/sysv/tcflush.c: Likewise.
73378         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73379         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73380         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73381         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73382         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73384         * sysdeps/unix/siglist.c: Remove file.
73386         * sysdeps/unix/getppid.S: Remove file.
73388         * sysdeps/unix/mkdir.c: Remove file.
73389         * sysdeps/unix/rmdir.c: Likewise.
73391 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
73393         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73394         ERR_MAX value.
73395         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73396         errlist-compat value.
73398 2012-04-18  David S. Miller  <davem@davemloft.net>
73400         * sysdeps/generic/memcopy.h (reg_char): Delete.
73401         * debug/strcat_chk.c: Use char, not reg_char.
73402         * debug/strcpy_chk.c: Likewise.
73403         * debug/strncat_chk.c: Likewise.
73404         * debug/strncpy_chk.c: Likewise.
73405         * string/memchr.c: Likewise.
73406         * string/memrchr.c: Likewise.
73407         * string/rawmemchr.c: Likewise.
73408         * string/strcat.c: Likewise.
73409         * string/strchr.c: Likewise.
73410         * string/strchrnul.c: Likewise.
73411         * string/strcmp.c: Likewise.
73412         * string/strcpy.c: Likewise.
73413         * string/strncat.c: Likewise.
73414         * string/strncmp.c: Likewise.
73415         * string/strncpy.c: Likewise.
73417 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73419         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73420         __builtin_memcopy is called when src and dest ranges are known to not
73421         overlap.
73423 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73425         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73426         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73427         fwd_align_merge macro call.
73428         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73429         bwd_align_merge macro call.
73430         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73432 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73434         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73435         bwd_align_merge macros.
73436         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73437         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73438         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73440 2012-04-18  David S. Miller  <davem@davemloft.net>
73442         * sysdeps/sparc/sparc64/memcopy.h: Delete.
73444 2012-04-18  Andreas Jaeger  <aj@suse.de>
73446         [BZ# 6794]
73447         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73448         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73449         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73451         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73452         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73453         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73455         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73456         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73457         Adjust for changed ldbl-128 files.
73459         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73460         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73461         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73463 2012-04-17  David S. Miller  <davem@davemloft.net>
73465         * sysdeps/sparc/sparc32/memcopy.h: Delete.
73467 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
73469         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73470         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73471         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73472         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73473         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73474         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73476 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73478         [BZ #6794]
73479         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73480         * math/libm-test.inc: Add ilogb errno and exception tests.
73481         * math/w_ilogb.c: New file: ilogb wrapper.
73482         * math/w_ilogbf.c: New file: ilogbf wrapper.
73483         * math/w_ilogbl.c: New file: ilogbl wrapper.
73484         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73485         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73486         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73487         exception being thrown with 0.0 as argument.
73488         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73489         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73490         exception being thrown with 0.0 as argument.
73491         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73492         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73493         exception being thrown with 0.0 as argument.
73494         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73495         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73496         exception being thrown with 0.0 as argument.
73497         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73498         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73499         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73500         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73501         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73502         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73503         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73504         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73505         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73507 2012-04-17  Petr Baudis  <pasky@ucw.cz>
73509         * include/sys/uio.h: Change __vector to __iovec to avoid clash
73510         with altivec.
73512 2012-04-16  Marek Polacek  <polacek@redhat.com>
73514         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73516 2012-04-16  Marek Polacek  <polacek@redhat.com>
73518         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73519         operands of fdivp instruction.
73521 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73523         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73524         * elf/tst-auditmod3b.c: Likewise.
73525         * elf/tst-auditmod4b.c: Likewise.
73526         * elf/tst-auditmod5b.c: Likewise.
73527         * elf/tst-auditmod6b.c: Likewise.
73528         * elf/tst-auditmod6c.c: Likewise.
73529         * elf/tst-auditmod7b.c: Likewise.
73530         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73531         * sysdeps/x86_64/preconfigure.in: Likewise.
73532         * sysdeps/x86_64/preconfigure: Regenerated.
73534 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73536         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73537         __ILP32__.
73539 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
73541         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73542         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73544 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
73546         [BZ #13973]
73547         * locale/iso-639.def: Fix gl language name. Spotted by
73548         Yaron Shahrabani.
73550 2012-04-12  Roland McGrath  <roland@hack.frob.com>
73552         [BZ #2074]
73553         * libio/libio.h (__io_write_fn): Update comment.
73555 2012-04-12  Petr Baudis  <pasky@ucw.cz>
73557         [BZ #2074]
73558         * stdio.texi (Hook Functions): The user provided writer function
73559         is not allowed to return -1.
73561 2012-04-11  David S. Miller  <davem@davemloft.net>
73563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73565 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
73567         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73568         Add a leading slash to rtkaio.
73570 2012-04-11  Jim Meyering  <meyering@redhat.com>
73572         [BZ #11959]
73573         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73574         It is not necessarily an error to ignore fwrite's return
73575         value.  One can reliably use ferror to test for errors after
73576         the fact.
73578 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73580         * bits/types.h (__snseconds_t): New type.
73581         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73583         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73584         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73585         (__SNSECONDS_T_TYPE): Likewise.
73586         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73587         (__SNSECONDS_T_TYPE): Likewise.
73588         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73589         (__SNSECONDS_T_TYPE): Likewise.
73591 2012-04-10  Andreas Jaeger  <aj@suse.de>
73593         [BZ #2636]
73594         * manual/time.texi (Processor Time): Return type of times is
73595         elapsed real time since an arbitrary point in the past.
73596         (CPU Time): Move CLK_TCK from here...
73597         (Processor Time): ...to here.  Correct description.
73598         * manual/conf.texi (Constants for Sysconf): Correct description of
73599         _SC_CLK_TCK.
73601 2012-04-10  David S. Miller  <davem@davemloft.net>
73603         [BZ #13967]
73604         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73605         where the is a gap between DT_REL(A) and DT_JMPREL.
73607 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73609         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73610         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73611         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73613 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
73615         * elf/dl-support.c (_dl_inhibit_cache): New variable.
73616         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73617         (dl_main): Handle --inhibit-cache.
73618         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73619         _dl_inhibit_cache.
73620         * elf/dl-load.c (_dl_map_object): Use it.
73621         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73623 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73625         [BZ #13872]
73626         * sysdeps/i386/fpu/e_powl.S (p78): New object.
73627         (__ieee754_powl): Saturate large exponents rather than testing for
73628         overflow of y*log2(x).
73629         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73630         * math/libm-test.inc (pow_test): Do not permit spurious overflow
73631         exceptions.
73633         [BZ #11521]
73634         * math/s_ctan.c: Include <float.h>.
73635         (__ctan): Avoid internal overflow or cancellation in calculating
73636         denominator.
73637         * math/s_ctanf.c: Likewise.
73638         * math/s_ctanl.c: Likewise.
73639         * math/s_ctanh.c: Likewise.
73640         * math/s_ctanhf.c: Likewise.
73641         * math/s_ctanhl.c: Likewise.
73642         * math/libm-test.inc (ctan_test): Add more tests.
73643         (ctanh_test): Likewise.
73644         * sysdeps/i386/fpu/libm-test-ulps: Update.
73645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73647 2012-04-09  Andreas Jaeger  <aj@suse.de>
73649         [BZ #6894]
73650         * manual/filesys.texi (Directory Entries): Mention that d_namlen
73651         is an optional BSD extension.
73653         [BZ #10254]
73654         * manual/stdio.texi (Opening Streams): Document additional fopen
73655         parameters.
73657 2012-04-09  Roland McGrath  <roland@hack.frob.com>
73659         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73660         %eax without telling the compiler.
73662 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
73664         [BZ # 13963]
73665         * manual/install.texi: Use sourceware.org.
73667 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73669         [BZ #13873]
73670         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73671         (__ieee754_pow): Generate overflow and underflow using huge*huge
73672         and tiny*tiny rather than just returning constant infinity or zero
73673         for large exponents.
73674         * math/libm-test.inc (pow_test): Require overflow exceptions for
73675         applicable cases of large exponents.
73677         [BZ #706]
73678         * sysdeps/i386/fpu/e_pow.S (p10): New object.
73679         (__ieee754_pow): Use iterative multiplication algorithm only for
73680         integer exponents with absolute value below 1024.  Check for odd
73681         integer exponents when using algorithm for real exponents.
73682         * math/libm-test.inc (pow_test): Add more tests.
73683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73685 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
73687         [BZ #13705]
73688         * math/libm-test.inc (exp_test): Do not allow overflow exception
73689         on underflow test.
73691 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
73693         [BZ #13705]
73694         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73695         instead of __kernel_standard_f.
73697 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
73699         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73700         * sysdeps/x86_64/memset_chk.S: Likewise.
73702 2012-04-08  Andreas Jaeger  <aj@suse.de>
73704         [BZ #10153]
73705         * manual/startup.texi (Environment Access): Describe return value
73706         for putenv and setenv.
73708         [BZ #6895]
73709         * manual/filesys.texi (Directory Entries): Add description for
73710         DT_LNK.
73712         [BZ #6890]
73713         * manual/filesys.texi (Directory Entries): Clarify that it's file
73714         system not operating system in the description of DT_UNKNOWN.
73716         [BZ #6578]
73717         * manual/syslog.texi (closelog): Fix reference, it's openlog.
73719 2012-04-08  Stephen Compall  <s11@member.fsf.org>
73721         [BZ #6649]
73722         * manual/llio.texi (Opening and Closing Files): Add cross
73723         reference to explain mode argument.
73725 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
73727         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73728         * sysdeps/x86_64/memset_chk.S: Likewise.
73730 2012-04-07  David S. Miller  <davem@davemloft.net>
73732         * elf/elf.h (R_SPARC_WDISP10): Define.
73733         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73734         R_SPARC_SIZE32.
73735         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73736         R_SPARC_SIZE64 and R_SPARC_H34.
73738 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
73740         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73741         conditions and remove no longer applicable assertion.
73743 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73745         * bits/byteswap.h: Include <features.h>.
73746         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73747         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73749 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73751         * bits/byteswap.h (__bswap_16): Removed.
73752         Include <bits/byteswap-16.h> to get __bswap_16.
73753         * sysdeps/i386/bits/byteswap.h: Likewise.
73754         * sysdeps/s390/bits/byteswap.h: Likewise.
73755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73756         * bits/byteswap-16.h: New file.
73757         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73758         * sysdeps/s390/bits/byteswap-16.h: Likewise.
73759         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73760         * string/Makefile (headers): Add bits/byteswap-16.h.
73762 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73764         [BZ #13895]
73765         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73766         extra indirection.
73767         * nss/Makefile (tests-static, tests): Add tst-nss-static.
73768         * nss/tst-nss-static.c: New.
73770 2012-04-06  Robert Millan  <rmh@gnu.org>
73772         [BZ #6486]
73773         * manual/llio.texi (File Position Primitive): lseek
73774         refers to WHENCE when it really means OFFSET.
73776 2012-04-06  Andreas Jaeger  <aj@suse.de>
73778         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73779         strncmp declarations.
73781         * abilist/libc.abilist: Add __poll and __ppoll.
73783 2012-04-05  David S. Miller  <davem@davemloft.net>
73785         * scripts/check-local-headers.sh: Accept a host triplet in the
73786         path matched by the exclude regexp.
73788         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73789         definition.
73790         * sysdeps/powerpc/powerpc32/dl-machine.h
73791         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73792         * sysdeps/s390/s390-32/dl-machine.h
73793         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73794         * sysdeps/sparc/sparc32/dl-machine.h
73795         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73796         * sysdeps/sparc/sparc64/dl-machine.h
73797         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73799         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73800         lazy binding.
73801         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73802         undefined symbol errors.
73804         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73805         DT_NEEDED entries.
73807 2012-04-05  Michael Matz  <matz@suse.de>
73809         [BZ #13592]
73810         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73812 2012-04-05  Andreas Jaeger  <aj@suse.de>
73814         [BZ #13908]
73815         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73816         comment.
73818 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73820         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73821         which ROUND is no valid rounding mode.
73823 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73825         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73826         read again.
73827         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73829 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73831         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73832         an exception using FPU order intentionally.
73834 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73836         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73837         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73838         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73839         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73841 2012-04-05  Simon Josefsson  <simon@josefsson.org>
73843         [BZ #12340]
73844         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73845         EINVAL when BUFLEN is too smal.
73847 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
73849         [BZ #13553]
73850         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73851         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73853 2012-04-03  Andreas Jaeger  <aj@suse.de>
73855         [BZ #13938]
73856         * manual/setjmp.texi (System V contexts): Fix sentence.
73858         [BZ #13926]
73859         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73860         New macro for this case.
73861         [!__GNUC__] (__bswap_64): New inline function for this case.
73862         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73863         * bits/byteswap.h: Likewise.
73864         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73865         ull, guard with __GLIBC_HAVE_LONG_LONG.
73867         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73868         __GLIBC_HAVE_LONG_LONG.
73870         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
73871         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
73873 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73875         [BZ #13691]
73876         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
73877         inptr and inend, rather than using last_ch.
73879 2012-04-02  David S. Miller  <davem@davemloft.net>
73881         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
73882         * stdio-common/printf-parse.h (read_int): Change return type to
73883         'int', return -1 on INT_MAX overflow.
73884         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
73885         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
73886         overflows INT_MAX.  Check for overflow of in-format-string precision
73887         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
73888         SIZE_MAX not INT_MAX for integer overflow test.
73889         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73890         skip the construct in the format string but do not record anything.
73891         * stdio-common/bug22.c: Adjust to test both width/prevision
73892         INT_MAX overflow as well as total length INT_MAX overflow.  Check
73893         explicitly for proper errno values.
73895 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
73897         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
73898         CHAR_MAX.
73899         * string/test-strcmp.c [! WIDE]: Likewise.
73900         * time/tst-mktime2.c: Likewise for INT_MAX.
73901         * string/test-string.h: #include <sys/param.h> for MIN.
73903         * csu/init-first.c (__libc_init_first): Call __ctype_init.
73904         * sysdeps/i386/init-first.c (init): Likewise.
73905         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
73906         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
73907         * sysdeps/sh/init-first.c (init): Likewise.
73909 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
73911         * po/ru.po: Update from translation team.
73912         * po/vi.po: Likewise.
73914 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73916         * resolv/nss_dns/dns-host.c: Merge copyright years.
73918 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73920         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73921         Optimize memcpy with prefetch if
73922         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
73923         src, dst pointers have unequal 16 byte alignments.
73925 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73927         [BZ #13928]
73928         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
73929         from a CNAME entry and return the minimum ttl for the query.
73930         (gaih_getanswer_slice): Likewise.
73932 2012-03-30  Jeff Law  <law@redhat.com>
73934         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
73935         due to long keys.
73936         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
73937         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
73939         * resolv/nss_dns/dns-host.c: Update copyright year.
73941 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
73943         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
73944         requests to save a system call.  Fix check that all bytes are sent.
73946         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
73947         comments for sendmmsg.
73949 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73951         [BZ #13691]
73952         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
73953         with only 1 character between 0x0041 and 0x01b0.
73954         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
73955         * wcsmbs/tst-mbsnrtowcs.c: New file.
73957 2012-03-29  David S. Miller  <davem@davemloft.net>
73959         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
73960         small copies by hand.
73962 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73964         [BZ #13761]
73965         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
73966         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
73967         group memberships.
73969 2012-03-28  David S. Miller  <davem@davemloft.net>
73971         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
73972         that branches into memcpy.
73973         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
73974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
73975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73976         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
73977         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
73978         bits.
73979         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
73980         implementation too.
73981         * sysdeps/sparc/mempcpy.S: New file.
73983         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
73984         the IFUNC routine in the libc case.
73985         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73987         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
73988         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
73989         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
73990         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
73991         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
73992         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
73993         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
73994         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
73996         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
73997         loop to 256 bytes instead of 64 bytes and fix test signedness.
73999         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74000         * sysdeps/sparc/sparc32/Makefile: rather than here...
74001         * sysdeps/sparc/sparc64/Makefile: and here.
74003 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74005         * malloc/mallocbug.c: Avoid warnings about unused variables.
74007 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74009         [BZ #13760]
74010         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74011         in the right place. Discard and retry query if response is
74012         larger than input buffer size.
74014 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74016         [BZ #369]
74017         [BZ #2678]
74018         [BZ #3866]
74019         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74020         x for large integer exponent.
74021         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74022         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74023         sign of result as needed afterwards.
74024         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74025         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74026         result for underflowing pow the same as for overflow.
74027         (__kernel_standard_l): Handle powl overflow and underflow here
74028         rather than calling __kernel_standard.
74029         * math/libm-test.inc (pow_test): Add more tests.
74031         [BZ #3868]
74032         [BZ #13879]
74033         [BZ #13910]
74034         [BZ #13911]
74035         [BZ #13912]
74036         [BZ #13913]
74037         [BZ #13915]
74038         [BZ #13916]
74039         [BZ #13917]
74040         [BZ #13918]
74041         [BZ #13919]
74042         [BZ #13920]
74043         [BZ #13921]
74044         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74045         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74046         (__kernel_standard_l): New function.
74047         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74048         __kernel_standard.
74049         * math/w_acosl.c (__acosl): Likewise.
74050         * math/w_asinl.c (__asinl): Likewise.
74051         * math/w_atan2l.c (__atan2l): Likewise.
74052         * math/w_atanhl.c (__atanhl): Likewise.
74053         * math/w_coshl.c (__coshl): Likewise.
74054         * math/w_exp10l.c (__exp10l): Likewise.
74055         * math/w_exp2l.c (__exp2l): Likewise.
74056         * math/w_fmodl.c (__fmodl): Likewise.
74057         * math/w_hypotl.c (__hypotl): Likewise.
74058         * math/w_j0l.c (__j0l, __y0l): Likewise.
74059         * math/w_j1l.c (__j1l, __y1l): Likewise.
74060         * math/w_jnl.c (__jnl, __ynl): Likewise.
74061         * math/w_lgammal.c (__lgammal): Likewise.
74062         * math/w_log10l.c (__log10l): Likewise.
74063         * math/w_log2l.c (__log2l): Likewise.
74064         * math/w_logl.c (__logl): Likewise.
74065         * math/w_powl.c (__powl): Likewise.
74066         * math/w_remainderl.c (__remainderl): Likewise.
74067         * math/w_scalbl.c (sysv_scalbl): Likewise.
74068         * math/w_sinhl.c (__sinhl): Likewise.
74069         * math/w_sqrtl.c (__sqrtl): Likewise.
74070         * math/w_tgammal.c (__tgammal): Likewise.
74071         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74072         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74073         * math/libm-test.inc (acos_test): Add more tests.
74074         (acosh_test): Likewise.
74075         (asin_test): Likewise.
74076         (atanh_test): Likewise.
74077         (exp_test): Likewise.
74078         (exp10_test): Likewise.
74079         (exp2_test): Likewise.
74080         (expm1_test): Likewise.
74081         (lgamma_test): Likewise.
74082         (log_test): Likewise.
74083         (log10_test): Likewise.
74084         (log1p_test): Likewise.
74085         (log2_test): Likewise.
74086         (pow_test): Do not allow some spurious overflow exceptions.
74087         (sqrt_test): Add more tests.
74088         (tgamma_test): Likewise.
74089         (y0_test): Likewise.
74090         (y1_test): Likewise.
74091         (yn_test): Likewise.
74093 2012-03-27  Anton Blanchard  <anton@samba.org>
74095         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74096         MAP_HUGETLB.
74097         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74098         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74099         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74101 2012-03-27  David S. Miller  <davem@davemloft.net>
74103         * conform/Makefile: Run run-conformtest.sh using $(BASH).
74105         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74106         have-as-vis3 check.
74108 2012-03-27  Andreas Jaeger  <aj@suse.de>
74110         * sysdeps/x86_64/elf/configure.in: Moved to ...
74111         * sysdeps/x86_64/configure.in: ... here.
74112         * sysdeps/x86_64/elf/start.S: Moved to ...
74113         * sysdeps/x86_64/start.S: ... here.
74114         * sysdeps/x86_64/elf/configure: Delete.
74116         * sysdeps/x86_64/configure.in: Merge contents from
74117         sysdeps/i386/configure.in (without i686 check).
74119         * sysdeps/i386/elf/Versions: Merge into ...
74120         * sysdeps/i386/Versions: ... this.
74121         * sysdeps/i386/elf/Versions: Delete file.
74122         * sysdeps/i386/elf/start.S: Moved to ...
74123         * sysdeps/i386/start.S: ...here.
74124         * sysdeps/i386/elf/configure.in: Merge into...
74125         * sysdeps/i386/configure.in: ...here.
74126         * sysdeps/i386/elf/configure.in: Delete file.
74127         * sysdeps/i386/elf/configure: Delete file.
74129         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74130         * debug/backtracesyms.c: ... here.
74131         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74132         * debug/backtracesymsfd.c: ... here.
74133         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74134         * sysdeps/generic/ifunc-sel.h: ... here.
74136         * sysdeps/unix/i386/start.c: Delete file.
74137         * sysdeps/unix/sparc/start.c: Delete file.
74138         * sysdeps/unix/start.c: Delete file.
74140         * sysdeps/sh/elf/configure.in: Moved to ...
74141         * sysdeps/sh/configure.in: ... here.
74142         * sysdeps/sh/elf/start.S: Moved to ...
74143         * sysdeps/sh/start.S: ... here.
74144         * sysdeps/sh/elf/configure: Delete file.
74146         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74147         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74148         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74149         * sysdeps/powerpc/powerpc64/entry.h: ... here.
74150         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74151         * sysdeps/powerpc/powerpc64/start.S: here.
74152         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74153         * sysdeps/powerpc/powerpc64/Makefile: ... this.
74154         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74155         * sysdeps/powerpc/powerpc64/configure.in: ... this.
74156         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74158         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74159         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74160         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74161         * sysdeps/powerpc/powerpc32/start.S: ... here.
74162         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74163         * sysdeps/powerpc/powerpc32/configure.in: ... this.
74164         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74166         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74167         * sysdeps/powerpc/ifunc-sel.h: ... here.
74168         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74169         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74171         * sysdeps/sparc/elf/configure.in: Moved to ...
74172         * sysdeps/sparc/configure.in: ... here.
74173         * sysdeps/sparc/elf/configure: Delete file.
74174         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74175         * sysdeps/sparc/sparc32/start.S: ... here.
74176         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74177         * sysdeps/sparc/sparc64/start.S: ... here.
74178         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74179         * sysdeps/sparc/sparc32/Makefile: ... this.
74180         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74181         * sysdeps/sparc/sparc64/Makefile: ... this.
74183         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74184         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74185         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74186         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74187         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74188         * sysdeps/s390/s390-32/setjmp.S: ... here.
74189         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74190         * sysdeps/s390/s390-32/configure.in: ... here.
74191         * sysdeps/s390/s390-32/elf/configure: Delete file.
74192         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74193         * sysdeps/s390/s390-32/start.S: ... here.
74195         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74196         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74197         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74198         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74199         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74200         * sysdeps/s390/s390-64/setjmp.S: ... here.
74201         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74202         * sysdeps/s390/s390-64/configure.in: ... here
74203         * sysdeps/s390/s390-64/elf/configure: Delete file.
74204         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74205         * sysdeps/s390/s390-64/start.S: ... here.
74206         * sysdeps/s390/s390-64/elf/configure: Delete.
74208         * configure.in: Remove support for elf directories in sysdeps.
74210         * configure: Regenerated.
74211         * sysdeps/i386/configure: Regenerated.
74212         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74213         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74214         * sysdeps/s390/s390-32/configure: Regenerated.
74215         * sysdeps/s390/s390-64/configure: Regenerated.
74216         * sysdeps/sh/configure: Regenerated.
74217         * sysdeps/sparc/configure: Regenerated.
74218         * sysdeps/x86_64/configure: Regenerated.
74220 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
74222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74224         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74225         denormal result into account.
74227 2012-03-25  Roland McGrath  <roland@hack.frob.com>
74229         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74230         Reported by Allan McRae <allan@archlinux.org>.
74232 2012-03-23  Jeff Law  <law@redhat.com>
74234         * nss/getnssent.c (__nss_getent): Fix typo.
74236 2012-03-23  David S. Miller  <davem@davemloft.net>
74238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74240 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
74242         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74243         to pad to uint64_t for each field.
74244         (dl_tls_index): Replace unsigned long with uint64_t.
74246 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
74247         Paul Pluzhnikov  <ppluzhnikov@google.com>
74249         [BZ #6528]
74250         * grp/Makefile (otherlibs): Don't set it.
74251         * inet/Makefile (otherlibs): Likewise.
74252         * login/Makefile (otherlibs): Likewise.
74253         * nscd/Makefile (otherlibs): Likewise.
74254         * posix/Makefile (otherlibs): Likewise.
74255         * pwd/Makefile (otherlibs): Likewise.
74256         * rt/Makefile (otherlibs): Likewise.
74257         * sunrpc/Makefile (otherlibs): Likewise.
74258         * nss/Makefile (otherlibs): Likewise.
74259         Add libnss_files to routines and static-only-routines.
74260         ($(objpfx)getent): Remove rule.
74261         * resolv/Makefile: Add libnss_dns and libresolv to routines and
74262         static-only-routines.
74264 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74266         [BZ #13892]
74267         * math/s_cexp.c: Include <float.h>.
74268         (__cexp): Handle exp result overflowing not necessarily
74269         overflowing both real and imaginary parts of result.
74270         * math/s_cexpf.c: Likewise.
74271         * math/s_cexpl.c: Likewise.
74272         * math/libm-test.inc (cexp_test): Add more tests.
74273         * sysdeps/i386/fpu/libm-test-ulps: Update.
74274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74276 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74278         * include/link.h (ELFW): New macro.
74279         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74280         Replace ELF64_R_TYPE with ELFW(R_TYPE).
74282 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74284         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74285         with uint64_t.
74287 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74289         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74290         declaration.
74291         (struct La_x32_retval): Likewise.
74293 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74295         * sysdeps/x86_64/preconfigure.in: New file.
74296         * sysdeps/x86_64/preconfigure: New generated file.
74298 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74300         [BZ #13824]
74301         * math/e_exp2l.c: Include <float.h>.
74302         (__ieee754_exp2l): Handle overflow and underflow cases
74303         separately.  Only pass fractional part of argument to
74304         __ieee754_expl.
74305         * math/libm-test.inc (exp2_test): Add more tests.
74307         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74308         negating x to take absolute value.
74309         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74310         Likewise.
74311         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74312         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74313         Likewise.
74314         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74315         computing low part if x was negated.
74316         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74318 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74320         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74321         la_x32_gnu_pltexit.
74322         (pltexit): Cast int_retval to ptrdiff_t.
74323         * elf/tst-auditmod3b.c: Likewise.
74324         * elf/tst-auditmod4b.c: Likewise.
74325         * elf/tst-auditmod5b.c: Likewise.
74326         * elf/tst-auditmod6b.c: Likewise.
74327         * elf/tst-auditmod6c.c: Likewise.
74328         * elf/tst-auditmod7b.c: Likewise.
74330         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74331         and x32_gnu_pltexit.
74333         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74334         __ELF_NATIVE_CLASS.
74335         (La_x32_regs): New macro.
74336         (La_x32_retval): Likewise.
74337         (la_x32_gnu_pltenter): New function prototype.
74338         (la_x32_gnu_pltexit): Likewise.
74340 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
74342         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74343         exponent.
74345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74347         * configure.in (libc_cv_cc_nofma): Check for option to disable
74348         generation of FMA instructions.
74349         * configure: Regenerate.
74350         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74351         * sysdeps/ieee754/dbl-64/Makefile: New file.
74352         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74353         Remove brandred-fma4.
74354         (CFLAGS-brandred-fma4.c): Remove.
74355         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74356         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74357         define.
74358         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74359         define.
74361 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74363         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74364         LLONG_MAX != LONG_MAX.
74365         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74366         (_fitoa_word): Likewise.
74367         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74368         LLONG_MAX != LONG_MAX.
74369         * stdio-common/_itowa.h: Include <_itoa.h>.
74370         (_itowa_word): Use _ITOA_WORD_TYPE on value.
74371         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
74372         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
74373         only if not defined.
74374         (_ITOA_WORD_TYPE): Likewise.
74375         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74376         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74378 2012-03-21  David S. Miller  <davem@davemloft.net>
74380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74382 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74384         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74385         of x86_64 when setting libc_cv_slibdir, libdir and
74386         libc_cv_localedir.
74387         * sysdeps/unix/sysv/linux/configure: Regenerated.
74389 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74391         * manual/lang.texi (Old Varargs): Remove section.
74392         (How Variadic): Update menu.
74393         (va_start): Do not mention varargs.h.
74395 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74396             Joseph Myers  <joseph@codesourcery.com>
74398         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74399         link test.
74400         * configure: Regenerated.
74402 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74404         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74405         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74406         conformtest.pl
74408 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74410         * NOTES: Remove.
74411         * Makefile (files-for-dist): Remove NOTES.
74412         (NOTES): Remove rule.
74413         * README: Don't refer to NOTES.
74414         * manual/creature.texi: Don't include macros.texi.
74415         * manual/intro.texi (creature.texi): Remove comment referring to
74416         NOTES.
74418         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74419         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74420         * configure: Regenerated.
74421         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74422         LIBC_TRY_CC_OPTION.
74423         (libc_cv_as_i686): Likewise.
74424         (libc_cv_cc_avx): Likewise.
74425         (libc_cv_cc_sse2avx): Likewise.
74426         (libc_cv_cc_fma4): Likewise.
74427         (libc_cv_cc_novzeroupper): Likewise.
74428         * sysdeps/i386/configure: Regenerated.
74430         [BZ #13883]
74431         * sysdeps/i386/fpu/s_cexp.S: Remove.
74432         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74433         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74434         * math/libm-test.inc (cexp_test): Add more tests.
74435         * sysdeps/i386/fpu/libm-test-ulps: Update.
74436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74438 2012-03-21  Allan McRae  <allan@archlinux.org>
74440         * timezone/Makefile: Do not install iso3166.tab and zone.tab
74442 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74444         [BZ #13871]
74445         * math/w_exp2.c: Do not include <float.h>.
74446         (o_threshold, u_threshold): Remove.
74447         (__exp2): Calculate result before checking finiteness and calling
74448         __kernel_standard.
74449         * math/w_exp2f.c: Likewise.
74450         * math/w_exp2l.c: Likewise.
74451         * math/libm-test.inc (exp2_test): Require overflow exception for
74452         1e6 input.
74454         [BZ #3866]
74455         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74456         range of signed 64-bit integers before using fistpll.  Remove
74457         checks for whether integers fit in mantissa bits.
74458         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74459         the range of signed 32-bit integers before using fistpl.  Remove
74460         checks for whether integers fit in mantissa bits.
74461         * sysdeps/i386/fpu/e_powl.S (p64): New object.
74462         (__ieee754_powl): Test for y outside the range of signed 64-bit
74463         integers before using fistpll.  Reduce 64-bit values to 63-bit
74464         ones as needed.
74465         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74466         divide-by-zero is raised for zero to large negative powers.
74467         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74468         (__ieee754_powl): Test for y outside the range of signed 64-bit
74469         integers before using fistpll.  Reduce 64-bit values to 63-bit
74470         ones as needed.
74471         * math/libm-test.inc (pow_test): Add more tests.
74473 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74475         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74476         <stdio-common/_itoa.h>.
74477         * debug/segfault.c: Likewise.
74478         * elf/dl-cache.c: Likewise.
74479         * elf/dl-minimal.c: Likewise.
74480         * elf/dl-misc.c: Likewise.
74481         * elf/dl-sysdep.c: Likewise.
74482         * elf/dl-version.c: Likewise.
74483         * elf/rtld.c: Likewise.
74484         * hurd/hurdsock.c: Likewise.
74485         * hurd/lookup-retry.c: Likewise.
74486         * malloc/malloc.c: Likewise.
74487         * malloc/mtrace.c: Likewise.
74488         * nscd/nscd_getgr_r.c: Likewise.
74489         * nscd/nscd_getpw_r.c: Likewise.
74490         * nscd/nscd_getserv_r.c: Likewise.
74491         * posix/getopt_init.c: Likewise.
74492         * posix/wordexp.c: Likewise.
74493         * stdio-common/_itoa.c: Likewise.
74494         * stdio-common/printf_fphex.c: Likewise.
74495         * stdio-common/vfprintf.c: Likewise.
74496         * string/_strerror.c: Likewise.
74497         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74498         * sysdeps/i386/i686/hp-timing.h: Likewise.
74499         * sysdeps/mach/_strerror.c: Likewise.
74500         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74501         * sysdeps/mach/hurd/sethostid.c: Likewise.
74502         * sysdeps/mach/hurd/xmknodat.c: Likewise.
74503         * sysdeps/mach/xpg-strerror.c: Likewise.
74504         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74506         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74507         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74508         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74509         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74510         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74511         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74512         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74513         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74514         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74515         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74516         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74517         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74518         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74519         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74520         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74521         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74522         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74523         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74524         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74526         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74528         * stdio-common/_itoa.h: Moved to ...
74529         * sysdeps/generic/_itoa.h: Here.
74531         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74533         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74534         instead of "_itoa.h" and "_itowa.h".
74535         * stdio-common/vfprintf.: Likewise.
74537 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74539         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74540         <bits/wordsize.h>.
74541         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74542         (__signbit): Likewise.
74543         (llrintf): Likewise.
74544         (llrint): Likewise.
74546 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74548         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74549         __WORDSIZE != 64.
74551 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
74553         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74554         OVERFLOW_EXCEPTION_OK.
74555         * math/libm-test.inc ("Philosophy"): Update comment about
74556         exception testing.
74557         (OVERFLOW_EXCEPTION): Define.
74558         (OVERFLOW_EXCEPTION_OK): Likewise.
74559         (INVALID_EXCEPTION_OK): Renumber.
74560         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74561         (IGNORE_ZERO_INF_SIGN): Likewise.
74562         (test_exceptions): Handle FE_OVERFLOW.
74563         (exp10_test): Expect overflow exceptions.
74564         (exp2_test): Likewise.
74565         (expm1_test): Likewise.
74566         (nextafter_test): Likewise.
74567         (pow_test): Likewise.
74568         (scalbn_test): Likewise.
74569         (scalbln_test): Likewise.
74571 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74573         * sysdeps/x86_64/bits/atomic.h
74574         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74575         64bit integer.
74576         (atomic_exchange_acq): Likewise.
74577         (__arch_exchange_and_add_body): Likewise.
74578         (__arch_add_body): Likewise.
74579         (atomic_add_negative): Likewise.
74580         (atomic_add_zero): Likewise.
74582 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74584         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74585         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74587 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74589         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74590         Check __x86_64__ instead of __WORDSIZE.
74592 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74594         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74596 2012-03-19  David S. Miller  <davem@davemloft.net>
74598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74600         * sysdeps/sparc/fpu/fenv_private.h: New file.
74601         * sysdeps/sparc/fpu/math_private.h: Use it.
74602         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74603         Remove.
74604         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74605         (libc_feholdexcept_setroundl): Remove.
74606         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74607         Remove.
74608         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74609         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74611 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74613         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74614         int64_t instead of long int.
74615         (INSERT_WORDS64): Likewise.
74617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74619         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74620         _Unwind_GetCFA return to _Unwind_Ptr first.
74622 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
74624         [BZ #13629]
74625         * math/s_clog.c: Include <float.h>.
74626         (__clog): Scale large or subnormal inputs.
74627         * math/s_clogf.c: Likewise.
74628         * math/s_clogl.c: Likewise.
74629         * math/s_clog10.c: Include <float.h>.
74630         (M_LOG10_2): Define.
74631         (__clog10): Scale large or subnormal inputs.
74632         * math/s_clog10f.c: Likewise.
74633         * math/s_clog10l.c: Likewise.
74634         * math/libm-test.inc (clog_test): Add more tests.
74635         (clog10_test): Likewise.
74636         * sysdeps/i386/fpu/libm-test-ulps: Update.
74637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74639         [BZ #11451]
74640         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74641         x and y.
74642         * math/libm-test.inc (atan2_test): Add another test.
74644         * Makerules (common-objdir-compile): Remove.
74645         * sysdeps/unix/Makefile (config-generated): Do not add
74646         $(unix-generated) to variable.
74647         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74648         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74649         Remove rule.
74650         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74651         Likewise.
74652         [generic bits/local_lim.h] (before-compile): Do not append to
74653         variable.
74654         [generic bits/local_lim.h] (common-generated): Likewise.
74655         [generic sys/param.h] (before-compile): Do not append to variable.
74656         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74657         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74658         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74659         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74660         include.
74661         [generic sys/param.h] (sys/param.h-includes): Remove variable.
74662         [generic sys/param.h] (sys/param.h-includes): Remove rule.
74663         [generic sys/param.h] ($(addprefix
74664         $(common-objpfx),$(sys/param.h-includes))): Likewise.
74665         [generic sys/param.h] (common-generated): Do not append to
74666         variable.
74667         [generic sys/param.h] (sysdep_headers): Likewise.
74668         [generic bits/errno.h] (before-compile): Do not append to
74669         variable.
74670         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74671         rule.
74672         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74673         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74674         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74675         [generic bits/errno.h] (common-generated): Do not append to
74676         variable.
74677         [generic bits/ioctls.h] (before-compile): Do not append to
74678         variable.
74679         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74680         rule.
74681         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74682         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74683         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74684         rule.
74685         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74686         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74687         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74688         [generic bits/ioctls.h] (common-generated): Do not append to
74689         variable.
74690         [generic sys/syscall.h] (syscall.h): Remove variable.
74691         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74692         rule.
74693         [generic sys/syscall.h] (before-compile): Do not append to
74694         variable.
74695         [generic sys/syscall.h] (common-generated): Likewise.
74696         * sysdeps/unix/errnos-tmpl.c: Remove file.
74697         * sysdeps/unix/errnos.awk: Likewise.
74698         * sysdeps/unix/ioctls-tmpl.c: Likewise.
74699         * sysdeps/unix/ioctls.awk: Likewise.
74700         * sysdeps/unix/mk-local_lim.c: Likewise.
74701         * sysdeps/unix/snarf-ioctls: Likewise.
74703 2012-03-19  Richard Henderson  <rth@twiddle.net>
74705         * sysdeps/i386/fpu/fenv_private.h: New file.
74706         * sysdeps/i386/fpu/math_private.h: Use it.
74707         (math_opt_barrier, math_force_eval): Remove.
74708         (libc_feholdexcept_setround_53bit): Remove.
74709         (libc_feupdateenv_53bit): Remove.
74710         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74711         (math_opt_barrier, math_force_eval): Remove.
74712         (libc_feholdexcept): Remove.
74713         (libc_feholdexcept_setround): Remove.
74714         (libc_fetestexcept, libc_fesetenv): Remove.
74715         (libc_feupdateenv_test): Remove.
74716         (libc_feupdateenv, libc_feholdsetround): Remove.
74717         (libc_feresetround): Remove.
74719         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74720         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74722         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74723         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74724         (libc_feupdateenv_testl): New.
74725         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74726         (libc_feupdateenv_testf): New.
74727         (libc_feupdateenv): Use libc_feupdateenv_test.
74728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74729         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74731         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74732         (libc_feholdsetroundf, libc_feholdsetroundl): New.
74733         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74734         (libc_feresetround_noex): New.
74735         (libc_feresetround_noexf): New.
74736         (libc_feresetround_noexl): New.
74737         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74738         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74739         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74740         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74741         SET_RESTORE_ROUND.
74742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74743         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74744         (__cos): Likewise.
74745         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74746         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74747         SET_RESTORE_ROUND_NOEX.
74748         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74749         SET_RESTORE_ROUND_NOEXF.
74750         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74751         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74752         (libc_feholdsetroundf): New.
74753         (libc_feresetround, libc_feresetroundf): New.
74755         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74756         (libc_feholdexcept_setround_53bit): Convert from macro to function.
74757         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
74759         * sysdeps/generic/math_private.h: Include <fenv.h>.
74760         (default_libc_feholdexcept): New.
74761         (default_libc_feholdexcept_setround): New.
74762         (default_libc_fesetenv, default_libc_feupdateenv): New.
74763         (libc_feholdexcept): Only define if undefined.
74764         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74765         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74766         (libc_feholdexcept_setroundl): Likewise.
74767         (libc_feholdexcept_setround_53bit): Likewise.
74768         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74769         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74770         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74771         (libc_feupdateenv_53bit): Likewise.
74772         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74773         (libc_feholdexcept): Convert from macro to inline function.
74774         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74775         (libc_fesetenv, libc_feupdateenv): Likewise.
74777         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74778         not previously defined.
74779         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74780         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74781         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74782         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74783         * sysdeps/ieee754/flt-32/math_private.h: New file.
74784         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74785         math_private.h below SET_FLOAT_WORD.
74786         (__isnan, __isinf_ns, __finite): Remove.
74787         (__isnanf, __isinf_nsf, __finitef): Remove.
74789 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
74791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74793 2012-03-17  David S. Miller  <davem@davemloft.net>
74795         [BZ #6471]
74796         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74797         for 2.16.
74799 2012-03-16  David S. Miller  <davem@davemloft.net>
74801         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74802         warnings.
74804         [BZ #6471]
74805         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74806         properly.
74807         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74808         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74809         sysdep_routines when subdir is sysvipc.
74810         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74811         __getshmlba helper.
74813         * sysdeps/sparc/fpu/libm-test/ulps: Update.
74815 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74817         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74818         [__LP64__].
74820 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74822         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74823         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74824         (__lround): Renamed to ...
74825         (__llround): This.  Replace long int with long long int.
74826         Define lround functions as aliases of llround functions.
74827         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74831         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74832         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
74833         adresses to uintptr_t.  Replace "long int" and "unsigned long
74834         int" with "greg_t" on va_arg.
74836 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74838         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74839         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74841         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74842         Move e_machine check before EI_CLASS check.  Handle x32
74843         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74844         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74845         SKIP_EM_IA_64 and include
74846         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74848         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74849         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74850         (add_system_dir): New macro.
74852         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74853         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74855 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74857         [BZ #2551]
74858         [BZ #2552]
74859         [BZ #2553]
74860         [BZ #2554]
74861         [BZ #2562]
74862         [BZ #2563]
74863         [BZ #2565]
74864         [BZ #2566]
74865         [BZ #2576]
74866         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74867         (y0): Likewise.
74868         * math/w_j0f.c (j0f): Likewise.
74869         (y0f): Likewise.
74870         * math/w_j0l.c (__j0l): Likewise.
74871         (__y0l): Likewise.
74872         * math/w_j1.c (j1): Likewise.
74873         (y1): Likewise.
74874         * math/w_j1f.c (j1f): Likewise.
74875         (y1f): Likewise.
74876         * math/w_j1l.c (__j1l): Likewise.
74877         (__y1l): Likewise.
74878         * math/w_jn.c (jn): Likewise.
74879         (yn): Likewise.
74880         * math/w_jnf.c (jnf): Likewise.
74881         (ynf): Likewise.
74882         * math/w_jnl.c (__jnl): Likewise.
74883         (__ynl): Likewise.
74884         * math/libm-test.inc (j0_test): Add more tests.
74885         (j1_test): Likewise.
74886         (jn_test): Likewise.  Add trailing semicolon to existing test.
74887         (y0_test): Likewise.
74888         (y1_test): Likewise.
74889         * sysdeps/i386/fpu/libm-test-ulps: Update.
74890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74892         [BZ #13851]
74893         [BZ #13854]
74894         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
74895         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
74896         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
74897         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
74898         (__tanl): Set errno for infinite argument.
74899         * sysdeps/i386/fpu/mptan.c: Remove.
74900         * sysdeps/i386/fpu/s_tan.S: Likewise.
74901         * sysdeps/i386/fpu/s_tanl.S: Likewise.
74902         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
74903         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
74904         * math/libm-test.inc (tan_test): Add more tests and enable more
74905         tests for double and long double.
74906         * sysdeps/i386/fpu/libm-test-ulps: Update.
74907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74909 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
74911         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
74912         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
74914 2012-03-16  Roland McGrath  <roland@hack.frob.com>
74916         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
74917         * configure.in: Use it for both main tree and add-ons.
74918         * configure: Regenerated.
74920 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74922         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
74924 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74926         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
74927         in comment.
74929         [BZ #13851]
74930         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
74931         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
74932         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
74933         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
74934         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
74935         infinite argument.
74936         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
74937         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
74938         != 0 for prec == 2.
74939         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
74940         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
74941         * sysdeps/i386/fpu/s_cosl.S: Likewise.
74942         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
74943         * sysdeps/i386/fpu/s_sinl.S: Likewise.
74944         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
74945         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
74946         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
74947         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
74948         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
74949         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
74950         * math/libm-test.inc (cos_test): Add more tests and enable more
74951         tests for long double.
74952         (sin_test): Likewise.
74953         (sincos_test): Likewise.
74954         * sysdeps/i386/fpu/libm-test-ulps: Update.
74955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74957 2012-03-16  David S. Miller  <davem@davemloft.net>
74959         * sysdeps/sparc/fpu/math_private.h: New file.
74961 2012-03-15  David S. Miller  <davem@davemloft.net>
74963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
74964         file.
74965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
74966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
74967         file.
74968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
74969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
74970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
74971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
74972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
74973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
74974         sysdep routines.
74975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
74977         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
74978         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
74980         * sysdeps/sparc/sparc-ifunc.h: New file.
74981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
74982         sparc-ifunc.h
74983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
74984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
74985         Likewise.
74986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
74987         Likewise.
74988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
74989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
74990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
74992         Likewise.
74993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
74995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
74997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
74998         Likewise.
74999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75000         Likewise.
75001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75007         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75008         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75010         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75018         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75020         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75022         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75023         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75024         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75026 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75028         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75029         scaling.
75030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75032 2012-03-15  Andreas Jaeger  <aj@suse.de>
75034         [BZ #13852]
75035         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75036         ieee754/flt-32 implementation for sin, cos and sincos.
75037         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75038         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75039         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75040         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75041         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75042         ieee754/flt-32 implementation for tan.
75044         * math/libm-test.inc (cos_test): Enable some large input tests for
75045         float as well
75046         (sin_test): Likewise.
75047         (sincos_test): Likewise.
75048         (tan_test): Add tests for large input.
75050         * sysdeps/i386/fpu/libm-test-ulps: Update.
75052 2012-03-15  Andreas Jaeger  <aj@suse.de>
75054         [BZ #13658]
75055         * math/libm-test.inc (cos_test): Add more test cases.
75056         (sin_test): Likewise.
75057         (sincos_test): Likewise.
75059 2012-03-15  Andreas Jaeger  <aj@suse.de>
75061         [BZ #13837]
75062         * math/libm-test.inc (cos_test): Add a test case for large input
75063         value.
75064         (sin_test): Likewise.
75065         (sincos_test): Likewise.
75067 2012-03-15  Andreas Jaeger  <aj@suse.de>
75068             Joseph Myers  <joseph@codesourcery.com>
75070         [BZ #13658]
75071         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75072         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75073         * sysdeps/i386/fpu/branred.c: Likewise.
75074         * sysdeps/i386/fpu/dosincos.c: Likewise.
75075         * sysdeps/i386/fpu/mpa.c: Likewise.
75076         * sysdeps/i386/fpu/s_cos.S: Likewise.
75077         * sysdeps/i386/fpu/s_sin.S: Likewise.
75078         * sysdeps/i386/fpu/s_sincos.S: Likewise.
75079         * sysdeps/i386/fpu/sincos32.c: Likewise.
75081         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75082         Define.
75083         (libc_feupdateenv_53bit): Define.
75084         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75085         Define.
75086         (libc_feupdateenv_53bit): Define.
75088         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75089         53 bit (without extend i386 double precision).
75091         * math/libm-test.inc (sincos_test): Add tests for large input.
75092         (sin): Likewise.
75093         (cos): Likewise.
75095         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75097 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75101 2012-03-15  David S. Miller  <davem@davemloft.net>
75103         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75104         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75105         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75106         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75119         file.
75120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75122         file.
75123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75125         file.
75126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75128         file.
75129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75131         fmin/fmax sysdep routines.
75132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75134 2012-03-14  David S. Miller  <davem@davemloft.net>
75136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75141         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75158         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75159         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75161         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75164         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75165         routines.
75166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75167         file.
75168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75170         file.
75171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75173         file.
75174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75176         file.
75177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75179         file.
75180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75182         file.
75183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75184         file.
75185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75186         file.
75187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75188         file.
75189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75190         New file.
75191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75192         file.
75193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75194         file.
75195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75197         file.
75198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75200         file.
75201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75203         file.
75204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75206         VIS3 routines.
75208         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75209         New file.
75211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75213         * sysdeps/sparc/configure.in: New file.
75214         * sysdeps/sparc/configure: Generate.
75215         * configure.in (libc_cv_sparc_as_vis3): Substitute.
75216         * configure: Regenerate.
75217         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75218         * config.make.in (have-as-vis3): New.
75219         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75220         available use -Av9d instead of -Av9a.
75221         * sysdeps/sparc/sparc64/Makefile: Likewise.
75222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75224         New file.
75225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75226         file.
75227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75228         New file.
75229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75230         file.
75231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75233         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75234         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75237         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75238         fzeros/fnegs to load 0x80000000 into a float register instead of
75239         using the stack.
75240         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75242 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75245         bits/syscall.h.
75246         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75247         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75248         ($(inst_includedir)/bits/syscall.h): Remove rule.
75249         ($(objpfx)bits/syscall.d): Include instead of
75250         $(objpfx)syscall-list.d.
75251         (generated): Change syscall-list.h and syscall-list.d to
75252         bits/syscall.h and bits/syscall.d.
75254 2012-03-14  Roland McGrath  <roland@hack.frob.com>
75256         [BZ #13846]
75257         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75259 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75261         [BZ #13841]
75262         * math/s_csqrt.c: Include <float.h>.
75263         (__csqrt): Scale large or subnormal inputs.
75264         * math/s_csqrtf.c: Likewise.
75265         * math/s_csqrtl.c: Likewise.
75266         * math/libm-test.inc (csqrt_test): Add more tests.
75267         * sysdeps/i386/fpu/libm-test-ulps: Update.
75268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75270         [BZ #13840]
75271         * math/libm-test.inc (hypot_test): Add more tests.
75273 2012-03-13  David S. Miller  <davem@davemloft.net>
75275         [BZ #13840]
75276         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75277         double-precision for the calculation instead of scaling.
75279 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
75281         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75282         manipulate bits before adding and subtracting TWO52[sx].
75283         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75284         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75285         Likewise.
75286         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75288 2012-03-13  David S. Miller  <davem@davemloft.net>
75290         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75291         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75292         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75293         rtld-global-offsets.h
75294         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75296         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75297         large parameters.
75299         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75301         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75302         'err' in the ifdef scope in which it is actually used.
75304         * nss/nss_db/db-init.c: Include string.h
75306 2012-03-12  David S. Miller  <davem@davemloft.net>
75308         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75309         masking out of the most significant byte of random value used.
75310         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75311         Fix coding style in previous change.
75313         * sysdeps/unix/sysv/linux/kernel-features.h
75314         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75315         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75316         expression.
75317         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75318         later.
75320 2012-03-11  David S. Miller  <davem@davemloft.net>
75322         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75323         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75324         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75325         for 'resultvar' otherwise things get truncated on 64-bit.
75327         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75328         Fix masking out of the most significant byte of random value used.
75330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75332 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
75334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75336 2012-03-09  David S. Miller  <davem@davemloft.net>
75338         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75339         variables with appropriate CPP guards.
75340         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75341         from the frame pointer, not the stack pointer.  Correct layout
75342         comments.  Fix test on resulting framesize and the management of
75343         the outregs buffer for pltexit.  Preserve floating point return
75344         values across _dl_call_pltexit call.
75345         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75346         framesize and the management of the outregs buffer for pltexit.
75347         Preserve floating point return values across _dl_call_pltexit
75348         call.
75349         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75350         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75351         (la_sparc64_gnu_pltexit): New functions.
75352         (print_exit): Fix format string for return register value.
75354 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
75356         * sunrpc/Makefile (others): Add rpcgen.
75357         ($(objpfx)rpcgen): Remove special build rule and dependency on
75358         libc.
75359         * sunrpc/rpcgen.c: New file.
75361 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
75363         [BZ #13673]
75364         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75365         * stdio-common/bug-vfprintf-nargs.c: Likewise.
75366         * sysdeps/i386/crti.S: Likewise.
75367         * sysdeps/i386/crtn.S: Likewise.
75368         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75369         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75370         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75371         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75372         * sysdeps/sh/crti.S: Likewise.
75373         * sysdeps/sh/crtn.S: Likewise.
75374         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75376         [BZ #13673]
75377         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75378         with URL.
75379         * locale/programs/locfile-kw.gperf: Likewise.
75380         * locale/programs/charmap-kw.h: Regenerated.
75381         * locale/programs/locfile-kw.h: Likewise.
75383         [BZ #13673]
75384         * intl/plural.y: Replace FSF snail mail address with URL.
75385         * intl/plural.c: Regenerated.
75387 2012-03-09  Richard Henderson  <rth@twiddle.net>
75389         * include/math_private.h: Remove file.
75390         * math/math_private.h: Move file ...
75391         * sysdeps/generic/math_private.h: ... here.
75393         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75394         * sysdeps/powerpc/fpu/math_private.h: Likewise.
75395         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75397         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75398         and <math_private.h>.
75399         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75400         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75401         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75402         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75403         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75404         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75405         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75407         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75408         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75410         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75411         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75412         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75413         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75414         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75415         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75416         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75417         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75418         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75419         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75420         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75421         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75422         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75423         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75424         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75425         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75426         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75428         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75429         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75430         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75431         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75432         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75433         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75434         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75435         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75436         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75437         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75438         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75439         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75440         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75441         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75442         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75443         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75444         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75445         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75446         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75447         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75448         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75449         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75450         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75451         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75452         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75453         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75454         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75455         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75456         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75457         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75458         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75459         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75460         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75461         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75462         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75463         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75464         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75465         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75466         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75467         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75468         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75469         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75470         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75471         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75472         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75473         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75475         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75476         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75477         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75478         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75479         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75480         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75481         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75482         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75483         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75484         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75485         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75486         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75487         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75488         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75489         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75490         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75491         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75492         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75493         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75494         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75495         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75496         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75497         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75498         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75499         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75500         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75501         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75502         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75503         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75504         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75505         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75506         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75507         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75508         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75509         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75510         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75511         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75512         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75513         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75514         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75515         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75516         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75517         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75518         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75519         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75520         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75521         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75522         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75523         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75524         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75525         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75526         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75527         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75528         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75529         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75530         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75531         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75532         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75533         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75534         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75535         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75536         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75537         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75538         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75539         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75540         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75541         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75542         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75543         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75544         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75545         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75546         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75547         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75548         * sysdeps/ieee754/k_standard.c: Likewise.
75549         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75550         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75551         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75552         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75553         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75554         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75555         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75556         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75557         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75558         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75559         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75560         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75561         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75562         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75563         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75564         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75565         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75566         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75567         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75568         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75569         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75570         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75571         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75572         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75573         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75574         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75575         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75576         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75577         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75578         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75579         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75580         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75581         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75582         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75583         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75584         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75585         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75586         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75587         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75588         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75589         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75590         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75591         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75592         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75593         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75594         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75595         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75596         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75597         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75598         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75599         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75600         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75601         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75602         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75603         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75604         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75605         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75606         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75607         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75608         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75609         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75610         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75611         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75612         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75613         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75614         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75615         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75616         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75617         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75618         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75619         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75621         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75622         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75623         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75624         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75625         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75626         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75627         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75628         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75629         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75631         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75632         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75633         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75634         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75635         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75636         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75637         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75638         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75639         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75640         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75641         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75642         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75643         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75644         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75645         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75646         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75647         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75648         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75649         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75650         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75651         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75652         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75653         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75656         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75657         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75658         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75659         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75660         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75661         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75662         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75663         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75664         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75665         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75666         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75667         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75668         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75669         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75670         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75671         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75672         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75673         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75674         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75675         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75676         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75677         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75678         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75679         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75680         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75681         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75682         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75683         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75684         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75685         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75686         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75687         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75688         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75689         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75690         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75691         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75692         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75693         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75694         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75695         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75696         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75697         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75698         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75699         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75700         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75701         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75702         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75703         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75704         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75705         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75706         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75707         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75708         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75709         * sysdeps/ieee754/s_lib_version.c: Likewise.
75710         * sysdeps/ieee754/s_matherr.c: Likewise.
75711         * sysdeps/ieee754/s_signgam.c: Likewise.
75712         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75713         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75714         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75715         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75716         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75717         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75718         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75719         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75720         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75721         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75722         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75723         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75724         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75725         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75726         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75727         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75728         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75729         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75730         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75734 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75736         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75737         * sunrpc/rpc_main.c: Likewise.
75738         * sunrpc/rpc_svcout.c: Likewise.
75740 2012-03-09  David S. Miller  <davem@davemloft.net>
75742         * include/math_private.h: New file.
75744 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75746         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75747         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75748         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75749         from <bits/socket_type.h>.
75750         (enum __socket_type): Don't define here.
75751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75753         bits/socket_type.h.
75755         [BZ #13566]
75756         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75757         checking __USE_GNU.
75759         * Makerules ($(inst_includedir)/%.h): New rule.
75760         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75761         (install-others): Remove variable setting.
75762         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75764 2012-03-08  Richard Henderson  <rth@twiddle.net>
75766         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75767         from macro to inline function; merge with the
75768         !__LIBC_INTERNAL_MATH_INLINES version.
75769         (__ieee754_sqrtf): Likewise.
75771         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75772         to inline function.
75773         (__rintf, __floor, __floorf): Likewise.
75775         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75776         macro to inline function.
75777         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75779         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75780         not <math/math_private.h>.
75782 2012-03-08  David S. Miller  <davem@davemloft.net>
75784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75785         copyright year.
75786         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75788 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
75790         * resolv/gai_misc.c (handle_requests): Fix struct timespec
75791         normalization.
75792         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75793         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75795 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
75797         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
75798         be defined individually, they must be defined as a block.  Define
75799         S for printing a string instead of hidint the different by using a
75800         macro for adding the 'l'.
75801         * stdio-common/tst-fphex-wide.c: Adjust.
75803 2012-03-07  Marek Polacek  <polacek@redhat.com>
75805         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75807 2012-03-08  Marek Polacek  <polacek@redhat.com>
75809         [BZ #13806]
75810         * stdio-common/Makefile (tests): Add tst-fphex-wide.
75811         * stdio-common/tst-fphex.c: Define a few macros to make the
75812         test reusable.  Use them.
75813         * stdio-common/tst-fphex-wide.c: New file.
75815 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
75817         [BZ #6911]
75818         * manual/macros.texi (gnusystems): New macro.
75819         (nongnusystems): Likewise.
75820         (gnulinuxhurdsystems): Likewise.
75821         (gnuhurdsystems): Likewise..
75822         (gnulinuxsystems): Likewise.
75823         * manual/charset.texi: Use new macros or @theglibc{} to refer to
75824         variants of the GNU system, not "GNU system".
75825         * manual/conf.texi: Likewise.
75826         * manual/errno.texi: Likewise.  Update example of errno macro
75827         expansion.
75828         * manual/filesys.texi: Likewise.
75829         (getumask): Document as specific to GNU/Hurd.
75830         * manual/install.texi: Likewise.  Reword some references to
75831         GNU/Linux.
75832         * manual/intro.texi: Likewise.
75833         * manual/io.texi: Likewise.
75834         (File Name Portability): Detail which constraints are inapplicable
75835         to all GNU systems and which are only inapplicable to GNU/Hurd.
75836         * manual/job.texi: Likewise.
75837         * manual/llio.texi: Likewise.
75838         (O_NOCTTY): Document as present on GNU/Linux.
75839         * manual/maint.texi: Likewise.
75840         * manual/memory.texi: Likewise.
75841         * manual/pattern.texi: Likewise.
75842         * manual/pipe.texi: Likewise.
75843         * manual/process.texi: Likewise.
75844         * manual/resource.texi: Likewise.
75845         (RUSAGE_CHILDREN): Remove statement about specifying a particular
75846         child on GNU/Hurd.
75847         * manual/setjmp.texi: Likewise.
75848         * manual/signal.texi: Likewise.
75849         * manual/startup.texi: Likewise.
75850         * manual/stdio.texi: Likewise.
75851         * manual/terminal.texi: Likewise.
75852         (ONLCR): Document as POSIX.
75853         (OXTABS): Document availability on GNU/Linux as XTABS.
75854         (ONOEOT): Document availability separately from other bits.
75855         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75856         * manual/time.texi: Likewise.
75857         * manual/users.texi: Likewise.
75858         * INSTALL: Regenerated.
75859         * sysdeps/gnu/errlist.c: Regenerated.
75861         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75862         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75863         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
75864         puts.
75865         * configure: Regenerated.
75867 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
75869         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
75870         default includes instead of AC_HEADER_CHECK.
75871         * sysdeps/i386/configure: Regenerated.
75873         [BZ #10716]
75874         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
75875         * math/s_cacoshf.c (__cacoshf): Likewise.
75876         * math/s_cacoshl.c (__cacoshl): Likewise.
75877         * math/s_casinh.c (__casinh): Set signs of result from argument.
75878         * math/s_casinhf.c (__casinhf): Likewise.
75879         * math/s_casinhl.c (__casinhl): Likewise.
75880         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
75881         (casinh_test): Add more tests.
75882         * sysdeps/i386/fpu/libm-test-ulps: Update.
75883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75885 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
75887         * po/zh_TW.po: Update from translation team.
75889         * login/Makefile (distribute): Remove variable.
75890         * catgets/Makefile: Likewise.
75891         * mach/Makefile: Likewise.
75892         * malloc/Makefile: Likewise.
75893         * misc/Makefile: Likewise.
75894         * iconv/Makefile: Likewise.
75895         * nscd/Makefile: Likewise.
75896         * hurd/Makefile: Likewise.
75897         * manual/Makefile: Likewise.
75898         * locale/Makefile: Likewise.
75899         * intl/Makefile: Likewise.
75900         * conform/Makefile: Likewise.
75901         * nss/Makefile: Likewise.
75902         * time/Makefile: Likewise.
75903         * soft-fp/Makefile: Likewise.
75904         * dirent/Makefile: Likewise.
75905         * gmon/Makefile: Likewise.
75906         * po/Makefile: Likewise.
75907         * rt/Makefile: Likewise.
75908         * socket/Makefile: Likewise.
75909         * math/Makefile: Likewise.
75910         * signal/Makefile: Likewise.
75911         * debug/Makefile: Likewise.
75912         * elf/Makefile: Likewise.
75913         * timezone/Makefile: Likewise.
75914         * stdlib/Makefile: Likewise.
75915         * iconvdata/Makefile: Likewise.
75916         * sunrpc/Makefile: Likewise.
75917         * io/Makefile: Likewise.
75918         * argp/Makefile: Likewise.
75919         * inet/Makefile: Likewise.
75920         * hesiod/Makefile: Likewise.
75921         * grp/Makefile: Likewise.
75922         * csu/Makefile: Likewise.
75923         * wctype/Makefile: Likewise.
75924         * crypt/Makefile: Likewise.
75925         * libio/Makefile: Likewise.
75926         * string/Makefile: Likewise.
75927         * nis/Makefile: Likewise.
75928         * resolv/Makefile: Likewise.
75929         * stdio-common/Makefile: Likewise.
75930         * wcsmbs/Makefile: Likewise.
75931         * dlfcn/Makefile: Likewise.
75932         * posix/Makefile: Likewise.
75934         [BZ #6959]
75935         * timezone/Makefile: Don't install timezone files, just the programs
75936         and scripts.
75938 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
75940         * nss/databases.def: Add missing gshadow entry.
75942         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
75944 2012-03-06  Marek Polacek  <polacek@redhat.com>
75946         [BZ #13726]
75947         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
75948         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
75949         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
75950         * stdio-common/tst-long-dbl-fphex.c: New file.
75952 2012-03-06  David S. Miller  <davem@davemloft.net>
75954         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75955         (set_obp_int): New function.
75956         (get_obp_int): New function.
75957         (__get_clockfreq_via_dev_openprom): Likewise.
75958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
75959         Avoid unused variable warnings on 'val' and use builtin_expect.
75960         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
75961         __builtin_expect.
75962         (INLINE_CLONE_SYSCALL): Likewise.
75964 2012-03-05  David S. Miller  <davem@davemloft.net>
75966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75968 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
75970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75972         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
75973         only for |x| >= 40.
75974         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75976 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
75978         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
75979         Replace gettimeofday with __vdso_gettimeofday.
75981         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75982         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
75983         __vdso_clock_gettime and __vdso_getcpu.
75985         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
75986         time with __vdso_time.
75988 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
75990         * manual/lang.texi (size_t): Note types to which size_t may be
75991         equivalent with the GNU C Library, but do not describe when
75992         differences between them are significant.
75994 2012-03-05  Andreas Jaeger  <aj@suse.de>
75996         * sysdeps/i386/fpu/libm-test-ulps: Update.
75998 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76000         [BZ #3976]
76001         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76002         (__ieee754_pow): Save and restore rounding mode and use
76003         round-to-nearest for main computations.
76004         * math/libm-test.inc (pow_test_tonearest): New function.
76005         (pow_test_towardzero): Likewise.
76006         (pow_test_downward): Likewise.
76007         (pow_test_upward): Likewise.
76008         (main): Call the new functions.
76009         * sysdeps/i386/fpu/libm-test-ulps: Update.
76010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76012         [BZ #3976]
76013         * math/libm-test.inc (cosh_test_tonearest): New function.
76014         (cosh_test_towardzero): Likewise.
76015         (cosh_test_downward): Likewise.
76016         (cosh_test_upward): Likewise.
76017         (sinh_test_tonearest): Likewise.
76018         (sinh_test_towardzero): Likewise.
76019         (sinh_test_downward): Likewise.
76020         (sinh_test_upward): Likewise.
76021         (main): Call the new functions.
76022         * sysdeps/i386/fpu/libm-test-ulps: Update.
76023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76025 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76027         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76028         default stack guard is set in last bytes.
76029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76031 2012-03-05  Kees Cook  <keescook@chromium.org>
76033         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76035         [BZ #13656]
76036         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76037         possibly allocate from heap instead of stack.
76038         * stdio-common/bug-vfprintf-nargs.c: New file.
76039         * stdio-common/Makefile (tests): Add nargs overflow test.
76041 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76045 2012-03-03  Marek Polacek  <polacek@redhat.com>
76047         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76048         * math/math_private.h: Likewise.
76049         * stdlib/tst-strtod.c: Likewise.
76050         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76051         * sysdeps/x86_64/bits/atomic.h: Likewise.
76053 2012-03-02  David S. Miller  <davem@davemloft.net>
76055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76059         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76060         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76061         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76062         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76064 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76066         [BZ #13792]
76067         * manual/examples/README: New file, says the example source files
76068         can be used under GPL>=2.
76069         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76070         line containing just "*/".
76071         * manual/examples/add.c: Add copyright header (GPL>=2).
76072         * manual/examples/argp-ex1.c: Likewise.
76073         * manual/examples/argp-ex2.c: Likewise.
76074         * manual/examples/argp-ex3.c: Likewise.
76075         * manual/examples/argp-ex4.c: Likewise.
76076         * manual/examples/atexit.c: Likewise.
76077         * manual/examples/db.c: Likewise.
76078         * manual/examples/dir.c: Likewise.
76079         * manual/examples/dir2.c: Likewise.
76080         * manual/examples/execinfo.c: Likewise.
76081         * manual/examples/filecli.c: Likewise.
76082         * manual/examples/filesrv.c: Likewise.
76083         * manual/examples/fmtmsgexpl.c: Likewise.
76084         * manual/examples/genpass.c: Likewise.
76085         * manual/examples/inetcli.c: Likewise.
76086         * manual/examples/inetsrv.c: Likewise.
76087         * manual/examples/isockad.c: Likewise.
76088         * manual/examples/longopt.c: Likewise.
76089         * manual/examples/memopen.c: Likewise.
76090         * manual/examples/memstrm.c: Likewise.
76091         * manual/examples/mkfsock.c: Likewise.
76092         * manual/examples/mkisock.c: Likewise.
76093         * manual/examples/mygetpass.c: Likewise.
76094         * manual/examples/pipe.c: Likewise.
76095         * manual/examples/popen.c: Likewise.
76096         * manual/examples/rprintf.c: Likewise.
76097         * manual/examples/search.c: Likewise.
76098         * manual/examples/select.c: Likewise.
76099         * manual/examples/setjmp.c: Likewise.
76100         * manual/examples/sigh1.c: Likewise.
76101         * manual/examples/sigusr.c: Likewise.
76102         * manual/examples/stpcpy.c: Likewise.
76103         * manual/examples/strdupa.c: Likewise.
76104         * manual/examples/strftim.c: Likewise.
76105         * manual/examples/strncat.c: Likewise.
76106         * manual/examples/subopt.c: Likewise.
76107         * manual/examples/swapcontext.c: Likewise.
76108         * manual/examples/termios.c: Likewise.
76109         * manual/examples/testopt.c: Likewise.
76110         * manual/examples/testpass.c: Likewise.
76111         * manual/examples/timeval_subtract.c: Likewise.
76113         [BZ #13792]
76114         * manual/time.texi (Elapsed Time): Move timeval_subtract example
76115         function to ...
76116         * manual/timeval_subtract.c.texi: ... here, new file.
76118 2012-03-02  David S. Miller  <davem@davemloft.net>
76120         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76122 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
76124         [BZ #3976]
76125         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76126         (__sin): Save and restore rounding mode and use round-to-nearest
76127         for all computations.
76128         (__cos): Save and restore rounding mode and use round-to-nearest
76129         for all computations.
76130         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76131         <fenv.h>.
76132         (tan): Save and restore rounding mode and use round-to-nearest for
76133         all computations.
76134         * math/libm-test.inc (cos_test_tonearest): New function.
76135         (cos_test_towardzero): Likewise.
76136         (cos_test_downward): Likewise.
76137         (cos_test_upward): Likewise.
76138         (sin_test_tonearest): Likewise.
76139         (sin_test_towardzero): Likewise.
76140         (sin_test_downward): Likewise.
76141         (sin_test_upward): Likewise.
76142         (tan_test_tonearest): Likewise.
76143         (tan_test_towardzero): Likewise.
76144         (tan_test_downward): Likewise.
76145         (tan_test_upward): Likewise.
76146         (main): Call the new functions.
76147         * sysdeps/i386/fpu/libm-test-ulps: Update.
76148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76150         [BZ #10135]
76151         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76152         small n, then large n, before computing and testing k+n.
76153         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76154         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76155         Likewise.
76156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76157         Likewise.
76158         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76159         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76161         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76164         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76165         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76166         * math/libm-test.inc (scalbn_test): Add more tests.
76167         (scalbln_test): Likewise.
76169         * manual/filesys.texi (mode_t): Describe constraints on size and
76170         signedness, not exact equivalence to a particular type.
76171         (ino_t): Likewise.
76172         (ino64_t): Likewise.
76173         (dev_t): Likewise.
76174         (nlink_t): Likewise.
76175         (blkcnt_t): Likewise.
76176         (blkcnt64_t): Likewise.
76177         * manual/llio.texi (off_t): Likewise.
76179         [BZ #3976]
76180         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76181         (__ieee754_exp): Save and restore rounding mode and use
76182         round-to-nearest for all computations.
76183         * math/libm-test.inc (exp_test_tonearest): New function.
76184         (exp_test_towardzero): Likewise.
76185         (exp_test_downward): Likewise.
76186         (exp_test_upward): Likewise.
76187         (main): Call the new functions.
76188         * sysdeps/i386/fpu/libm-test-ulps: Update.
76189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76191 2012-03-01  Chris Demetriou  <cgd@google.com>
76193         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76194         have predictable order.
76196 2012-03-01  David S. Miller  <davem@davemloft.net>
76198         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76200         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76201         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76202         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76203         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76205         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76206         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76207         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76209         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76210         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76211         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76212         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76213         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76217         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76218         * sysdeps/sparc/fpu/libm-test-ulps: to here.
76219         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76221         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76222         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76223         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76224         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76225         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76226         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76228         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76229         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76230         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76231         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76232         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76233         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76234         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76235         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76237         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76238         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76239         * sysdeps/sparc/elf/configure: Regenerated.
76241 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
76243         * configure.in (AS, LD): Require binutils 2.20 or later.
76244         * configure: Regenerated.
76245         * manual/install.texi (Tools for Compilation): Give binutils 2.20
76246         as required minimum version.
76247         * INSTALL: Regenerated.
76249         [BZ #2541]
76250         [BZ #4108]
76251         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76252         before squaring exponent.
76253         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76254         bottom long double and 27 bits of top long double before squaring
76255         exponent.
76256         * math/libm-test.inc (erfc_test): Add more tests.
76257         * sysdeps/i386/fpu/libm-test-ulps: Update.
76258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76261 2012-03-01  Kai Tietz  <ktietz@redhat.com>
76263         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76264         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76265         containing bit-fields.
76266         * soft-fp/extended.h (_FP_UNION_E): Likewise.
76267         * soft-fp/single.h (_FP_UNION_S): Likewise.
76268         * soft-fp/double.h (_FP_UNION_D): Likewise.
76270 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76272         [BZ #13786]
76273         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76274         not include ../strcmp.S.
76275         [USE_AS_STRNCASECMP_L]: Likewise.
76276         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76277         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76278         * sysdeps/i386/i686/multiarch/strncase_l-c.c
76279         (__strncasecmp_l_ia32): Define as alias to
76280         __strncasecmp_l_nonascii.
76282         [BZ #5794]
76283         * math/libm-test.inc (expm1_test): Add test for bug 5794.
76284         * sysdeps/i386/fpu/libm-test-ulps: Update.
76285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76287         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76290 2012-02-29  Jeff Law  <law@redhat.com>
76292         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76293         out of bounds read.
76295 2012-02-29  Marek Polacek  <polacek@redhat.com>
76297         [BZ #13706]
76298         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76299         * elf/Makefile: Add rules to run tst-unused-dep.out.
76301 2012-02-28  David S. Miller  <davem@davemloft.net>
76303         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76304         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76305         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76306         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76307         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76308         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76310 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76312         * math/libm-test.inc (llround_test): Move one test from
76313         lround_test.  Use TEST_f_L in moved test.
76314         (lround_test): Move misplaced test to llround_test.  Add testcase
76315         from bug 2561.
76317 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
76319         * sysdeps/x86_64/fpu/e_expf.S: New file.
76320         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76322 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
76324         [BZ #13637]
76325         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76326         of remain_len that may cause incomplete multi-byte character and
76327         false match.
76328         * posix/bug-regex33.c: New file.
76329         * posix/Makefile (tests): Add bug-regex33.
76331 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
76333         * manual/macros.texi: New file.
76334         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76335         * manual/libc.texinfo: Include macros.texi.
76336         * manual/creatute.texi: Likewise.
76337         * manual/install.texi: Likewise.
76338         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76339         @glibcadj{} in references to the GNU C Library.
76340         * manual/charset.texi: Likewise.
76341         * manual/conf.texi: Likewise.
76342         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
76343         when not using those macros.
76344         * manual/creature.texi: Likewise.
76345         * manual/crypt.texi: Likewise.
76346         * manual/errno.texi: Likewise.
76347         * manual/filesys.texi: Likewise.
76348         * manual/header.texi: Likewise.
76349         * manual/install.texi: Likewise.
76350         * manual/intro.texi: Likewise.
76351         * manual/io.texi: Likewise.
76352         * manual/job.texi: Likewise.
76353         * manual/lang.texi: Likewise.
76354         * manual/libc.texiinfo: Likewise.
76355         * manual/llio.texi: Likewise.
76356         * manual/locale.texi: Likewise.
76357         * manual/maint.texi: Likewise.
76358         * manual/math.texi: Likewise.
76359         * manual/memory.texi: Likewise.
76360         * manual/message.texi: Likewise.
76361         * manual/nss.texi: Likewise.
76362         * manual/pattern.texi: Likewise.
76363         * manual/process.texi: Likewise.
76364         * manual/resource.texi: Likewise.
76365         * manual/search.texi: Likewise.
76366         * manual/setjmp.texi: Likewise.
76367         * manual/signal.texi: Likewise.
76368         * manual/socket.texi: Likewise.
76369         * manual/startup.texi: Likewise.
76370         * manual/stdio.texi: Likewise.
76371         * manual/string.texi: Likewise.
76372         * manual/sysinfo.texi: Likewise.
76373         * manual/syslog.texi: Likewise.
76374         * manual/terminal.texi: Likewise.
76375         * manual/time.texi: Likewise.
76376         * manual/users.texi: Likewise.
76377         * INSTALL: Regenerated.
76378         * NOTES: Regenerated.
76379         * sysdeps/gnu/errlist.c: Regenerated.
76381 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
76383         * include/dirent.h: Include <dirstream.h> before
76384         <dirent/dirent.h>.
76386 2012-02-28  David S. Miller  <davem@davemloft.net>
76388         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76389         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76390         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76391         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76393 2012-02-27  David S. Miller  <davem@davemloft.net>
76395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76397         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76398         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76401         frame pointer instead of stack pointer relative arg slot.
76402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76403         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76404         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76406 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
76408         [BZ #3992]
76409         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76411 2012-02-27  David S. Miller  <davem@davemloft.net>
76413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76417         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76418         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76419         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76420         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76422 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76424         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76425         later.  Allow versions 5-9.
76426         * configure: Regenerated.
76427         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76428         required minimum version and 4.6 as recommended version.  Do not
76429         mention bugs in GCC 2.7 and 2.8.
76430         * INSTALL: Regenerated.
76432 2012-02-27  David S. Miller  <davem@davemloft.net>
76434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76438         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76439         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76440         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76441         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76443         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76444         manipulate bits before adding and subtracting TWO112[sx].
76445         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76447 2012-02-27  Roland McGrath  <roland@hack.frob.com>
76449         [BZ #13775]
76450         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76451         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76452         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76453         being in POSIX, because they are in 1003.1-2008.
76455         * rt/tst-aio.c: Include <fcntl.h>.
76456         * rt/tst-aio7.c: Likewise.
76457         * rt/tst-aio64.c: Likewise.
76459         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76461 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76463         * manual/install.texi (--with-headers): Describe headers as
76464         interface headers, not private headers.
76465         (Specific advice for GNU/Linux systems): Describe use of headers
76466         from "make headers_install", not private headers from older
76467         kernels.
76468         * INSTALL: Regenerated.
76469         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76470         Change to 2.6.19.
76471         * sysdeps/unix/sysv/linux/configure: Regenerated.
76473         * manual/llio.texi (fclean): Remove documentation.
76475         * manual/Makefile (libc-texi-generated): New variable.  Include
76476         version.texi.
76477         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76478         $(libc-texi-generated), not duplicated list of files.
76479         (version.texi, stamp-version): New rules.
76480         (realclean): Remove $(libc-texi-generated), not individual files
76481         from that list.  Do not remove dir-add.texinfo.
76482         * manual/libc.texinfo: Comment out uses of edition numbers and
76483         references to printed manual.  Remove last-updated dates.
76484         (EDITION): Comment out.
76485         (ISBN): Likewise.
76486         (VERSION, UPDATED): Remove.
76487         (version.texi): Include.
76489 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
76491         * sysdeps/posix/spawni.c: Include <signal.h>.
76492         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76493         * sysdeps/pthread/aio_fsync.c: Likewise.
76495 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
76497         * conform/Makefile (tests): Run only when not cross-compiling and
76498         when fast-check is not defined.
76500         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76501         * conform/data/limits.h-data: Fixes for POSIX2008.
76502         * conform/run-conformtest.sh: Run all tests.
76503         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76504         headers.
76505         * include/bits/dlfcn.h: Likewise.
76506         * include/langinfo.h: Likewise.
76507         * include/monetary.h: Likewise.
76508         * include/sys/poll.h: Likewise.
76510         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76511         for __USE_GNU.
76512         * posix/spawn.h: Define __need_sigset_t.
76513         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76514         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76515         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
76516         to get sigevent_t only.
76517         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76518         only for __USE_GNU.
76519         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76520         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76521         process_vm_writev only for __USE_GNU.
76522         * termios/termios.h: Declare tcgetsid also for POSIX2008.
76524         * conform/Makefile: For now ignore errors from run-conformtest.
76525         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
76526         POSIX to avoid namespace pollution.  Don't prepend headers.
76527         * conform/data/aio.h-data: Fixes for POSIX testing.
76528         * conform/data/fcntl.h-data: Likewise.
76529         * conform/data/glob.h-data: Likewise.
76530         * conform/data/grp.h-data: Likewise.
76531         * conform/data/pthread.h-data: Likewise.
76532         * conform/data/pwd.h-data: Likewise.
76533         * conform/data/signal.h-data: Likewise.
76534         * conform/data/spawn.h-data: Likewise.
76535         * conform/data/stdio.h-data: Likewise.
76536         * conform/data/stdlib.h-data: Likewise.
76537         * conform/data/stropts.h-data: Likewise.
76538         * conform/data/sys/mman.h-data: Likewise.
76539         * conform/data/sys/stat.h-data: Likewise.
76540         * conform/data/sys/types.h-data: Likewise.
76541         * conform/data/sys/wait.h-data: Likewise.
76542         * conform/data/time.h-data: Likewise.
76543         * conform/data/unistd.h-data: Likewise.
76544         * conform/data/utime.h-data: Likewise.
76546         * io/sys/stat.h: fchmod was always in POSIX.
76547         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76548         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76549         * rt/aio.h: Define __need_timespec before including <time.h>.
76550         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76551         struct.  Add forward declaration of pthread_attr_t and use it in
76552         sigevent.
76553         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76554         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76555         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76556         always remove CLK_TCK definition.
76558 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
76560         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76562 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
76564         * conform/run-conformtest.sh: New file.
76565         * conform/Makefile: Run run-conformtest for tests.
76566         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
76567         support.
76569         * conform/data/uchar.h-data: New file.
76570         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76571         * conform/data/arpa/inet.h-data: Likewise.
76572         * conform/data/assert.h-data: Likewise.
76573         * conform/data/complex.h-data: Likewise.
76574         * conform/data/cpio.h-data: Likewise.
76575         * conform/data/ctype.h-data: Likewise.
76576         * conform/data/dirent.h-data: Likewise.
76577         * conform/data/dlfcn.h-data: Likewise.
76578         * conform/data/errno.h-data: Likewise.
76579         * conform/data/fcntl.h-data: Likewise.
76580         * conform/data/float.h-data: Likewise.
76581         * conform/data/fmtmsg.h-data: Likewise.
76582         * conform/data/fnmatch.h-data: Likewise.
76583         * conform/data/ftw.h-data: Likewise.
76584         * conform/data/glob.h-data: Likewise.
76585         * conform/data/grp.h-data: Likewise.
76586         * conform/data/iconv.h-data: Likewise.
76587         * conform/data/inttypes.h-data: Likewise.
76588         * conform/data/langinfo.h-data: Likewise.
76589         * conform/data/libgen.h-data: Likewise.
76590         * conform/data/limits.h-data: Likewise.
76591         * conform/data/locale.h-data: Likewise.
76592         * conform/data/math.h-data: Likewise.
76593         * conform/data/monetary.h-data: Likewise.
76594         * conform/data/mqueue.h-data: Likewise.
76595         * conform/data/ndbm.h-data: Likewise.
76596         * conform/data/net/if.h-data: Likewise.
76597         * conform/data/netdb.h-data: Likewise.
76598         * conform/data/netinet/in.h-data: Likewise.
76599         * conform/data/nl_types.h-data: Likewise.
76600         * conform/data/poll.h-data: Likewise.
76601         * conform/data/pthread.h-data: Likewise.
76602         * conform/data/pwd.h-data: Likewise.
76603         * conform/data/regex.h-data: Likewise.
76604         * conform/data/sched.h-data: Likewise.
76605         * conform/data/search.h-data: Likewise.
76606         * conform/data/semaphore.h-data: Likewise.
76607         * conform/data/setjmp.h-data: Likewise.
76608         * conform/data/signal.h-data: Likewise.
76609         * conform/data/spawn.h-data: Likewise.
76610         * conform/data/stdarg.h-data: Likewise.
76611         * conform/data/stdio.h-data: Likewise.
76612         * conform/data/stdlib.h-data: Likewise.
76613         * conform/data/string.h-data: Likewise.
76614         * conform/data/strings.h-data: Likewise.
76615         * conform/data/stropts.h-data: Likewise.
76616         * conform/data/sys/ipc.h-data: Likewise.
76617         * conform/data/sys/mman.h-data: Likewise.
76618         * conform/data/sys/msg.h-data: Likewise.
76619         * conform/data/sys/resource.h-data: Likewise.
76620         * conform/data/sys/select.h-data: Likewise.
76621         * conform/data/sys/sem.h-data: Likewise.
76622         * conform/data/sys/shm.h-data: Likewise.
76623         * conform/data/sys/socket.h-data: Likewise.
76624         * conform/data/sys/stat.h-data: Likewise.
76625         * conform/data/sys/statvfs.h-data: Likewise.
76626         * conform/data/sys/time.h-data: Likewise.
76627         * conform/data/sys/timeb.h-data: Likewise.
76628         * conform/data/sys/times.h-data: Likewise.
76629         * conform/data/sys/types.h-data: Likewise.
76630         * conform/data/sys/uio.h-data: Likewise.
76631         * conform/data/sys/un.h-data: Likewise.
76632         * conform/data/sys/utsname.h-data: Likewise.
76633         * conform/data/sys/wait.h-data: Likewise.
76634         * conform/data/syslog.h-data: Likewise.
76635         * conform/data/tar.h-data: Likewise.
76636         * conform/data/termios.h-data: Likewise.
76637         * conform/data/utime.h-data: Likewise.
76638         * conform/data/utmpx.h-data: Likewise.
76639         * conform/data/varargs.h-data: Likewise.
76640         * conform/data/wchar.h-data: Likewise.
76641         * conform/data/wctype.h-data: Likewise.
76642         * conform/data/wordexp.h-data: Likewise.
76644         * include/stropts.h: New file.
76645         * include/uchar.h: New file.
76646         * include/aio.h: Changes to allow conformtest.pl to use the headers.
76647         * include/assert.h: Likewise.
76648         * include/ctype.h: Likewise.
76649         * include/dirent.h: Likewise.
76650         * include/dlfcn.h: Likewise.
76651         * include/fcntl.h: Likewise.
76652         * include/fnmatch.h: Likewise.
76653         * include/glob.h: Likewise.
76654         * include/grp.h: Likewise.
76655         * include/libio.h: Likewise.
76656         * include/locale.h: Likewise.
76657         * include/math.h: Likewise.
76658         * include/net/if.h: Likewise.
76659         * include/netdb.h: Likewise.
76660         * include/netinet/in.h: Likewise.
76661         * include/pthread.h: Likewise.
76662         * include/pwd.h: Likewise.
76663         * include/regex.h: Likewise.
76664         * include/sched.h: Likewise.
76665         * include/search.h: Likewise.
76666         * include/setjmp.h: Likewise.
76667         * include/signal.h: Likewise.
76668         * include/stdio.h: Likewise.
76669         * include/stdlib.h: Likewise.
76670         * include/string.h: Likewise.
76671         * include/sys/cdefs.h: Likewise.
76672         * include/sys/mman.h: Likewise.
76673         * include/sys/msg.h: Likewise.
76674         * include/sys/resource.h: Likewise.
76675         * include/sys/select.h: Likewise.
76676         * include/sys/socket.h: Likewise.
76677         * include/sys/stat.h: Likewise.
76678         * include/sys/statvfs.h: Likewise.
76679         * include/sys/time.h: Likewise.
76680         * include/sys/times.h: Likewise.
76681         * include/sys/uio.h: Likewise.
76682         * include/sys/utsname.h: Likewise.
76683         * include/sys/wait.h: Likewise.
76684         * include/termios.h: Likewise.
76685         * include/time.h: Likewise.
76686         * include/ulimit.h: Likewise.
76687         * include/unistd.h: Likewise.
76688         * include/utime.h: Likewise.
76689         * include/wchar.h: Likewise.
76690         * include/wctype.h: Likewise.
76691         * include/wordexp.h: Likewise.
76693         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76695         * time/time.h: TIME_UTC must be a macro.
76696         Make timespec_get available for ISO C11 only as well.
76698 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
76700         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76701         Reported by Peng Haitao <penght@cn.fujitsu.com>.
76703 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76705         * configure.in: Use -o not -a in test for unsupported multi-arch.
76707 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76709         * manual/texinfo.tex: Update to version 2012-01-19.16.
76711 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76713         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76715 2012-02-24  Roland McGrath  <roland@hack.frob.com>
76717         [BZ #13738]
76718         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76719         * manual/fdl-1.3.texi: New file.
76720         * manual/fdl-1.1.texi: File removed.
76722         [BZ #13738]
76723         * manual/libc.texinfo (FDL_VERSION): New @set.
76724         Use it for mention of FDL in cover text.
76725         (Documentation License): Use it in @include file name.
76727 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76728             Roland McGrath  <roland@hack.frob.com>
76730         [BZ #5461]
76731         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76732         (not LONG_LONG_MAX and LONG_LONG_MIN.
76733         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76734         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
76735         name.
76736         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76738 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76740         [BZ #2547]
76741         [BZ #11365]
76742         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76743         manipulate bits before adding and subtracting TWO23[sx].
76744         * math/libm-test.inc (nearbyint_test): Add more tests.
76746 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76748         [BZ #2548]
76749         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76750         bits before adding and subtracting TWO23[sx].
76751         * math/libm-test.inc (rint_test): Add more tests.
76752         (rint_test_tonearest): Likewise.
76753         (rint_test_towardzero): Likewise.
76754         (rint_test_downward): Likewise.
76755         (rint_test_upward: Likewise.
76757 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76759         [BZ #10110]
76760         * include/stdc-predef.h: New file.  Extracted from features.h.
76761         * include/features.h: Include stdc-predef.h.
76762         * Makefile (headers): Add stdc-predef.h.
76763         * CONFORMANCE (Compiler limitations): Update.
76765 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76767         * manual/libc.texinfo (VERSION, UPDATED): Revert.
76769 2012-02-21  David S. Miller  <davem@davemloft.net>
76771         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76772         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76774 2012-02-20  David S. Miller  <davem@davemloft.net>
76776         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76777         using a normal save/restore sequence, rather than allocating a
76778         dummy stack frame just to store a frame pointer and restore.
76779         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76781 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76783         * manual/install.texi: Fix stray word in line-wrapped comment.
76785 2012-02-20  David S. Miller  <davem@davemloft.net>
76787         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76788         both binutils and gcc support GOTDATA.
76790         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76791         "rd %pc" in the PIC register setup sequences.
76793         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76794         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76795         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76796         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76797         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76798         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76799         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76800         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76801         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76802         (SYSCALL_ERROR_HANDLER): Likewise.
76803         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76804         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76806         (SYSCALL_ERROR_HANDLER): Likewise.
76808         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76809         (HAVE_GCC_GOTDATA): New.
76810         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76811         relocation support in both binutils and gcc.
76812         * sysdeps/sparc/elf/configure: Regenerate.
76814         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76815         * sysdeps/sparc/sparc32/elf/configure: Delete.
76816         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76817         * sysdeps/sparc/sparc64/elf/configure: Delete.
76818         * sysdeps/sparc/elf/configure.in: New file.
76819         * sysdeps/sparc/elf/configure: Generate.
76821         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76822         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76823         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76824         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76825         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76827 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76829         * manual/install.texi: Do not mention specific glibc version
76830         numbers.
76831         * manual/libc.texinfo (VERSION, UPDATED): Update.
76832         (@copying): Use @copyright{} and range of years.
76834 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76836         [BZ #13695]
76837         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76838         [crti.S not in sysdirs] (generated): Do not append.
76839         [crti.S not in sysdirs] (omit-deps): Likewise.
76840         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76841         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76842         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76843         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76844         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76845         Likewise.
76846         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76847         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76848         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76849         * csu/defs.awk: Remove file.
76850         * sysdeps/generic/initfini.c: Likewise.
76851         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76852         variable.
76853         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76854         Likewise.
76856 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76858         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76859         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76860         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76861         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76862         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76863         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76864         <bits/epoll.h>.
76865         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76866         (__EPOLL_PACKED): Define to empty if not defined by
76867         <bits/epoll.h>.
76868         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76869         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76870         bits/epoll.h.
76872 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76874         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
76875         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
76876         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
76877         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
76878         <bits/timerfd.h>.
76879         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
76880         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76881         bits/timerfd.h.
76883 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76885         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
76886         in C locale.
76887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76888         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
76889         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
76890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76892 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
76894         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76895         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76897 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
76899         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
76900         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
76901         defined.
76902         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
76903         Likewise.
76904         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
76905         entry for 2.16.
76907 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
76909         * math/w_acos.c: Use non-signaling floating-point comparisons.
76910         * math/w_acosf.c: Likewise.
76911         * math/w_acosh.c: Likewise.
76912         * math/w_acoshf.c: Likewise.
76913         * math/w_acoshl.c: Likewise.
76914         * math/w_acosl.c: Likewise.
76915         * math/w_asin.c: Likewise.
76916         * math/w_asinf.c: Likewise.
76917         * math/w_asinl.c: Likewise.
76918         * math/w_atanh.c: Likewise.
76919         * math/w_atanhf.c: Likewise.
76920         * math/w_atanhl.c: Likewise.
76921         * math/w_exp2.c: Likewise.
76922         * math/w_exp2f.c: Likewise.
76923         * math/w_exp2l.c: Likewise.
76924         * math/w_j0.c: Likewise.
76925         * math/w_j0f.c: Likewise.
76926         * math/w_j0l.c: Likewise.
76927         * math/w_j1.c: Likewise.
76928         * math/w_j1f.c: Likewise.
76929         * math/w_j1l.c: Likewise.
76930         * math/w_jn.c: Likewise.
76931         * math/w_jnf.c: Likewise.
76932         * math/w_log.c: Likewise.
76933         * math/w_log10.c: Likewise.
76934         * math/w_log10f.c: Likewise.
76935         * math/w_log10l.c: Likewise.
76936         * math/w_log2.c: Likewise.
76937         * math/w_log2f.c: Likewise.
76938         * math/w_log2l.c: Likewise.
76939         * math/w_logf.c: Likewise.
76940         * math/w_logl.c: Likewise.
76941         * math/w_sqrt.c: Likewise.
76942         * math/w_sqrtf.c: Likewise.
76943         * math/w_sqrtl.c: Likewise.
76944         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76945         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
76946         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76947         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76948         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76950 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76952         [BZ #9739]
76953         * manual/string.texi (strnlen): Use correct parameter name in
76954         equivalent expression.
76956 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76958         [BZ #11174]
76959         * manual/users.texi (seteuid): Consistently use neweuid for
76960         argument name.
76962 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76964         [BZ #13704]
76965         * manual/nss.texi (Services in the NSS configuration): Correct
76966         list of services in example configuration file.
76968 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
76970         [BZ #11322]
76971         * manual/arith.texi: Remove statements about negative zero
76972         behaving identically to zero.
76974 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
76976         [BZ #5993]
76977         * manual/install.texi: Do not document upgrading from libc5.
76979 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
76981         [BZ #4596]
76982         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
76984 2012-02-18  David S. Miller  <davem@davemloft.net>
76986         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
76987         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
76988         %o7 across the call.
76989         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
76990         instead.
76991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
76992         SETUP_PIC_REG_LEAF.
76993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76994         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
76995         * sysdeps/sparc/crtn.S: Likewise.
76997 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
76999         * aout/Makefile: Remove.
77001 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77003         [BZ #13058]
77004         * manual/examples/argp-ex1.c (main): Format definition in GNU
77005         style.
77006         * manual/examples/argp-ex2.c (main): Likewise.
77007         * manual/examples/argp-ex3.c (main): Likewise.
77008         * manual/examples/argp-ex4.c (main): Likewise.
77009         * manual/examples/longopt.c (main): Use new-style prototype
77010         definition.
77011         * manual/examples/strncat.c (main): Specify return type and use
77012         (void) for arguments.
77013         * manual/examples/subopt.c (main): Use char **argv argument.
77015 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77017         [BZ #5077]
77018         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77019         rounding modes.
77021 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77023         [BZ #6907]
77024         * manual/string.texi (strchr): Change when strchrnul is
77025         recommended.
77027 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77029         [BZ #174]
77030         * manual/locale.texi (setlocale): Document LOCPATH.
77032 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77034         [BZ #10210]
77035         * manual/process.texi (execle): Move @dots{} before last argument.
77037 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77039         [BZ #12047]
77040         * manual/charset.texi (Generic Charset Conversion): Fix typo
77041         (LC_TYPE -> LC_CTYPE).
77043 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77045         [BZ #5805]
77046         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77047         (scalbnf): Likewise.
77048         (scalbnl): Likewise.
77049         (scalbln): Likewise.
77050         (scalblnf): Likewise.
77051         (scalblnl): Likewise.
77052         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77053         (vwarnx): Likewise.
77054         (verr): Likewise.
77055         (verrx): Likewise.
77056         * manual/filesys.texi (telldir): Use braces around return type.
77057         * manual/llio.texi (mmap): Add space after comma.
77058         (mmap64): Likewise.
77059         * manual/math.texi (jn): Use @var{} on parameter names.
77060         (jnf): Likewise.
77061         (jnl): Likewise.
77062         (yn): Likewise.
77063         (ynf): Likewise.
77064         (ynl): Likewise.
77065         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77066         line.
77067         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77068         "...".
77069         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77070         (sched_get_priority_max): Likewise.
77071         * manual/signal.texi (sigvec): Add space after comma.
77072         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77073         names.
77074         (if_indextoname): Likewise.
77075         (if_freenameindex): Likewise.
77076         (sendto): Use ',' instead of '.' in prototype.
77077         * manual/startup.texi (syscall): Use @dots{} instead of literal
77078         "...".
77079         * manual/stdio.texi (__fpending): Separate initial words of
77080         paragraph from @deftypefun line.
77081         * manual/syslog.texi (syslog): Use @dots{} instead of literal
77082         "...".
77083         (vsyslog): Use @var{} on parameter names.
77084         * manual/terminal.texi (stty): Use @var{} on parameter names.
77085         * manual/users.texi (getutmp): Use @var{} on parameter names.
77086         (getutmpx): Likewise.
77088 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77090         [BZ #6884]
77091         * manual/stdio.texi (fopen): Fix typos in description of
77092         ",ccs=STRING".
77094 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
77096         [BZ #4026]
77097         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77098         get clock_id definition.
77100 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
77102         [BZ #4822]
77103         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77104         (madvise): Cast every argument to void on its own.
77106 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77108         [BZ #9902]
77109         * manual/startup.texi (Exit Status): Fix typo.
77111 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77113         [BZ #10140]
77114         * manual/examples/argp-ex1.c: Include <stdlib.h>.
77115         * manual/examples/argp-ex2.c: Likewise.
77116         * manual/examples/argp-ex3.c: Likewise.
77118 2012-02-16  Richard Henderson  <rth@redhat.com>
77120         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77121         * sysdeps/s390/s390-32/initfini.c: Remove.
77122         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77123         * sysdeps/s390/s390-64/initfini.c: Remove.
77125 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77127         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77128         compiler output for sysdeps/generic/initfini.c.
77129         * sysdeps/sh/elf/initfini.c: Remove file.
77131 2012-02-16  David S. Miller  <davem@davemloft.net>
77133         [BZ #11494]
77134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77136         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77137         * sysdeps/sparc/crti.S: New file.
77138         * sysdeps/sparc/crtn.S: New file.
77139         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77140         * sysdeps/sparc/sparc64/Makefile: Likewise.
77142 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
77144         [BZ #3335]
77145         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77147 2012-02-15  Roland McGrath  <roland@hack.frob.com>
77149         [BZ #4822]
77150         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77152         * mach/devstream.c (cookie_io_functions_t): Macro removed.
77153         (write, read, close): Likewise.
77154         Patch by Aurelien Jarno <aurelien@aurel32.net>.
77156 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
77158         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77159         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77160         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77161         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77162         <bits/signalfd.h>.
77163         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77164         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77165         bits/signalfd.h.
77167 2012-02-14  Marek Polacek  <polacek@redhat.com>
77169         * sysdeps/x86_64/crti.S: New file.
77170         * sysdeps/x86_64/crtn.S: New file.
77171         * sysdeps/x86_64/elf/initfini.c: Remove file.
77173 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77175         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77176         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77177         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77178         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77179         <bits/inotify.h>.
77180         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77182         bits/inotify.h.
77184 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77186         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77187         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77188         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77189         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77190         <bits/eventfd.h>.
77191         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77193         bits/eventfd.h.
77195 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
77197         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77198         __feraiseexcept instead of feraiseexcept.
77200         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77201         nanosleep invocations.
77202         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77203         strings, and add error checking for a nanosleep invocations.
77205 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
77207         Replace FSF snail mail address with URLs, as per GNU coding standards.
77208         Most of the snail mail addresses were wrong anyway, and omitting
77209         them makes the source code easier to maintain.  Almost all of the
77210         changes are to license notices and to locale LC_IDENTIFICATION
77211         addresses, except for this one:
77212         * manual/libc.texinfo: In "Published by", give the FSF's URL,
77213         not its snail mail address.
77215 2012-02-09  Richard Henderson  <rth@twiddle.net>
77217         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77218         of kernel-features.h.
77220         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77222 2012-02-08  Marek Polacek  <polacek@redhat.com>
77224         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77225         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77226         * sysdeps/gnu/_G_config.h: Likewise.
77227         * sysdeps/generic/_G_config.h: Likewise.
77229 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
77231         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77232         tests.
77233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77235         * sysdeps/powerpc/powerpc32/crti.S: New file.
77236         * sysdeps/powerpc/powerpc32/crtn.S: New file.
77237         * sysdeps/powerpc/powerpc64/crti.S: New file.
77238         * sysdeps/powerpc/powerpc64/crtn.S: New file.
77240         * Makeconfig (have-initfini): Don't set.
77241         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77242         * configure.in (nopic_initfini): Don't substitute.
77243         * config.h.in (HAVE_INITFINI): Don't #undef.
77244         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77245         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77247 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
77249         Support crti.S and crtn.S provided directly by architectures.
77250         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77251         [crti.S in sysdirs] (omit-deps): Likewise.
77252         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77253         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77254         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77255         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77256         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77257         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77258         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77259         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77260         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77261         compiler output for sysdeps/generic/initfini.c.
77262         * sysdeps/i386/elf/Makefile: Remove file.
77263         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77265 2012-02-07  Marek Polacek  <polacek@redhat.com>
77267         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77268         * sysdeps/gnu/_G_config.h: Likewise.
77269         * sysdeps/mach/hurd/_G_config.h: Likewise.
77271 2012-02-07  Marek Polacek  <polacek@redhat.com>
77273         * math/Makefile (tests): Add tst-CMPLX2.
77274         * math/tst-CMPLX2.c: New file.
77276 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
77278         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77280         * math/libm-test.inc (jn_test): Add missing L suffix.
77282 2012-02-06  Marek Polacek  <polacek@redhat.com>
77284         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77285         * sysdeps/i386/fpu/e_powf.S: Likewise.
77286         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77287         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77288         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77289         * sysdeps/i386/fpu/e_pow.S: Likewise.
77290         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77291         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77292         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77293         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77294         * sysdeps/i386/fpu/e_log2.S: Likewise.
77295         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77296         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77297         * sysdeps/i386/fpu/e_powl.S: Likewise.
77298         * sysdeps/i386/fpu/s_log1p.S: Likewise.
77299         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77300         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77301         * sysdeps/i386/fpu/e_logl.S: Likewise.
77302         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77303         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77304         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77305         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77306         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77307         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77308         * sysdeps/i386/fpu/e_log.S: Likewise.
77309         * sysdeps/i386/fpu/s_cexp.S: Likewise.
77310         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77311         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77312         * sysdeps/i386/fpu/e_logf.S: Likewise.
77313         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77314         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77315         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77316         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77317         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77318         * sysdeps/i386/fpu/e_log10.S: Likewise.
77319         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77320         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77321         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77322         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77323         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77324         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77325         * sysdeps/i386/asm-syntax.h: Likewise.
77326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77328         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77329         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77330         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77331         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77332         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77333         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77334         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77335         * sysdeps/powerpc/sysdep.h: Likewise.
77336         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77337         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77339 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77341         [BZ #411]
77342         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77344 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77346         * sysdeps/i386/sysdep.h: Include <features.h>.
77347         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77348         version.
77350 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
77352         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77353         Define.
77354         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77355         LOAD_PIC_REG_STR.
77357 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77359         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77360         (SETUP_PIC_REG): Use GET_PC_THUNK.
77361         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77362         macro.
77364 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77366         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77367         for non-PIC compilation.
77368         (SETUP_PIC_REG): Add .p2align directive.
77369         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77370         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77371         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77372         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77373         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77374         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77375         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77376         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77377         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77378         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77379         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77380         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77381         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77382         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77383         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77384         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77385         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77386         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77387         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77388         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77389         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77390         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77391         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77392         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77393         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77395         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77397         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77398         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77399         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77400         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77401         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77402         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77403         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77404         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77405         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77406         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77407         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77408         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77409         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77411 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77413         * math/tst-CMPLX.c: Include <stdio.h>.
77415 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
77417         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77418         float.
77419         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77420         * sysdeps/sparc/bits/mathdef.h: Likewise.
77422 2012-01-31  Marek Polacek  <polacek@redhat.com>
77424         * libio/libio.h: Don't define _PARAMS.
77425         * locale/programs/config.h: Don't define PARAMS.
77426         * stdlib/strtol_l.c: Likewise.
77427         (__strtol_l): Remove PARAMS from the prototype.
77429 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
77431         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
77432         names.  Just use the correct names.  Remove unnecessary wrapper
77433         functions.
77434         * malloc/arena.c: Likewise.
77435         * malloc/hooks.c: Likewise.
77437         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77438         ARENA_TEST says not to.  Simplify test for creation of a new arena.
77439         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77441 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
77443         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77444         into tail calls.
77445         (update_get_addr): New function.
77446         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77447         GET_ADDR_MODULE parameter.
77449 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77451         * crypt/cert.c: Remove __STDC__ conditionals.
77452         * crypt/crypt-entry.c: Likewise.
77453         * crypt/crypt_util.c: Likewise.
77454         * libio/filedoalloc.c: Likewise.
77455         * libio/fileops.c: Likewise.
77456         * libio/genops.c: Likewise.
77457         * libio/iofclose.c: Likewise.
77458         * libio/iofdopen.c: Likewise.
77459         * libio/iofopen.c: Likewise.
77460         * libio/iofopen64.c: Likewise.
77461         * libio/iogetdelim.c: Likewise.
77462         * libio/iopopen.c: Likewise.
77463         * libio/obprintf.c: Likewise.
77464         * libio/oldfileops.c: Likewise.
77465         * libio/oldiofclose.c: Likewise.
77466         * libio/oldiofdopen.c: Likewise.
77467         * libio/oldiofopen.c: Likewise.
77468         * libio/oldiopopen.c: Likewise.
77469         * libio/wfiledoalloc.c: Likewise.
77470         * libio/wgenops.c: Likewise.
77471         * locale/programs/xmalloc.c: Likewise.
77472         * misc/syslog.c: Likewise.
77473         * stdio-common/xbug.c: Likewise.
77474         * string/memchr.c: Likewise.
77475         * string/memcmp.c: Likewise.
77476         * string/memrchr.c: Likewise.
77477         * string/rawmemchr.c: Likewise.
77478         * sysdeps/posix/getcwd.c: Likewise.
77479         * time/strftime_l.c: Likewise.
77481 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77483         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77484         * config.make.in (config-cflags-sse2avx): Define.
77485         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77486         Fix typo.
77488 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
77490         * scripts/config.guess: Update from upstream config git repository.
77491         * scripts/config.sub: Likewise.
77493 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
77495         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77496         (EM_NUM): Update.
77497         (R_TILEPRO_*, R_TILEGX_*): New macros.
77499         * scripts/firstversions.awk: Fix bug in version range handling.
77501         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77503         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77505         * include/sys/epoll.h: New file.
77506         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77507         libc_hidden_def.
77509 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
77511         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77512         Avoid unnecessary __WORDSIZE == 64 test.
77513         (fmaxf): Use VEX format if possible.
77514         (fmax): Likewise.
77515         (fminf): Likewise.
77516         (fmin): Likewise.
77518         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77519         * math/math_private.h: Remove libc_fegetround* and
77520         libc_fesetround*.
77521         * sysdeps/i386/configure.in: Check for -msse2avx.
77522         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77523         also if SSE2AVX is defined.
77524         Remove libc_fegetround* and libc_fesetround*.
77525         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77526         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
77527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77528         of HAS_YMM_USABLE.
77529         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77530         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77531         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77532         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77533         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77535         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77537 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77539         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77540         size is not set.
77541         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77543 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
77545         [BZ #13618]
77546         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77547         relocation.
77548         * Makeconfig (libm): Define.
77549         * elf/Makefile: Add rules to build and run tst-relsort1.
77550         * elf/tst-relsort1.c: New file.
77551         * elf/tst-relsort1mod1.c: New file.
77552         * elf/tst-relsort1mod2.c: New file.
77554 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
77556         * math/s_ldexp.c: Remove __STDC__ conditionals.
77557         * math/s_ldexpf.c: Likewise.
77558         * math/s_ldexpl.c: Likewise.
77559         * math/s_nextafter.c: Likewise.
77560         * math/s_nexttowardf.c: Likewise.
77561         * math/s_significand.c: Likewise.
77562         * math/s_significandf.c: Likewise.
77563         * math/s_significandl.c: Likewise.
77564         * math/w_jnl.c: Likewise.
77565         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77566         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77567         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77568         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77569         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77571         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77572         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77574         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77575         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77576         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77577         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77578         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77579         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77580         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77581         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77582         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77583         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77584         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77585         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77586         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77587         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77588         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77589         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77590         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77591         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77592         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77593         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77594         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77595         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77596         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77597         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77598         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77599         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77600         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77601         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77602         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77603         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77604         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77605         * sysdeps/ieee754/k_standard.c: Likewise.
77606         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77607         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77608         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77609         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77610         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77611         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77612         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77613         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77614         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77615         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77616         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77617         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77618         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77619         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77620         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77622         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77623         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77624         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77625         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77626         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77627         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77628         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77629         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77630         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77631         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77632         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77633         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77635         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77636         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77637         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77638         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77639         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77640         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77641         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77642         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77643         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77644         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77645         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77646         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77647         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77648         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77649         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77650         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77651         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77654         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77655         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77656         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77657         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77659         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77660         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77661         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77662         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77663         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77664         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77665         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77666         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77667         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77668         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77669         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77670         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77671         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77672         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77673         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77674         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77675         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77676         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77677         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77678         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77679         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77680         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77681         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77682         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77683         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77684         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77685         * sysdeps/ieee754/s_matherr.c: Likewise.
77686         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77687         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77688         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77689         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77691 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77693         * crypt/md5.h: Remove __STDC__ conditionals.
77694         * libio/libioP.h: Likewise.
77695         * locale/programs/config.h: Likewise.
77696         * sysdeps/generic/sysdep.h: Likewise.
77697         * sysdeps/i386/asm-syntax.h: Likewise.
77698         * sysdeps/s390/asm-syntax.h: Likewise.
77699         * sysdeps/unix/sysdep.h: Likewise.
77700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77703 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77705         * libio/libio.h: Remove __STDC__ conditionals.
77706         * malloc/obstack.h: Likewise.
77707         * math/complex.h: Likewise.
77708         * math/math.h: Likewise.
77709         * sysdeps/generic/_G_config.h: Likewise.
77710         * sysdeps/gnu/_G_config.h: Likewise.
77711         * sysdeps/mach/hurd/_G_config.h: Likewise.
77712         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77713         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77714         * sysdeps/sparc/bits/mathdef.h: Likewise.
77716 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
77718         [BZ #13583]
77719         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77720         Clean up HAS_* macros.
77721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77722         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77723         possible.
77724         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77725         HAS_AVX.
77726         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77727         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77728         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77729         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77730         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77732 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
77734         * elf/tst-unique3.cc (gets): Remove declaration.
77735         * elf/tst-unique3lib.cc (gets): Likewise.
77736         * elf/tst-unique3lib2.cc (gets): Likewise.
77737         * elf/tst-unique4.cc (gets): Likewise.
77739 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
77741         * include/stdio.h: Add C++ protection.  Add gets declarations and
77742         definitions.
77743         * debug/tst-chk1.c: Don't declare gets here.
77744         * stdio-common/tst-gets.c: Likewise.
77746 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77748         * posix/glob: Remove directory.
77750 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77752         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77754 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
77756         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77757         of the non-standard EPFNOSUPPORT.
77759 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77761         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77762         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77763         ANYWHERE set to 1 only on KERN_NO_SPACE error.
77765 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
77767         * wcsmbs/uchar.h: Test __STDC_VERSION__.
77769 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
77771         * nscd/aicache.c (addhstaiX): Do not cache negative results of
77772         transient errors.
77773         * nscd/grpcache.c (cache_addgr): Likewise.
77774         * nscd/hstcache.c (cache_addhst): Likewise.
77775         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77776         * nscd/pwdcache.c (cache_addpw): Likewise.
77777         * nscd/servicescache.c (cache_addserv): Likewise.
77779 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
77781         * malloc/malloc.c: Various cleanups.
77782         * malloc/hooks.c: Likewise.
77784         * stdlib/Makefile (tests): Add bug-fmtmsg1.
77785         * stdlib/bug-fmtmsg1.c: New file.
77787         * stdlib/fmtmsg.c (init): Add missing unlock.
77788         Patch by Peng Haitao <penght@cn.fujitsu.com>.
77790 2012-01-12  Marek Polacek  <polacek@redhat.com>
77792         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77793         and _GNU_SOURCE.
77795 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77797         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77798         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77799         macro to ensure uniqueness of label name.
77800         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77801         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77803 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
77805         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77807         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77808         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77809         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77810         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77812 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
77814         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77816         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77817         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77818         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77820         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77822         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77823         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77824         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77825         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77827         * math/bits/math-finite.h: Add ldexp support.
77829 2012-01-10  Marek Polacek  <polacek@redhat.com>
77831         * locale/programs/localedef.h (show_archive_content): Add noreturn
77832         attribute.
77834 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
77836         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77838 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77840         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77842         * io/Makefile (headers): Add bits/poll2.h.
77844 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
77846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77847         typo #include statement.
77849 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77851         * include/sys/cdefs.h: Define __attribute_alloc_size.
77852         * catgets/gencat.c: Add alloc_size attribute and apply consistently
77853         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77854         * elf/pldd.c: Likewise.
77855         * iconv/iconv_charmap.c: Likewise.
77856         * iconv/iconvconfig.c: Likewise.
77857         * iconv/strtab.c: Likewise.
77858         * locale/programs/locale.c: Likewise.
77859         * locale/programs/localedef.h: Likewise.
77860         * locale/programs/simple-hash.c: Likewise.
77861         * nscd/nscd.h: Likewise.
77862         * nss/makedb.c: Likewise.
77863         * sysdeps/generic/ldconfig.h: Likewise.
77864         * locale/programs/localedef.c: Remove xmalloc prototype.
77865         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77867 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77869         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
77870         appropriate.
77872 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77874         * math/Makefile (tests): Add tst-CMPLX.
77875         * math/tst-CMPLX.c: New file.
77877         * math/complex.h (CMPLXL): Fix typo.
77879         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
77880         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
77881         GLIBC_2.16.
77882         * debug/tst-chk1.c: Add poll and ppoll tests.
77883         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
77884         * include/sys/poll.h: Add hidden proto for ppoll.
77885         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
77886         * sysdeps/mach/hurd/ppoll.c: Likewise.
77887         * io/ppoll.c: Likewise.
77888         * debug/poll_chk.c: New file.
77889         * debug/ppoll_chk.c: New file.
77890         * include/bits/poll2.h: New file.
77891         * io/bits/poll2.h: New file.
77893         [BZ #1350]
77894         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
77896         * configure.in: static is always set to yes.  Remove.
77897         * config.make.in: Don't set build-static.
77898         * Makeconfig: Remove use of build-static.
77899         * dlfcn/Makefile: Likewise.
77900         * elf/Makefile: Likewise.
77901         * math/Makefile: Likewise.
77902         * misc/Makefile: Likewise.
77903         * nptl/Makefile: Likewise.
77904         * sysdeps/mach/hurd/Makefile: Likewise.
77906         * configure.in: PWD_P is not used anymore.
77907         * config.make.in: Remove PWD_P entry.
77909         * configure.in: Remove last remnants of RANLIB.
77910         No need to check for signed size_t anymore.
77911         Don't set libc_commonpagesize and libc_relro_required here for Alpha
77912         and IA-64.
77913         Remove __builtin_expect test because we require at least gcc 3.4.
77914         * aclocal.m4: Likewise.
77916         * wcsmbs/mbrtoc16.c: Implement using towc function.
77917         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
77918         * wcsmbs/wcsmbsload.c: Likewise.
77919         * iconv/gconv_simple.c: Likewise.
77920         * iconv/gconv_int.h: Likewise.
77921         * iconv/gconv_builtin.h: Likewise.
77922         * iconv/iconv_prog.c: Remove CHAR16 handling.
77924         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
77926         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
77928         * configure.in: Remove --with-elf and --enable-bounded options.
77929         Dont set base_machine for ia64.  More non-ELF conditions removed.
77930         Remove testing and setting of leading underscore information.
77931         * config.make.in (build-bounded): Set to no.
77932         * config.h.in: Remove NO_UNDERSCORES entry.
77933         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
77934         them.
77935         * csu/start.c: Remove !NO_UNDERSCORE code.
77936         * locale/localeinfo.h: Likewise.
77937         * sysdeps/generic/machine-gmon.h: Likewise.
77938         * sysdeps/generic/sysdep.h: Likewise.
77939         * sysdeps/i386/sysdep.h: Likewise.
77940         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77941         * sysdeps/mach/sysdep.h: Likewise.
77942         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77943         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77944         * sysdeps/sh/sysdep.h: Likewise.
77945         * sysdeps/sparc/sparc32/alloca.S: Likewise.
77946         * sysdeps/unix/i386/sysdep.S: Likewise.
77947         * sysdeps/unix/sparc/start.c: Likewise.
77948         * sysdeps/unix/sparc/sysdep.S: Likewise.
77949         * sysdeps/unix/sparc/sysdep.h: Likewise.
77950         * sysdeps/unix/start.c: Likewise.
77951         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77952         * sysdeps/x86_64/sysdep.h: Likewise.
77954 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
77956         [BZ #13553]
77957         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
77958         for non-gcc.
77959         * argp/argp-fmtstream.h: Use const instead __const.
77960         * argp/argp.h: Likewise.
77961         * assert/assert.h: Likewise.
77962         * bits/fenv.h: Likewise.
77963         * bits/sched.h: Likewise.
77964         * bits/sigset.h: Likewise.
77965         * bits/sigthread.h: Likewise.
77966         * catgets/nl_types.h: Likewise.
77967         * conform/data/pthread.h-data: Likewise.
77968         * crypt/crypt-private.h: Likewise.
77969         * crypt/crypt.h: Likewise.
77970         * crypt/crypt_util.c: Likewise.
77971         * ctype/ctype.h: Likewise.
77972         * debug/execinfo.h: Likewise.
77973         * debug/mbsnrtowcs_chk.c: Likewise.
77974         * debug/mbsrtowcs_chk.c: Likewise.
77975         * debug/wcsnrtombs_chk.c: Likewise.
77976         * debug/wcsrtombs_chk.c: Likewise.
77977         * debug/wcstombs_chk.c: Likewise.
77978         * dirent/dirent.h: Likewise.
77979         * dlfcn/dlfcn.h: Likewise.
77980         * elf/neededtest4.c: Likewise.
77981         * grp/grp.h: Likewise.
77982         * gshadow/gshadow.h: Likewise.
77983         * iconv/gconv.h: Likewise.
77984         * iconv/gconv_int.h: Likewise.
77985         * iconv/gconv_simple.c: Likewise.
77986         * iconv/iconv.h: Likewise.
77987         * iconv/loop.c: Likewise.
77988         * iconv/skeleton.c: Likewise.
77989         * include/aio.h: Likewise.
77990         * include/aliases.h: Likewise.
77991         * include/argz.h: Likewise.
77992         * include/arpa/inet.h: Likewise.
77993         * include/assert.h: Likewise.
77994         * include/dirent.h: Likewise.
77995         * include/dlfcn.h: Likewise.
77996         * include/execinfo.h: Likewise.
77997         * include/fcntl.h: Likewise.
77998         * include/fenv.h: Likewise.
77999         * include/glob.h: Likewise.
78000         * include/grp.h: Likewise.
78001         * include/libintl.h: Likewise.
78002         * include/mntent.h: Likewise.
78003         * include/netdb.h: Likewise.
78004         * include/pwd.h: Likewise.
78005         * include/rpc/netdb.h: Likewise.
78006         * include/sched.h: Likewise.
78007         * include/search.h: Likewise.
78008         * include/shadow.h: Likewise.
78009         * include/signal.h: Likewise.
78010         * include/stdio.h: Likewise.
78011         * include/stdlib.h: Likewise.
78012         * include/string.h: Likewise.
78013         * include/sys/socket.h: Likewise.
78014         * include/sys/stat.h: Likewise.
78015         * include/sys/statfs.h: Likewise.
78016         * include/sys/statvfs.h: Likewise.
78017         * include/sys/syslog.h: Likewise.
78018         * include/sys/time.h: Likewise.
78019         * include/sys/uio.h: Likewise.
78020         * include/time.h: Likewise.
78021         * include/unistd.h: Likewise.
78022         * include/utmp.h: Likewise.
78023         * include/wchar.h: Likewise.
78024         * include/wctype.h: Likewise.
78025         * inet/aliases.h: Likewise.
78026         * inet/arpa/inet.h: Likewise.
78027         * inet/netinet/ether.h: Likewise.
78028         * inet/netinet/in.h: Likewise.
78029         * intl/libintl.h: Likewise.
78030         * io/bits/fcntl2.h: Likewise.
78031         * io/fcntl.h: Likewise.
78032         * io/ftw.h: Likewise.
78033         * io/sys/poll.h: Likewise.
78034         * io/sys/stat.h: Likewise.
78035         * io/sys/statfs.h: Likewise.
78036         * io/sys/statvfs.h: Likewise.
78037         * io/utime.h: Likewise.
78038         * libio/bits/stdio.h: Likewise.
78039         * libio/bits/stdio2.h: Likewise.
78040         * libio/libio.h: Likewise.
78041         * libio/libioP.h: Likewise.
78042         * libio/stdio.h: Likewise.
78043         * locale/lc-ctype.c: Likewise.
78044         * locale/locale.h: Likewise.
78045         * login/utmp.h: Likewise.
78046         * malloc/arena.c: Likewise.
78047         * malloc/malloc.c: Likewise.
78048         * malloc/malloc.h: Likewise.
78049         * malloc/mcheck.c: Likewise.
78050         * malloc/mtrace.c: Likewise.
78051         * math/bits/mathcalls.h: Likewise.
78052         * math/fenv.h: Likewise.
78053         * math/math_private.h: Likewise.
78054         * misc/bits/error.h: Likewise.
78055         * misc/bits/syslog.h: Likewise.
78056         * misc/err.h: Likewise.
78057         * misc/error.h: Likewise.
78058         * misc/fstab.h: Likewise.
78059         * misc/mntent.h: Likewise.
78060         * misc/regexp.h: Likewise.
78061         * misc/search.h: Likewise.
78062         * misc/sgtty.h: Likewise.
78063         * misc/sys/mman.h: Likewise.
78064         * misc/sys/syslog.h: Likewise.
78065         * misc/sys/uio.h: Likewise.
78066         * misc/sys/xattr.h: Likewise.
78067         * misc/ttyent.h: Likewise.
78068         * nis/rpcsvc/ypclnt.h: Likewise.
78069         * nss/nss.h: Likewise.
78070         * posix/bits/unistd.h: Likewise.
78071         * posix/fnmatch.h: Likewise.
78072         * posix/glob.h: Likewise.
78073         * posix/sched.h: Likewise.
78074         * posix/spawn.h: Likewise.
78075         * posix/sys/wait.h: Likewise.
78076         * posix/unistd.h: Likewise.
78077         * posix/wordexp.h: Likewise.
78078         * pwd/pwd.h: Likewise.
78079         * resolv/netdb.h: Likewise.
78080         * resource/sys/resource.h: Likewise.
78081         * rt/aio.h: Likewise.
78082         * rt/bits/mqueue2.h: Likewise.
78083         * rt/mqueue.h: Likewise.
78084         * shadow/shadow.h: Likewise.
78085         * signal/signal.h: Likewise.
78086         * socket/send.c: Likewise.
78087         * socket/sendto.c: Likewise.
78088         * socket/sys/socket.h: Likewise.
78089         * stdio-common/printf.h: Likewise.
78090         * stdlib/bits/stdlib.h: Likewise.
78091         * stdlib/fmtmsg.h: Likewise.
78092         * stdlib/monetary.h: Likewise.
78093         * stdlib/stdlib.h: Likewise.
78094         * stdlib/ucontext.h: Likewise.
78095         * streams/stropts.h: Likewise.
78096         * string/argz.h: Likewise.
78097         * string/bits/string2.h: Likewise.
78098         * string/string.h: Likewise.
78099         * string/strings.h: Likewise.
78100         * sunrpc/rpc/auth.h: Likewise.
78101         * sunrpc/rpc/auth_des.h: Likewise.
78102         * sunrpc/rpc/clnt.h: Likewise.
78103         * sunrpc/rpc/netdb.h: Likewise.
78104         * sunrpc/rpc/pmap_clnt.h: Likewise.
78105         * sunrpc/rpc/xdr.h: Likewise.
78106         * sysdeps/generic/inttypes.h: Likewise.
78107         * sysdeps/generic/net/if.h: Likewise.
78108         * sysdeps/generic/sys/swap.h: Likewise.
78109         * sysdeps/gnu/net/if.h: Likewise.
78110         * sysdeps/gnu/utmpx.h: Likewise.
78111         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78112         * sysdeps/i386/i486/bits/string.h: Likewise.
78113         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78114         * sysdeps/s390/bits/string.h: Likewise.
78115         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78116         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78117         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78118         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78119         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78120         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78121         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78122         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78123         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78124         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78125         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78126         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78127         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78128         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78129         * sysdeps/unix/sysv/linux/readv.c: Likewise.
78130         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78131         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78132         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78133         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78134         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78135         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78136         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78137         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78138         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78139         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78140         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78141         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78142         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78143         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78144         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78145         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78146         * sysvipc/sys/ipc.h: Likewise.
78147         * sysvipc/sys/msg.h: Likewise.
78148         * sysvipc/sys/sem.h: Likewise.
78149         * sysvipc/sys/shm.h: Likewise.
78150         * termios/termios.h: Likewise.
78151         * time/sys/time.h: Likewise.
78152         * time/time.h: Likewise.
78153         * wcsmbs/bits/wchar2.h: Likewise.
78154         * wcsmbs/uchar.h: Likewise.
78155         * wcsmbs/wchar.h: Likewise.
78156         * wctype/wctype.h: Likewise.
78158         [BZ #13551]
78159         * Makeconfig: Remove all but ELF support including AIX support.
78160         * Makerules: Likewise.
78161         * config.h.in: Likewise.
78162         * config.make.in: Likewise.
78163         * configure: Likewise.
78164         * configure.in: Likewise.
78165         * csu/Makefile: Likewise.
78166         * csu/version.c: Likewise.
78167         * debug/Makefile: Likewise.
78168         * dlfcn/Makefile: Likewise.
78169         * elf/Makefile: Likewise.
78170         * extra-lib.mk: Likewise.
78171         * iconv/Makefile: Likewise.
78172         * include/libc-symbols.h: Likewise.
78173         * include/shlib-compat.h: Likewise.
78174         * resolv/Makefile: Likewise.
78175         * resolv/res_libc.c: Likewise.
78176         * rt/Makefile: Likewise.
78177         * sysdeps/i386/asm-syntax.h: Likewise.
78178         * sysdeps/i386/sysdep.h: Likewise.
78179         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78180         * sysdeps/mach/sysdep.h: Likewise.
78181         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78182         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78183         * sysdeps/s390/asm-syntax.h: Likewise.
78184         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78185         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78186         * sysdeps/sh/sysdep.h: Likewise.
78187         * sysdeps/unix/sparc/sysdep.h: Likewise.
78188         * sysdeps/wordsize-32/divdi3.c: Likewise.
78189         * sysdeps/x86_64/sysdep.h: Likewise.
78191         * argp/Versions: Remove _argp_unlock_xxx.
78193         [BZ #13559]
78194         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
78195         * abilist/libBrokenLocale.abilist: Likewise.
78196         * abilist/libanl.abilist: Likewise.
78197         * abilist/libc.abilist: Likewise.
78198         * abilist/libcrypt.abilist: Likewise.
78199         * abilist/libdl.abilist: Likewise.
78200         * abilist/libm.abilist: Likewise.
78201         * abilist/libnsl.abilist: Likewise.
78202         * abilist/libpthread.abilist: Likewise.
78203         * abilist/libresolv.abilist: Likewise.
78204         * abilist/librt.abilist: Likewise.
78205         * abilist/libthread_db.abilist: Likewise.
78206         * abilist/libutil.abilist: Likewise.
78207         * abilist/libnss_db.abilist: New file.
78209         * scripts/abilist.awk: Add support for indirect functions.
78211         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78213         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78215         * shlib-versions: Remove entries for ports architectures.
78217         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
78218         files in ports.
78219         * elf/stackguard-macros.h: Remove support for IA-64.
78220         * elf/tst-auditmod1.c: Likewise.
78221         * sysdeps/generic/ldsodefs.h: Likewise.
78223         * sysdeps/unix/sysv/linux/configure.in: Ports should define
78224         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78225         configure files.
78227         [BZ #13552]
78228         * configure.in: Remove --enable-omitfp support.
78229         * FAQ.in: Adjust.
78230         * config.make.in: Likewise.
78231         * Makeconfig: Likewise.
78232         * manual/install.texi: Likewise.
78234         In case anyone cares, the IA-64 architecture could move to ports.
78235         * sysdeps/ia64/*: Removed.
78236         * sysdeps/unix/sysv/linux/ia64/*: Removed.
78237         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78239         [BZ #13555]
78240         * configure.in: Remove entries for unsupported architectures.
78242         [BZ #13533]
78243         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78244         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
78245         routines.
78246         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78247         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78248         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
78249         fall back to using wcrtomb.
78250         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78251         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
78252         renaming.
78253         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78254         * wcsmbs/tst-c16c32-1.c: New file.
78256         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78257         local variable.
78259         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78261         * elf/tst-unique3.cc: Add explicit declaration of gets.
78262         * elf/tst-unique3lib.cc: Likewise.
78263         * elf/tst-unique3lib2.cc: Likewise.
78264         * elf/tst-unique4.cc: Likewise.
78266         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78268 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
78270         [BZ #13566]
78271         * assert/assert.h (static_assert): Don't define for C++.
78272         * libio/stdio.h (gets): Do declare for C++ <= C++11.
78273         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78275 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
78277         * iconv/loop.c (single loop): Fix assertion in storing of
78278         remaining bytes.
78280         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78282 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
78284         * posix/getconf.c: Update copyright year.
78285         * nss/getent.c: Likewise.
78286         * nss/makedb.c: Likewise.
78287         * iconv/iconvconfig.c: Likewise.
78288         * iconv/iconv_prog.c: Likewise.
78289         * elf/ldconfig.c: Likewise.
78290         * elf/pldd.c: Likewise.
78291         * elf/sotruss.ksh: Likewise.
78292         * catgets/gencat.c: Likewise.
78293         * csu/version.c: Likewise.
78294         * elf/ldd.bash.in: Likewise.
78295         * elf/sprof.c (print_version): Likewise.
78296         * locale/programs/locale.c: Likewise.
78297         * locale/programs/localedef.c: Likewise.
78298         * login/programs/pt_chown.c: Likewise.
78299         * nscd/nscd.c (print_version): Likewise.
78300         * debug/xtrace.sh: Likewise.
78301         * malloc/memusage.sh: Likewise.
78302         * malloc/mtrace.pl: Likewise.
78303         * debug/catchsegv.sh: Likewise.
78305 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
78307         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78308         pure attribute.
78310 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
78312         [BZ #13533]
78313         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78314         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78315         transformations.
78316         * iconv/gconv_int.h: Likewise.
78317         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78318         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78319         from libc for GLIBC_2.16.
78320         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78321         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78322         * wcsmbs/uchar.h: Really define mbstate_t.
78323         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78324         * wcsmbs/c16rtomb.c: New file.
78325         * wcsmbs/mbrtoc16.c: New file.
78326         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78327         for C/POSIX locale.
78328         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78329         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78331         * wcsmbs/wchar.h: Add missing __restrict.
78333 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78335         [BZ #13532]
78336         * time/Makefile (routines): Add timespec_get.
78337         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78338         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
78339         timespec for ISO C11.
78340         * time/timespec_get.c: New file.
78341         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78342         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78344         [BZ #13531]
78345         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78346         * stdlib/stdlib.h: Declare aligned_alloc.
78347         * Versions.def: Add GLIBC_2.16 for libc.
78348         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78350         [BZ 13527]
78351         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78352         ISO C11.
78354         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78355         code.
78357         [BZ #13528]
78358         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78360         [BZ #13529]
78361         * assert/assert.h (static_assert): Define.
78363         * version.h: Update for 2.16 development version.
78365         [BZ #13526]
78366         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78367         _ISOC11_SOURCE.
78369         * version.h (RELEASE): Bump for 2.15 release.
78370         * include/features.h (__GLIBC_MINOR__): Bump to 15.
78372         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78373         Patch by Marek Polacek <mpolacek@redhat.com>.
78375         * bits/byteswap.h: Protect long long constants with __extension__.
78376         * sysdeps/i386/bits/byteswap.h: Likewise.
78377         * sysdeps/ia64/bits/byteswap.h: Likewise.
78378         * sysdeps/s390/bits/byteswap.h: Likewise.
78379         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78381 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78383         [BZ #13540]
78384         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78385         destination buffer.
78386         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78388 2011-12-23  Marek Polacek  <polacek@redhat.com>
78390         * elf/dl-addr.c (determine_info): Add inline keyword.
78391         * elf/tst-auditmod4b.c (check_avx): Likewise.
78392         * elf/tst-auditmod6b.c (check_avx): Likewise.
78393         * elf/tst-auditmod6c.c (check_avx): Likewise.
78394         * elf/tst-auditmod7b.c (check_avx): Likewise.
78396 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78398         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78399         !__SSE_MATH__.
78401 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78403         [BZ #13540]
78404         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78405         processing for last bytes.
78407 2011-08-06  Bruno Haible  <bruno@clisp.org>
78409         [BZ #13061]
78410         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78411         U+0385, not to U+1FEE.
78413         [BZ #13062]
78414         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78415         entry for U+00A5 U+0301.
78417 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78419         [BZ #13166]
78420         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78421         buffer for the output is too small.
78423         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78424         optimization.
78426         [BZ #13185]
78427         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78428         SSE flags if possible.
78430 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78432         [BZ #13540]
78433         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78434         processing for last bytes.
78436 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
78438         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78439         (syscall-list-default-options, syscall-list-default-condition)
78440         (syscall-list-includes): Define.
78441         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78442         list of ABIs and options and #if conditions for each ABI.  Do not
78443         handle common syscalls between ABIs specially.
78444         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78445         Remove.
78446         (syscall-list-variants, syscall-list-32bit-options)
78447         (syscall-list-32bit-condition, syscall-list-64bit-options)
78448         (syscall-list-64bit-condition): Define.
78449         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78450         (syscall-list-variants, syscall-list-32bit-options)
78451         (syscall-list-32bit-condition, syscall-list-64bit-options)
78452         (syscall-list-64bit-condition): Define.
78453         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78454         Remove.
78455         (syscall-list-variants, syscall-list-32bit-options)
78456         (syscall-list-32bit-condition, syscall-list-64bit-options)
78457         (syscall-list-64bit-condition): Define.
78458         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78459         Remove.
78460         (syscall-list-variants, syscall-list-32bit-options)
78461         (syscall-list-32bit-condition, syscall-list-64bit-options)
78462         (syscall-list-64bit-condition): Define.
78464 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78466         * locale/iso-639.def: Add brx entry.
78468         [BZ #13328]
78469         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78470         Proposed by Mariusz_Cukr <marcukr@op.pl>.
78472         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78473         __feraiseexcept_renamed.
78475 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78477         [BZ #13538]
78478         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78479         EPOLLET with unsigned values.
78480         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78481         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78483         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78484         to large cancellation.
78485         * math/s_cacoshf.c: Likewise.
78486         * math/s_cacoshl.c: Likewise.
78488 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
78490         [BZ #13305]
78491         [BZ #12786]
78492         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78493         * math/s_cacoshf.c: Likewise.
78494         * math/s_cacoshl.c: Likewise.
78496 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78498         [BZ #13439]
78499         * iconv/gconv.h: Define __GCONV_SWAP.
78500         * iconvdata/unicode.c: The swap bit must be stored in __flags.
78501         * iconvdata/utf-16.c: Likewise.
78502         * iconvdata/utf-32.c: Likewise.
78504 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
78506         [BZ #13524]
78507         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78508         numerator after shifting it by one limb.
78510 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
78512         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78513         under [__USE_EXTERN_INLINES].
78515 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78517         [BZ #13446]
78518         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78520 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78522         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78523         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78524         optimized code.
78525         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78526         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78527         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78528         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78529         for strncasecmp/strncasecmp_l compilation.
78530         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78531         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78533 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
78535         [BZ #13484]
78536         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78537         of __asm__.
78539 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78541         [BZ #13506]
78542         * time/tzfile.c (__tzfile_read): Check values from file header.
78544 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
78546         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78547         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78548         * powerpc/powerpc32/dl-start.S: Likewise.
78549         * powerpc/powerpc32/elf/start.S: Likewise.
78550         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78551         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78552         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78553         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78554         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78555         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78556         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78557         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78558         * powerpc/powerpc32/fpu/s_round.S: Likewise.
78559         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78560         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78561         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78562         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78563         * powerpc/powerpc32/memset.S: Likewise.
78564         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78565         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78566         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78567         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78568         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78569         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78570         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78571         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78572         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78573         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78574         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78575         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78576         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78578 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78580         * math/libm-test.inc: Added more nearbyint tests.
78581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78582         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78583         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78584         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78586 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
78588         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78589         FD_CLOEXEC.
78591 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78593         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78594         Add wcscpy-ssse3 wcscpy-c.
78595         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78596         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78597         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78598         * sysdeps/x86_64/wcschr.S: New file.
78599         * sysdeps/x86_64/wcsrchr.S: New file.
78600         * string/test-strcmp.c: Remove checking of wcscmp function for
78601         wrong alignments.
78602         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78603         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78604         wcsrchr-sse2 wcsrchr-c.
78605         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78606         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78607         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78608         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78609         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78610         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78611         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78612         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78613         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78614         * wcsmbc/wcschr.c (WCSCHR): New macro.
78616 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78618         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78619         * wcsmbs/test-wcsrchr.c: New file.
78620         * string/test-strrchr.c: Add wcsrchr support.
78621         (WIDE): New macro.
78622         * wcsmbs/test-wcscpy.c: New file.
78623         * string/test-strcpy.c: Add wcscpy support.
78624         (WIDE): New macro.
78626 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
78628         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78629         the inner loop.
78631 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
78633         [BZ #13472]
78634         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78636 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
78638         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78639         Minor optimizations.
78641         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78642         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78643         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78645 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
78647         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78648         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78649         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78650         for gcc to avoid warnings.
78651         * inet/Makefile (tests): Add tst-checks.
78652         * inet/tst-checks.c: New file.
78654         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78655         warning.
78657         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78658         __wmemcmp_sse2.
78660         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78661         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78663         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78665 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
78667         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78668         problem.
78670         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78672 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
78674         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78675         conditional on GCC version.
78676         (__arch_compare_and_exchange_val_8_acq)
78677         (__arch_compare_and_exchange_val_16_acq)
78678         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78679         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78680         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78682 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
78684         * sysdeps/sh/backtrace.c: New file.
78686 2011-12-02  Andreas Schwab  <schwab@redhat.com>
78688         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
78689         parenthesis.
78691 2011-12-01  Andreas Schwab  <schwab@redhat.com>
78693         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78694         falling back to utime.
78696 2011-11-30  Andreas Schwab  <schwab@redhat.com>
78698         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78699         expectations for float.
78701 2011-11-29  Andreas Schwab  <schwab@redhat.com>
78703         * locale/weight.h (findidx): Add parameter len.
78704         * locale/weightwc.h (findidx): Likewise.
78705         * posix/fnmatch_loop.c (FCT): Adjust caller.
78706         * posix/regcomp.c (build_equiv_class): Likewise.
78707         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78708         * posix/regexec.c (check_node_accept_bytes): Likewise.
78709         * string/strcoll_l.c (STRCOLL): Likewise.
78710         * string/strxfrm_l.c (STRXFRM): Likewise.
78712 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
78714         * Makefile.in: Remove CVSOPT handling.
78715         * configure.in: Remove use of AC_REVISION.
78716         * iconvdata/Makefile (distribute): No need to filter out CVS.
78717         * scripts/list-sources.sh: Remove CVS, subversion and monotone
78718         handling.
78720 2011-11-16  Andreas Schwab  <schwab@redhat.com>
78722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78723         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78724         [USE_AS_STRNCASECMP_L]: Likewise.
78725         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78726         NO_TLS_DIRECT_SEG_REFS.
78727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78728         Fix argument offsets for non-PIC.
78729         [USE_AS_STRNCASECMP_L]: Likewise.
78730         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78731         NO_TLS_DIRECT_SEG_REFS.
78733 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78735         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78736         O_CLOEXEC.
78737         * locale/loadlocale.c (_nl_load_locale): Likewise.
78739 2011-11-15  Andreas Schwab  <schwab@redhat.com>
78741         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78742         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78743         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78744         (SYSCALL_GETTIME): Set errno on error.
78746         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78747         count references to noai6ai_cached.
78749 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78751         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78753         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78754         FD_CLOEXEC for /proc/self/maps.
78756         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78757         FD_CLOEXEC for /proc/meminfo.
78759         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78760         gai.conf.
78762         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
78763         FD_CLOEXEC for given file.
78765         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78767         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78768         FD_CLOEXEC for /etc/hosts.
78769         (_gethtent): Likewise.
78771         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78773         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78774         cancellation and set FD_CLOEXEC for /etc/netgroup.
78776         * nss/nss_files/files-key.c (search): Don't allow cancellation when
78777         reading /etc/publickey.
78779         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78780         allow cancellation when reading /etc/group.
78782         * nss/nss_files/files-alias.c (internal_setent): Don't allow
78783         cancellation.
78784         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
78786         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78787         when using data file.
78789         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78791         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78792         (write_nis_obj): Use "c" and "e" in fopen.
78794         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78796         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78798         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78800         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78802         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78803         locale.alias.
78805         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78807         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78809         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78811         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78812         file parsing and set FD_CLOEXEC.
78814 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78816         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78818 2011-11-14  Andreas Schwab  <schwab@redhat.com>
78820         * malloc/arena.c (arena_get2): Don't call reused_arena when
78821         _int_new_arena failed.
78823 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78825         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78826         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78827         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78828         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78829         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78830         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78831         to compile strcasecmp and strncasecmp.
78832         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78833         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78837 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
78839         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78840         locale-defines.sym to gen-as-const-headers.
78841         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78842         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78844         to compile strcasecmp and strncasecmp.
78845         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78846         strcasecmp_l and strncasecmp_l.
78847         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78848         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78849         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78850         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78851         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78852         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78853         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78854         * sysdeps/i386/i686/multiarch/strncase.S: New file.
78855         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78856         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78857         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78859 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
78861         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78862         result of SYSDEP_GETTIME_CPU to retval.
78863         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78864         parameter list to macro.  Remove trailing semicolon.  Adjust users.
78866         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78867         variable.
78869         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
78870         mantissa words.
78871         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
78873         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
78874         from unused variable.
78876         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
78877         DWARF definitions.
78878         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
78879         for assembling.
78881         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
78882         over namespaces.
78884         * sunrpc/rpc_prot.c (rejected): Fix case value.
78886         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
78887         unsigned long long int to avoid warnings in shift.
78889         * posix/regex_internal.c (re_string_reconstruct): Actually use result
78890         of use of trans.
78891         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
78892         variable tmp.
78894         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
78895         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
78896         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
78898         * nis/nis_table.c (nis_list): Use variable of correct type for
78899         result of __follow_path call.
78901 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78903         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
78904         of math functions ceil, trunc, floor, round, and sqrt, when
78905         avaliable on the platform.
78906         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
78907         name clash.
78908         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78909         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78910         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78912 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
78914         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
78915         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
78917 2011-11-11  Roland McGrath  <roland@hack.frob.com>
78919         * include/unistd.h: Fix __readlink return type.
78920         Reported by Chris Metcalf <cmetcalf@tilera.com>.
78922 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
78924         * stdlib/ucontext.h: Undo last change for makecontext.
78926 2011-11-11  Andreas Schwab  <schwab@redhat.com>
78928         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
78930         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
78931         * setjmp/setjmp.h: Mark functions as non-leaf.
78932         * setjmp/bits/setjmp2.h: Likewise.
78933         * stdlib/ucontext.h: Likewise.
78935 2011-11-10  Andreas Schwab  <schwab@redhat.com>
78937         * malloc/arena.c (_int_new_arena): Don't increment narenas.
78938         (reused_arena): Don't check arena limit.
78939         (arena_get2): Atomically check arena limit.
78941 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
78943         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
78944         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
78946         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
78947         instructions.
78949 2011-11-07  Andreas Schwab  <schwab@redhat.com>
78951         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
78952         handler when locking.
78954         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78955         Fix size of allocated buffer.
78957 2011-11-04  Andreas Schwab  <schwab@redhat.com>
78959         [BZ #10103]
78960         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
78961         declarations for long double functions.
78962         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
78964         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
78966 2011-11-03  Andreas Schwab  <schwab@redhat.com>
78968         * nscd/nscd.c (main): Don't start AVC thread until credentials are
78969         installed.
78971         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
78972         is disabled.
78974 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78976         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
78978 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
78980         * include/alloca.h (stackinfo_alloca_round): Define.
78981         (extend_alloca): Use it.
78982         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
78983         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
78984         here.
78986         * scripts/check-local-headers.sh: Ignore libaudit.h.
78988         * nscd/Makefile (extra-objs): Make recursively expanded.
78990 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
78992         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
78993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
78995         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
78996         * posix/tst-rfc3484-2.c: Likewise.
78997         * posix/tst-rfc3484-3.c: Likewise.
78999         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79000         process_vm_writev.
79001         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79002         process_vm_writev.
79003         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79004         process_vm_writev from libc using GLIBC_2.15 version.
79006         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79008 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79010         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79011         stack usage.
79013 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79015         [BZ #13367]
79016         * nss/getent.c (initgroups_keys): Show error message in case no group
79017         names are given.
79019         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79020         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79021         __bump_nl_timestamp.
79022         * nscd/connections (nscd_init): When host database is served open
79023         netlink socket and request notification about configuration changes.
79024         (main_loop_poll): Track netlink file descriptor and bump timestamp
79025         in case data becomes available.
79026         (main_loop_epoll): Likewise.
79027         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79028         (database_pers_head): Add extra_data fileds.
79029         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79030         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79031         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79032         Adjust caller.
79033         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79034         in6ai data, call __free_in6ai.
79035         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79036         Add -DHAVE_NETLINK.
79037         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79038         interface information.  Reuse previous data if netlink timestamp
79039         is not changed.
79040         (__bump_nl_timestamp): New function.
79041         (__free_in6ai): New function.
79043 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79045         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79046         close_not_cancel_no_status here.
79047         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79049 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79051         [BZ #13276]
79052         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79053         return value.
79055         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79056         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79057         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79059 2011-07-03  Andreas Jaeger  <aj@suse.de>
79061         [BZ #10709]
79062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79063         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79064         * math/libm-test.inc (sin_test): Add test case.
79066 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79068         [BZ #13337]
79069         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79070         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79072         * elf/chroot_canon.c (chroot_canon): Cleanups.
79074         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79076         [BZ #13335]
79077         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79078         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79080         * string/test-strchr.c: Make usable for strchrnul testing.
79081         * string/test-strchrnul.c: New file.
79082         * string/Makefile (strop-tests): Add strchrnul.
79084         * po/it.po: Update from translation team.
79085         * po/es.po: Likewise.
79087 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
79089         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79090         the three constants needed as parameters.  Drop the others.
79091         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79092         __m128i_strloadu_tolower.
79093         Create and initialize variable zero and use it in all the places
79094         where _mm_setzero_si128 was used.
79096         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79097         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79098         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79099         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79100         anymore.
79101         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79102         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79103         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79104         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79105         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79106         __mpranred, __mptan.
79107         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79108         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79109         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79110         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79111         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79112         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79113         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79114         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79115         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79117 2011-10-28  Andreas Schwab  <schwab@redhat.com>
79119         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79120         redefine if SHARED.
79121         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79123         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79124         wide char related routines to wcsmbs subdir.
79126 2011-10-27  Andreas Schwab  <schwab@redhat.com>
79128         [BZ #13344]
79129         * misc/sys/cdefs.h (__THROWNL): Define.
79130         * posix/unistd.h: Use __THREADNL instead of __THREAD
79131         for memory synchronization functions.
79133 2011-10-26  Roland McGrath  <roland@hack.frob.com>
79135         [BZ #13349]
79136         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79137         doesn't exist.
79138         * manual/stdio.texi (Obstack Streams): Node removed.
79140 2011-10-26  Andreas Schwab  <schwab@redhat.com>
79142         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79143         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79144         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79146         * math/math_private.h (math_force_eval): Allow non-addressable
79147         arguments.
79148         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79150 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79152         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79153         file is not needed.
79155         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79156         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79158         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79160         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79161         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79162         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79163         Add AVX variants.
79164         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79165         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79166         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79167         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79168         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79169         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79170         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79171         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79172         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79173         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79174         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79175         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79176         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79177         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79178         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79179         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79180         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79181         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79182         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79184         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79185         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
79187         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79188         place.  Use VEX encoding when compiling for AVX.
79190 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79192         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79193         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79195         * string/test-strchr.c (do_test): Don't generate NUL bytes.
79197 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79199         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79200         useless if() expression.
79201         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79202         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79203         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79204         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79205         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79206         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79207         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79208         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79209         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79210         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79211         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79212         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79213         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79214         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79215         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79216         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79217         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79218         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79219         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79221         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79223 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79225         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79226         condition.
79227         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79229 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79231         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79232         .text section.  Avoid duplicate constants.
79233         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79234         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79235         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79237         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79238         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79239         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79241         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79242         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79243         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79244         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79245         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79246         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79247         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79248         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79249         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79250         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79251         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79252         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79253         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79254         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79255         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79256         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79257         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79258         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79259         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79260         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79261         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79262         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79263         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79264         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79265         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79266         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79267         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79268         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79269         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79270         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79271         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79272         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79273         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79274         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79275         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79276         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79277         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79279 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
79281         * sysdeps/x86_64/dla.h: Move to ...
79282         * sysdeps/x86_64/fpu/dla.h: ...here.
79283         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79284         situations.  Use __builtin_fma only for gcc 4.6 and up.
79286         * config.make.in: Add have-mfma4 entry.
79287         * configure.in: Substitute libc_cv_cc_fma4.
79288         * math/Makefile (dbl-only-routines): Add sincostab.
79289         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79290         Use __sincostab not sincos.
79291         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79292         name is a macro.
79293         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79296         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
79297         using __copysign.
79298         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
79299         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
79300         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79301         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79302         and __inv.
79303         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79304         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79305         __copysign.
79306         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
79307         define aliases when function name is a macro.
79308         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79309         sysdeps/ieee754/dbl-64/sincos.tbl.
79310         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79311         fma4-enabled routines.
79312         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79313         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79314         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79315         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79316         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79317         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79318         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79319         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79320         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79321         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79322         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79323         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79324         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79325         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79326         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79327         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79328         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79329         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79330         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79331         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79332         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79333         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79334         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79335         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79336         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79337         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79338         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79339         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79340         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79341         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79343         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79344         rename.
79345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79346         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79347         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79348         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79349         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79350         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79352         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79354 2011-10-24  Andreas Schwab  <schwab@redhat.com>
79356         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79358 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79360         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79362         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79363         prediction.
79364         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79366         * string/strnlen.c: Don't define STRNLEN, reverse logic.
79367         Remove unused variable magic_bits.
79368         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79370         * string/strnlen.c: Define and use STRNLEN macro.
79371         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79372         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79373         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79374         * wcsmbs/wcslen.c: Define and use WCSLEN.
79375         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79376         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79377         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79378         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79379         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79380         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79381         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79383 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79386         strnlen-sse2-no-bsf.
79387         Rename strlen-no-bsf to strlen-sse2-no-bsf.
79388         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79389         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79390         Add strnlen support.
79391         (USE_AS_STRNLEN): New macro.
79392         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79393         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79394         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79395         * sysdeps/x86_64/wcslen.S: New file.
79397 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
79399         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79400         XMM-moves are used for copying on small sizes.
79402 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79404         * wcsmbs/Makefile (strop-tests): Add wcschr.
79405         * wcsmbs/test-wcschr.c: New file.
79406         * string/test-strchr.c: Update.
79407         Add wcschr support.
79408         (WIDE): New macro.
79410 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79412         * wcsmbs/Makefile (strop-tests): Add wcslen.
79413         * wcsmbs/test-wcslen.c: New file.
79414         * string/test-strlen.c: Update.
79415         Add wcslen support.
79416         (WIDE): New macro.
79418 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79420         * po/it.po: Update from translation team.
79422 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79424         * sysdeps/x86_64/wcscmp.S: Update.
79425         Fix wrong comparison semantics.
79426         wcscmp shall use signed comparison not unsigned.
79427         Don't use substraction to avoid overflow bug.
79428         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79429         * wcsmbc/wcscmp.c: Likewise.
79430         * string/test-strcmp.c: Likewise.
79431         Add new tests to check cases with negative values.
79433 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79435         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79436         * sysdeps/x86_64/dla.h: ...here.  New file.
79437         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79440         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79442         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79443         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79445         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79447 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
79449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79450         __ynl_finite aliases.
79452 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79456         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79457         define DLA_FMA.
79458         [DLA_FMA] (EMULV): Use DLA_FMA.
79459         [DLA_FMA] (MUL12): Use EMULV.
79460         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79461         that are not needed.
79462         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79464         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79466         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79468         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79470 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
79472         * math/s_nan.c: Undef __nan.
79473         * math/s_nanf.c: Undef __nanf.
79474         * math/s_nanl.c: Undef __nanl.
79475         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79476         "math_private.h".
79478 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79480         * math/s_catan.c: Add branch predictions.
79481         * math/s_catanf.c: Likewise.
79482         * math/s_catanh.c: Likewise.
79483         * math/s_catanhf.c: Likewise.
79484         * math/s_catanhl.c: Likewise.
79485         * math/s_catanl.c: Likewise.
79486         * math/s_cexp.c: Likewise.
79487         * math/s_cexpf.c: Likewise.
79488         * math/s_cexpl.c: Likewise.
79489         * math/s_clog.c: Likewise.
79490         * math/s_clog10.c: Likewise.
79491         * math/s_clog10f.c: Likewise.
79492         * math/s_clog10l.c: Likewise.
79493         * math/s_clogf.c: Likewise.
79494         * math/s_clogl.c: Likewise.
79495         * math/s_csqrt.c: Likewise.
79496         * math/s_csqrtf.c: Likewise.
79497         * math/s_csqrtl.c: Likewise.
79498         * math/s_ctanf.c: Likewise.
79499         * math/s_ctanh.c: Likewise.
79500         * math/s_ctanhf.c: Likewise.
79501         * math/s_ctanhl.c: Likewise.
79502         * math/s_ctanl.c: Likewise.
79504         * math/math_private.h: Define __nan, __nanf, __nanl.
79505         * math/s_cacosh.c: Include <math_private.h>.
79506         * math/s_cacoshl.c: Likewise.
79507         * math/s_casinh.c: Likewise.
79508         * math/s_casinhf.c: Likewise.
79509         * math/s_casinhl.c: Likewise.
79510         * math/s_ccos.c: Rely entire on ccosh.
79511         * math/s_ccosf.c: Rely entire on ccoshf.
79512         * math/s_ccosl.c: Rely entirely on ccoshl.
79513         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
79514         Remove tests for FE_INVALID.
79515         * math/s_ccoshf.c: Likewise.
79516         * math/s_ccoshl.c: Likewise.
79517         * math/s_csin.c: Likewise.
79518         * math/s_csinf.c: Likewise.
79519         * math/s_csinh.c Likewise.
79520         * math/s_csinhf.c: Likewise.
79521         * math/s_csinhl.c: Likewise.
79522         * math/s_csinl.c: Likewise.
79523         * math/s_ctan.c: Likewise.
79524         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79525         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79526         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79528 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
79530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79531         compilation problems.
79533         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79534         __builtin_expect.
79536 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
79538         * sysdeps/i386/configure.in: Test for -mfma4 option.
79539         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79540         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79541         COMMON_CPUID_INDEX_80000001.
79542         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79543         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79544         use it if FMA3 is not supported.
79545         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79547         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79548         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79550 2011-10-20  Andreas Schwab  <schwab@redhat.com>
79552         [BZ #12892]
79553         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79554         it would create a cycle with a link time dependency.
79556 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
79558         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79559         instruction.
79560         * string/Makefile (strop-tests): Add rawmemchr.
79561         * string/test-rawmemchr.c: New file.
79563         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79564         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
79565         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
79566         when compiling str{,n}casecmp and when AVX is available.  Hook up
79567         new optimized code in initializers.
79569 2011-10-19  Andreas Schwab  <schwab@redhat.com>
79571         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79572         __feraiseexcept instead of feraiseexcept.
79574 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
79576         * math/math_private.h: Define defaults for libc_fetestexcept and
79577         libc_feupdateenv.
79578         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79579         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79580         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79581         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79582         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79583         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79584         libc_fetestexcept and libc_feupdateenv.
79586         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79587         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79588         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79589         * sysdeps/x86_64/fpu/math_private.h: Define special version of
79590         libc_feholdexcept_setround.
79592         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79593         Add s_nearbyint-c and s_nearbyintf-c.
79594         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79595         nearbyintf inlines.
79596         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79597         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79598         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79599         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79601         * math/math_private.h: Define defaults for libc_fegetround,
79602         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79603         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79604         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79605         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79606         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79607         standard functions.
79608         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79609         Remove comments and hacks for old compiler versions.
79610         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79611         libc_fegetround, libc_fesetround, libc_feholdexcept, and
79612         libc_feholdexceptl.
79614 2011-10-18  Andreas Schwab  <schwab@redhat.com>
79616         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79617         (__feraiseexcept_renamed): Add __NTH.
79618         (feraiseexcept): Add __NTH.  Rename local variables to fix
79619         namespace violations.
79621 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
79623         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79625         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79627         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79628         recently added interfaces.
79629         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79631         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79632         about macro parameter expansion.
79634         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79635         __NO_MATH_INLINES is defined.  Cleanups.
79637         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79638         and __floorf is target has SSE4.1.
79639         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79640         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79641         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79642         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79644         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79645         name.
79646         (floorf): Likewise.
79648         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79650 2011-10-17  Andreas Schwab  <schwab@redhat.com>
79652         * misc/sys/cdefs.h: Fix last change.
79654         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79655         database lookup.
79657 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
79659         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79661         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79662         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79663         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79664         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79665         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79666         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79667         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79668         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79669         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79670         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79671         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79672         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79673         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79674         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79675         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79676         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79677         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79678         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79679         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79680         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79681         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79682         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79684         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79685         ceil, ceilf, floor, floorf.
79687         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79688         Perform IRELATIVE relocations last.
79690         * elf/do-rel.h: Add another parameter nrelative, replacing the
79691         local variable with the same name.  Change name of the function
79692         to end in Rel or Rela (uppercase).
79693         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79694         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
79695         elf_dynamic_do_##reloc function.
79697 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79699         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79700         is sufficient, at least on modern CPUs.
79702         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79704         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79705         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79707         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79708         __expl_finite.
79709         * math/bits/math-finite.h: Add entries for exp.
79710         * math/e_expl.c: Add __*_finite alias.
79711         * sysdeps/i386/fpu/e_exp.S: Likewise.
79712         * sysdeps/i386/fpu/e_expf.S: Likewise.
79713         * sysdeps/i386/fpu/e_expl.c: Likewise.
79714         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79715         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79716         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79717         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79718         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79719         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79720         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79722         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79723         is sufficient, at least on modern CPUs.
79725         * ctype/ctype-info.c (__ctype_init): Define.
79726         * include/ctype.h (__ctype_init): Declare.
79727         (__ctype_b_loc): The variable is always initialized.
79728         (__ctype_toupper_loc): Likewise.
79729         (__ctype_tolower_loc): Likewise.
79730         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79731         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79733 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
79735         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79737         * configure.in: Also look in $cxxmachine/include for C++ system
79738         headers.
79740 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79742         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79743         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79744         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79745         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
79746         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79747         (USE_AS_WMEMCMP): New macro.
79748         Fixing indents.
79749         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79750         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79751         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79752         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79753         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79754         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79755         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79756         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79757         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79758         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79759         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79760         (USE_AS_WMEMCMP): New macro.
79761         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79762         * sysdeps/string/test-memcmp.c: Update.
79763         Fix simple_wmemcmp.
79764         Add new tests.
79765         * wcsmbs/wmemcmp.c: Update.
79766         (WMEMCMP): New macro.
79767         Fix overflow bug.
79769 2011-10-12  Andreas Jaeger  <aj@suse.de>
79771         [BZ #13268]
79772         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79774 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79776         * libio/iofwide.c (do_length): Avoid warning.
79778         * ctype/ctype.h (__isctype_f): Add missing __THROW.
79780 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
79782         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79784         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79785         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79786         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79787         * sysdeps/i386/i686/fpu/e_log.S: New file.
79788         * sysdeps/i386/i686/fpu/e_logf.S: New file.
79789         * sysdeps/i386/i686/fpu/e_logl.S: New file.
79791         * ctype/ctype.h: Add support for inlined isXXX functions when
79792         compiling C++ code.
79794 2011-10-14  Andreas Schwab  <schwab@redhat.com>
79796         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79798         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79800 2011-10-13  Roland McGrath  <roland@hack.frob.com>
79802         [BZ #13291]
79803         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79805 2011-10-13  Andreas Schwab  <schwab@redhat.com>
79807         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79808         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79809         feraiseexcept.
79811         * sysdeps/x86_64/memrchr.S: Check for zero size.
79813         * string/stratcliff.c: Add memrchr tests.
79815 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79818         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79819         rawmemchr-sse2 rawmemchr-sse2-bsf.
79820         * sysdeps/i386/i686/multiarch/memchr.S: New file.
79821         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79822         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79823         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79824         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79825         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79826         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79827         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79828         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79829         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79830         * string/memrchr.c (MEMRCHR): New macro.
79832 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
79834         Add integration with gcc's -ffinite-math-only and optimize wrapper
79835         functions in libm.
79836         * Versions.def: Define GLIBC_2.15 version for libm.
79837         * math/Makefile (headers): Add bits/math-finite.h.
79838         * math/bits/math-finite.h: New file.
79839         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79840         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79841         * math/e_acoshl.c: Add __*_finite alias.
79842         * math/e_acosl.c: Likewise.
79843         * math/e_asinl.c: Likewise.
79844         * math/e_atan2l.c: Likewise.
79845         * math/e_atanhl.c: Likewise.
79846         * math/e_coshl.c: Likewise.
79847         * math/e_exp10.c: Likewise.
79848         * math/e_exp10f.c: Likewise.
79849         * math/e_exp10l.c: Likewise.
79850         * math/e_exp2l.c: Likewise.
79851         * math/e_fmodl.c: Likewise.
79852         * math/e_gammal_r.c: Likewise.
79853         * math/e_hypotl.c: Likewise.
79854         * math/e_j0l.c: Likewise.
79855         * math/e_j1l.c: Likewise.
79856         * math/e_jnl.c: Likewise.
79857         * math/e_lgammal_r.c: Likewise.
79858         * math/e_log10l.c: Likewise.
79859         * math/e_log2l.c: Likewise.
79860         * math/e_logl.c: Likewise.
79861         * math/e_powl.c: Likewise.
79862         * math/e_sinhl.c: Likewise.
79863         * math/e_sqrtl.c: Likewise.
79864         * math/e_scalb.c: Completely rewritten and optimized.
79865         * math/e_scalbf.c: Likewise.
79866         * math/e_scalbl.c: Likewise.
79867         * math/w_acos.c: Likewise.
79868         * math/w_acosf.c: Likewise.
79869         * math/w_acosl.c: Likewise.
79870         * math/w_acosh.c: Likewise.
79871         * math/w_acoshf.c: Likewise.
79872         * math/w_acoshl.c: Likewise.
79873         * math/w_asin.c: Likewise.
79874         * math/w_asinf.c: Likewise.
79875         * math/w_asinl.c: Likewise.
79876         * math/w_atan2.c: Likewise.
79877         * math/w_atan2f.c: Likewise.
79878         * math/w_atan2l.c: Likewise.
79879         * math/w_atanh.c: Likewise.
79880         * math/w_atanhf.c: Likewise.
79881         * math/w_atanhl.c: Likewise.
79882         * math/w_exp10.c: Likewise.
79883         * math/w_exp10f.c: Likewise.
79884         * math/w_exp10l.c: Likewise.
79885         * math/w_fmod.c: Likewise.
79886         * math/w_fmodf.c: Likewise.
79887         * math/w_fmodl.c: Likewise.
79888         * math/w_j0.c: Likewise.
79889         * math/w_j0f.c: Likewise.
79890         * math/w_j0l.c: Likewise.
79891         * math/w_j1.c: Likewise.
79892         * math/w_j1f.c: Likewise.
79893         * math/w_j1l.c: Likewise.
79894         * math/w_jn.c: Likewise.
79895         * math/w_jnf.c: Likewise.
79896         * math/w_log.c: Likewise.
79897         * math/w_logf.c: Likewise.
79898         * math/w_logl.c: Likewise.
79899         * math/w_log10.c: Likewise.
79900         * math/w_log10f.c: Likewise.
79901         * math/w_log10l.c: Likewise.
79902         * math/w_log2.c: Likewise.
79903         * math/w_log2f.c: Likewise.
79904         * math/w_log2l.c: Likewise.
79905         * math/w_pow.c: Likewise.
79906         * math/w_powf.c: Likewise.
79907         * math/w_powl.c: Likewise.
79908         * math/w_remainder.c: Likewise.
79909         * math/w_remainderf.c: Likewise.
79910         * math/w_remainderl.c: Likewise.
79911         * math/w_scalb.c: Likewise.
79912         * math/w_scalbf.c: Likewise.
79913         * math/w_scalbl.c: Likewise.
79914         * math/w_sqrt.c: Likewise.
79915         * math/w_sqrtf.c: Likewise.
79916         * math/w_sqrtl.c: Likewise.
79917         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
79918         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
79919         used.
79920         * math/math_private.h: Declare __kernel_standard_f.
79921         * math/w_cosh.c: Remove cruft and optimize a bit.
79922         * math/w_coshf.c: Likewise.
79923         * math/w_coshl.c: Likewise.
79924         * math/w_exp2.c: Likewise.
79925         * math/w_exp2f.c: Likewise.
79926         * math/w_exp2l.c: Likewise.
79927         * math/w_hypot.c: Likewise.
79928         * math/w_hypotf.c: Likewise.
79929         * math/w_hypotl.c: Likewise.
79930         * math/w_lgamma.c: Likewise.
79931         * math/w_lgamma_r.c: Likewise.
79932         * math/w_lgammaf.c: Likewise.
79933         * math/w_lgammaf_r.c: Likewise.
79934         * math/w_lgammal.c: Likewise.
79935         * math/w_lgammal_r.c: Likewise.
79936         * math/w_sinh.c: Likewise.
79937         * math/w_sinhf.c: Likewise.
79938         * math/w_sinhl.c: Likewise.
79939         * math/w_tgamma.c: Likewise.
79940         * math/w_tgammaf.c: Likewise.
79941         * math/w_tgammal.c: Likewise.
79942         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79943         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79944         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
79945         Minor optimizations.  Pretty printing.  Remove cruft.
79946         * sysdeps/i386/fpu/e_acosf.S: Likewise.
79947         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79948         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79949         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79950         * sysdeps/i386/fpu/e_acosl.c: Likewise.
79951         * sysdeps/i386/fpu/e_asin.S: Likewise.
79952         * sysdeps/i386/fpu/e_asinf.S: Likewise.
79953         * sysdeps/i386/fpu/e_atan2.S: Likewise.
79954         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
79955         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
79956         * sysdeps/i386/fpu/e_atanh.S: Likewise.
79957         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79958         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79959         * sysdeps/i386/fpu/e_exp10.S: Likewise.
79960         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
79961         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
79962         * sysdeps/i386/fpu/e_exp2.S: Likewise.
79963         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
79964         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
79965         * sysdeps/i386/fpu/e_fmod.S: Likewise.
79966         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
79967         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
79968         * sysdeps/i386/fpu/e_hypot.S: Likewise.
79969         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
79970         * sysdeps/i386/fpu/e_log.S: Likewise.
79971         * sysdeps/i386/fpu/e_log10.S: Likewise.
79972         * sysdeps/i386/fpu/e_log10f.S: Likewise.
79973         * sysdeps/i386/fpu/e_log10l.S: Likewise.
79974         * sysdeps/i386/fpu/e_log2.S: Likewise.
79975         * sysdeps/i386/fpu/e_log2f.S: Likewise.
79976         * sysdeps/i386/fpu/e_log2l.S: Likewise.
79977         * sysdeps/i386/fpu/e_logf.S: Likewise.
79978         * sysdeps/i386/fpu/e_logl.S: Likewise.
79979         * sysdeps/i386/fpu/e_pow.S: Likewise.
79980         * sysdeps/i386/fpu/e_powf.S: Likewise.
79981         * sysdeps/i386/fpu/e_powl.S: Likewise.
79982         * sysdeps/i386/fpu/e_remainder.S: Likewise.
79983         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
79984         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
79985         * sysdeps/i386/fpu/e_scalb.S: Likewise.
79986         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79987         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79988         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
79989         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
79990         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
79991         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79992         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79994         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79995         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79996         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79997         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
79998         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79999         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80000         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80001         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80002         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80004         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80005         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80007         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80008         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80009         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80010         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80011         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80012         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80013         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80014         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80015         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80016         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80017         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80018         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80019         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80020         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80021         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80022         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80023         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80025         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80026         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80027         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80028         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80029         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80030         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80031         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80032         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80033         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80034         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80035         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80036         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80037         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80038         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80039         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80040         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80041         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80042         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80043         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80044         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80045         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80046         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80047         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80048         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80049         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80050         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80051         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80052         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80053         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80054         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80055         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80056         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80057         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80058         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80059         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80060         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80061         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80062         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80063         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80064         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80065         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80066         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80067         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80068         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80069         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80070         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80071         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80072         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80073         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80074         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80075         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80076         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80077         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80078         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80079         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80080         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80081         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80082         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80083         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80084         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80085         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80086         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80087         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80088         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80089         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80090         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80091         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80092         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80093         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80094         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80095         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80096         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80097         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80098         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80099         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80100         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80101         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
80102         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80103         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80104         (__isnanf): Likewise.
80105         (__isinf_ns): Likewise.
80106         (__isinf_nsf): Likewise.
80107         (__finite): Likewise.
80108         (__finitef): Likewise.
80109         (__ieee754_sqrt): Define as macro.
80110         (__ieee754_sqrtf): Define as macro.
80111         (__ieee754_sqrtl): Define as macro.
80112         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80113         inlined copy.
80114         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80115         __FINITE_MATH_ONLY__ consistent.
80116         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80118 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
80120         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80121         of rawmemchr.
80123         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80125 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
80127         * po/ja.po: Update from translation team.
80129 2011-10-08  Roland McGrath  <roland@hack.frob.com>
80131         * locale/programs/locarchive.c (prepare_address_space): New function.
80132         (create_archive, enlarge_archive, open_archive): Use it.
80134         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80135         inside [SHARED], where it is used.
80137         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80139         * nss/getent.c (netgroup_keys): Remove unused variable.
80140         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80142 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
80144         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80145         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80146         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80147         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80148         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80149         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80150         * math/Makefile (libm-calls): Add s_isinf_ns.
80151         * math/divtc3.c: Use __isinf_nsl instead of isinf.
80152         * math/multc3.c: Likewise.
80153         * math/s_casin.c: Likewise.
80154         * math/s_casinf.c: Likewise.
80155         * math/s_casinl.c: Likewise.
80156         * math/s_ccos.c: Likewise.
80157         * math/s_ccosf.c: Likewise.
80158         * math/s_ccosl.c: Likewise.
80159         * math/s_ctan.c: Likewise.
80160         * math/s_ctanf.c: Likewise.
80161         * math/s_ctanh.c: Likewise.
80162         * math/s_ctanhf.c: Likewise.
80163         * math/s_ctanhl.c: Likewise.
80164         * math/s_ctanl.c: Likewise.
80165         * math/w_fmod.c: Likewise.
80166         * math/w_fmodf.c: Likewise.
80167         * math/w_fmodl.c: Likewise.
80168         * math/w_remainder.c: Likewise.
80169         * math/w_remainderf.c: Likewise.
80170         * math/w_remainderl.c: Likewise.
80171         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80172         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80173         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80174         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80175         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80176         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80177         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80178         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80180         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80181         of the number.
80182         * stdio-common/printf_fphex.c: Likewise.
80183         * stdio-common/printf_size.c: Likewise.
80185         * math/e_exp10.c: Include math_private.h using <...> not "...".
80186         * math/e_exp10f.c: Likewise.
80187         * math/e_exp10l.c: Likewise.
80188         * math/e_exp2l.c: Likewise.
80189         * math/e_j0l.c: Likewise.
80190         * math/e_j1l.c: Likewise.
80191         * math/e_jnl.c: Likewise.
80192         * math/e_lgammal_r.c: Likewise.
80193         * math/e_rem_pio2l.c: Likewise.
80194         * math/e_scalb.c: Likewise.
80195         * math/e_scalbf.c: Likewise.
80196         * math/e_scalbl.c: Likewise.
80197         * math/k_cosl.c: Likewise.
80198         * math/k_sinl.c: Likewise.
80199         * math/k_tanl.c: Likewise.
80200         * math/s_cacoshf.c: Likewise.
80201         * math/s_catan.c: Likewise.
80202         * math/s_catanf.c: Likewise.
80203         * math/s_catanh.c: Likewise.
80204         * math/s_catanhf.c: Likewise.
80205         * math/s_catanhl.c: Likewise.
80206         * math/s_catanl.c: Likewise.
80207         * math/s_ccosh.c: Likewise.
80208         * math/s_ccoshf.c: Likewise.
80209         * math/s_ccoshl.c: Likewise.
80210         * math/s_cexp.c: Likewise.
80211         * math/s_cexpf.c: Likewise.
80212         * math/s_cexpl.c: Likewise.
80213         * math/s_clog.c: Likewise.
80214         * math/s_clog10.c: Likewise.
80215         * math/s_clog10f.c: Likewise.
80216         * math/s_clog10l.c: Likewise.
80217         * math/s_clogf.c: Likewise.
80218         * math/s_clogl.c: Likewise.
80219         * math/s_csin.c: Likewise.
80220         * math/s_csinf.c: Likewise.
80221         * math/s_csinh.c: Likewise.
80222         * math/s_csinhf.c: Likewise.
80223         * math/s_csinhl.c: Likewise.
80224         * math/s_csinl.c: Likewise.
80225         * math/s_csqrt.c: Likewise.
80226         * math/s_csqrtf.c: Likewise.
80227         * math/s_csqrtl.c: Likewise.
80228         * math/s_ctan.c: Likewise.
80229         * math/s_ctanf.c: Likewise.
80230         * math/s_ctanh.c: Likewise.
80231         * math/s_ctanhf.c: Likewise.
80232         * math/s_ctanhl.c: Likewise.
80233         * math/s_ctanl.c: Likewise.
80234         * math/s_ldexp.c: Likewise.
80235         * math/s_ldexpf.c: Likewise.
80236         * math/s_ldexpl.c: Likewise.
80237         * math/s_significand.c: Likewise.
80238         * math/s_significandf.c: Likewise.
80239         * math/s_significandl.c: Likewise.
80240         * math/w_acos.c: Likewise.
80241         * math/w_acosf.c: Likewise.
80242         * math/w_acosh.c: Likewise.
80243         * math/w_acoshf.c: Likewise.
80244         * math/w_acoshl.c: Likewise.
80245         * math/w_acosl.c: Likewise.
80246         * math/w_asin.c: Likewise.
80247         * math/w_asinf.c: Likewise.
80248         * math/w_asinl.c: Likewise.
80249         * math/w_atan2.c: Likewise.
80250         * math/w_atan2f.c: Likewise.
80251         * math/w_atan2l.c: Likewise.
80252         * math/w_atanh.c: Likewise.
80253         * math/w_atanhf.c: Likewise.
80254         * math/w_atanhl.c: Likewise.
80255         * math/w_cosh.c: Likewise.
80256         * math/w_coshf.c: Likewise.
80257         * math/w_coshl.c: Likewise.
80258         * math/w_dremf.c: Likewise.
80259         * math/w_exp10.c: Likewise.
80260         * math/w_exp10f.c: Likewise.
80261         * math/w_exp10l.c: Likewise.
80262         * math/w_exp2.c: Likewise.
80263         * math/w_exp2f.c: Likewise.
80264         * math/w_fmod.c: Likewise.
80265         * math/w_fmodf.c: Likewise.
80266         * math/w_fmodl.c: Likewise.
80267         * math/w_hypot.c: Likewise.
80268         * math/w_hypotf.c: Likewise.
80269         * math/w_hypotl.c: Likewise.
80270         * math/w_j0.c: Likewise.
80271         * math/w_j0f.c: Likewise.
80272         * math/w_j0l.c: Likewise.
80273         * math/w_j1.c: Likewise.
80274         * math/w_j1f.c: Likewise.
80275         * math/w_j1l.c: Likewise.
80276         * math/w_jn.c: Likewise.
80277         * math/w_jnf.c: Likewise.
80278         * math/w_jnl.c: Likewise.
80279         * math/w_lgamma.c: Likewise.
80280         * math/w_lgamma_r.c: Likewise.
80281         * math/w_lgammaf.c: Likewise.
80282         * math/w_lgammaf_r.c: Likewise.
80283         * math/w_lgammal.c: Likewise.
80284         * math/w_lgammal_r.c: Likewise.
80285         * math/w_log.c: Likewise.
80286         * math/w_log10.c: Likewise.
80287         * math/w_log10f.c: Likewise.
80288         * math/w_log10l.c: Likewise.
80289         * math/w_log2.c: Likewise.
80290         * math/w_log2f.c: Likewise.
80291         * math/w_log2l.c: Likewise.
80292         * math/w_logf.c: Likewise.
80293         * math/w_logl.c: Likewise.
80294         * math/w_pow.c: Likewise.
80295         * math/w_powf.c: Likewise.
80296         * math/w_powl.c: Likewise.
80297         * math/w_remainder.c: Likewise.
80298         * math/w_remainderf.c: Likewise.
80299         * math/w_remainderl.c: Likewise.
80300         * math/w_scalb.c: Likewise.
80301         * math/w_scalbf.c: Likewise.
80302         * math/w_scalbl.c: Likewise.
80303         * math/w_sinh.c: Likewise.
80304         * math/w_sinhf.c: Likewise.
80305         * math/w_sinhl.c: Likewise.
80306         * math/w_sqrt.c: Likewise.
80307         * math/w_sqrtf.c: Likewise.
80308         * math/w_sqrtl.c: Likewise.
80309         * math/w_tgamma.c: Likewise.
80310         * math/w_tgammaf.c: Likewise.
80311         * math/w_tgammal.c: Likewise.
80313         * po/ja.po: Update from translation team.
80315 2011-09-29  Andreas Jaeger  <aj@suse.de>
80317         [BZ #13179]
80318         * sunrpc/netname.c (netname2host): Fix logic.
80320         [BZ #6779]
80321         [BZ #6783]
80322         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80323         correctly.
80324         * math/w_remainder.c (__remainder): Likewise.
80325         * math/w_remainderf.c (__remainderf): Likewise.
80326         * math/libm-test.inc (remainder_test): Add test cases.
80328 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80330         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
80331         sdiv_qrnnd.
80333 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80335         * string/test-memcmp.c: Avoid unncessary #defines.
80336         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80338 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80340         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80341         Use new sse2 version for core i3 - i7 as it's faster
80342         than sse42 version.
80343         (bit_Prefer_PMINUB_for_stringop): New.
80344         * sysdeps/x86_64/rawmemchr.S: Update.
80345         Replace with faster SSE2 version.
80346         * sysdeps/x86_64/memrchr.S: New file.
80347         * sysdeps/x86_64/memchr.S: Update.
80348         Replace with faster SSE2 version.
80350 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
80352         * elf/dl-load.c (lose): Add cast to avoid warning.
80354 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80356         * po/ca.po: Update from translation team.
80358         * inet/getnetgrent_r.c: Hook up nscd.
80359         * nscd/Makefile (routines): Add nscd_netgroup.
80360         (nscd-modules): Add netgroupcache.
80361         (CFLAGS-netgroupcache.c): Define.
80362         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80363         (cache_search): Add const to second parameter.
80364         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80365         INNETGR.
80366         (dbs): Add netgrdb entry.
80367         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80368         (verify_persistent_db): Handle netgrdb.
80369         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80370         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80371         GETFDNETGR.
80372         (netgroup_response_header): Define.
80373         (innetgroup_response_header): Define.
80374         (datahead): Add netgroup_response_header and innetgroup_response_header
80375         elements.
80376         * nscd/nscd.conf: Add entries for netgroup cache.
80377         * nscd/nscd.h (dbtype): Add netgrdb.
80378         (_PATH_NSCD_NETGROUP_DB): Define.
80379         (netgroup_iov_disabled): Declare.
80380         (xmalloc, xcalloc, xrealloc): Move declarations here.
80381         (cache_search): Adjust prototype.
80382         Add netgroup-related prototypes.
80383         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80384         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80385         (__nscd_innetgr): Declare.
80386         * nscd/selinux.c (perms): Use access_vector_t as element type and
80387         add netgroup-related initializers.
80388         * nscd/netgroupcache.c: New file.
80389         * nscd/nscd_netgroup.c: New file.
80390         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80391         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80392         For four parameters use innetgr.
80393         * nss/nss_files/files-init.c: Add definition and callback for netgr.
80394         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80395         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80396         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80398         * nscd/connections.c (register_traced_file): Don't register file
80399         for disabled databases.
80401 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
80403         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80405         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80406         from tree and freeing node.
80408 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
80410         * nss/nsswitch.c (__nss_database_lookup): Handle
80411         nss_parse_service_list out of memory case.
80413 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
80415         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80416         out of memory case.
80418 2011-10-04  Andreas Schwab  <schwab@redhat.com>
80420         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80421         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80422         pass it down.
80423         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80424         elf_machine_rela, elf_machine_lazy_rel.
80425         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80426         (ELF_DYNAMIC_DO_REL): Likewise.
80427         (ELF_DYNAMIC_DO_RELA): Likewise.
80428         (ELF_DYNAMIC_RELOCATE): Likewise.
80429         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80430         to ELF_DYNAMIC_DO_REL.
80431         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80432         (dl_main): In trace mode always set __RTLD_NOIFUNC.
80433         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80434         elf_machine_rela.
80435         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80436         skip_ifunc, don't call ifunc function if non-zero.
80437         (elf_machine_rela): Likewise.
80438         (elf_machine_lazy_rel): Likewise.
80439         (elf_machine_lazy_rela): Likewise.
80440         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80441         (elf_machine_lazy_rel): Likewise.
80442         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80443         Likewise.
80444         (elf_machine_lazy_rel): Likewise.
80445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80446         Likewise.
80447         (elf_machine_lazy_rel): Likewise.
80448         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80449         (elf_machine_lazy_rel): Likewise.
80450         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80451         (elf_machine_lazy_rel): Likewise.
80452         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80453         (elf_machine_lazy_rel): Likewise.
80454         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80455         (elf_machine_lazy_rel): Likewise.
80456         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80457         (elf_machine_lazy_rel): Likewise.
80458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80459         (elf_machine_lazy_rel): Likewise.
80461 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
80463         * nss/nss_files/files-init.c (_nss_files_init): Use static
80464         initialization for all the *_traced_file variables.
80466 2011-09-28  Andreas Schwab  <schwab@redhat.com>
80468         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80470 2011-09-27  Roland McGrath  <roland@hack.frob.com>
80472         [BZ #13226]
80473         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80475 2011-09-27  Andreas Schwab  <schwab@redhat.com>
80477         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80478         Reread the line before reparsing it.
80480 2011-09-26  Andreas Schwab  <schwab@redhat.com>
80482         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80484 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
80485             Maxim Kuvyrkov  <maxim@codesourcery.com>
80486             Joseph Myers  <joseph@codesourcery.com>
80488         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80489         if needed for __stack_chk_guard.
80491 2011-09-19  Roland McGrath  <roland@hack.frob.com>
80493         * sysdeps/posix/spawni.c (script_execute): Always define it.
80494         It will be optimized away if unused.
80495         (maybe_script_execute): New function.
80496         (__spawni): Call it.
80498         * Makerules: Don't include tls.make.
80499         (config-tls): Always set to thread.
80500         * tls.make.c: File removed.
80502 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
80504         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80505         * config.make.in (CPPFLAGS-config): New substituted variable.
80507 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80509         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80511         [BZ #13192]
80512         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80513         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80515 2011-09-15  Roland McGrath  <roland@hack.frob.com>
80517         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80518         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80519         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80520         (CALL_FAIL): Likewise.
80521         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80522         (CALL_FAIL): Macro removed.
80523         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80525 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80527         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80528         for __FINITE_MATH_ONLY__ == 1.
80530 2011-09-15  Andreas Schwab  <schwab@redhat.com>
80532         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80533         __ieee754_sqrt instead of sqrt.
80534         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80535         __ieee754_sqrtf instead of sqrtf.
80536         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80537         __floorf instead of floorf.
80538         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80539         __floorf, __truncf instead of floorf, truncf.
80541 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
80543         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80545         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80546         __extern_always_inline.
80547         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80548         32-bit.
80550 2011-09-14  Andreas Schwab  <schwab@redhat.com>
80552         * elf/rtld.c (dl_main): Also relocate in dependency order when
80553         doing symbol dependency testing.
80555 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
80557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80558         Always define `refsym'.
80560 2011-09-13  Andreas Schwab  <schwab@redhat.com>
80562         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80563         (__FD_ELT): Renamed from __FDELT.
80564         * misc/bits/select2.h (__FD_ELT): Likewise.
80565         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80566         __FD_MASK instead of __FDELT, __FDMASK.
80567         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80568         Likewise.
80569         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80570         Likewise.
80572         * elf/Makefile (gen-ldd): Fix pattern.
80574         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80575         (init_tls): Likewise.
80577 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
80579         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80581 2011-09-12  Andreas Schwab  <schwab@redhat.com>
80583         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80584         `struct cmsghdr *' instead of `void *'.
80585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80586         Likewise.
80588 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
80590         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80591         if non-absolute.
80592         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80593         ldd_rewrite_script.
80595 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
80597         * configure.in: Remove --with-tls option.
80598         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80599         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80600         out in case it is missing.
80601         * sysdeps/ia64/elf/configure.in: Likewise.
80602         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80603         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80604         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80605         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80606         * sysdeps/sh/elf/configure.in: Likewise.
80607         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80608         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80609         * sysdeps/x86_64/elf/configure.in: Likewise.
80610         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80611         * sysdeps/mach/hurd/tls.h: Likewise.
80613         [BZ #13067]
80614         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80616         [BZ #13090]
80617         * configure.in: Fix use of AC_INIT.
80619         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80621 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
80623         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80624         __set_errno.
80625         * malloc/hooks.c: Likewise.
80627         [BZ #11929]
80628         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
80629         variables statically.
80630         (narenas): Initialize.
80631         (list_lock): Initialize.
80632         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
80633         initializtion of main_arena and list_lock.  Small cleanups.
80634         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80635         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
80636         Add initializers to main_arena and mp_.
80637         (malloc_state): Remove pagesize member.  Change all users to use
80638         GLRO(dl_pagesize).
80640         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80641         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
80642         is always initialized.
80644         * malloc/malloc.c: Removed unused configurations and dead code.
80645         * malloc/arena.c: Likewise.
80646         * malloc/hooks.c: Likewise.
80647         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80649         * include/tls.h: Removed.  USE___THREAD must always be defined.
80650         * bits/libc-tsd.h: Don't handle !USE___THREAD.
80651         * elf/dl-libc.c: Likewise.
80652         * elf/dl-tsd.c: Likewise.
80653         * include/errno.h: Likewise.
80654         * include/netdb.h: Likewise.
80655         * include/resolv.h: Likewise.
80656         * inet/herrno-loc.c: Likewise.
80657         * inet/herrno.c: Likewise.
80658         * malloc/arena.c: Likewise.
80659         * malloc/hooks.c: Likewise.
80660         * malloc/malloc.c: Likewise.
80661         * resolv/res-state.c: Likewise.
80662         * resolv/res_libc.c: Likewise.
80663         * sysdeps/i386/dl-machine.h: Likewise.
80664         * sysdeps/ia64/dl-machine.h: Likewise.
80665         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80666         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80667         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80668         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80669         * sysdeps/sh/dl-machine.h: Likewise.
80670         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80671         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80672         * sysdeps/unix/i386/sysdep.S: Likewise.
80673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80674         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80676         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80677         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80678         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80679         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80680         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80681         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80683         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80684         * sysdeps/x86_64/dl-machine.h: Likewise.
80685         * tls.make.c: Likewise.
80687         * configure.in: Remove --with-__thread option.  Make tests for
80688         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80689         tls_model attribute fail if no support is available.  Remove
80690         USE_IN_LIBIO.
80691         * Makeconfig: Adjust for dropped configure option.  All features are
80692         now mandatory.
80693         * Makerules: Likewise.
80694         * Versions.def: Likewise.
80695         * argp/argp-fmtstream.c: Likewise.
80696         * argp/argp-fmtstream.h: Likewise.
80697         * argp/argp-help.c: Likewise.
80698         * assert/assert.c: Likewise.
80699         * config.h.in: Likewise.
80700         * config.make.in: Likewise.
80701         * configure: Likewise.
80702         * configure.in: Likewise.
80703         * csu/Versions: Likewise.
80704         * csu/init.c: Likewise.
80705         * elf/tst-audit2.c: Likewise.
80706         * elf/tst-tls10.c: Likewise.
80707         * elf/tst-tls10.h: Likewise.
80708         * elf/tst-tls11.c: Likewise.
80709         * elf/tst-tls12.c: Likewise.
80710         * elf/tst-tls14.c: Likewise.
80711         * elf/tst-tlsmod11.c: Likewise.
80712         * elf/tst-tlsmod12.c: Likewise.
80713         * elf/tst-tlsmod13.c: Likewise.
80714         * elf/tst-tlsmod13a.c: Likewise.
80715         * elf/tst-tlsmod14a.c: Likewise.
80716         * elf/tst-tlsmod15b.c: Likewise.
80717         * elf/tst-tlsmod16a.c: Likewise.
80718         * elf/tst-tlsmod16b.c: Likewise.
80719         * elf/tst-tlsmod7.c: Likewise.
80720         * elf/tst-tlsmod8.c: Likewise.
80721         * elf/tst-tlsmod9.c: Likewise.
80722         * gmon/gmon.c: Likewise.
80723         * grp/fgetgrent_r.c: Likewise.
80724         * grp/putgrent.c: Likewise.
80725         * hurd/fopenport.c: Likewise.
80726         * include/libc-symbols.h: Likewise.
80727         * include/tls.h: Likewise.
80728         * intl/gettextP.h: Likewise.
80729         * intl/loadinfo.h: Likewise.
80730         * locale/global-locale.c: Likewise.
80731         * locale/localeinfo.h: Likewise.
80732         * mach/devstream.c: Likewise.
80733         * malloc/arena.c: Likewise.
80734         * malloc/set-freeres.c: Likewise.
80735         * misc/err.c: Likewise.
80736         * misc/getttyent.c: Likewise.
80737         * misc/mntent_r.c: Likewise.
80738         * posix/getopt.c: Likewise.
80739         * posix/wordexp.c: Likewise.
80740         * pwd/fgetpwent_r.c: Likewise.
80741         * resolv/Versions: Likewise.
80742         * resolv/res_hconf.c: Likewise.
80743         * shadow/fgetspent_r.c: Likewise.
80744         * shadow/putspent.c: Likewise.
80745         * stdio-common/printf_fphex.c: Likewise.
80746         * stdio-common/tmpfile.c: Likewise.
80747         * stdlib/abort.c: Likewise.
80748         * stdlib/fmtmsg.c: Likewise.
80749         * sunrpc/auth_unix.c: Likewise.
80750         * sunrpc/clnt_perr.c: Likewise.
80751         * sunrpc/clnt_tcp.c: Likewise.
80752         * sunrpc/clnt_udp.c: Likewise.
80753         * sunrpc/clnt_unix.c: Likewise.
80754         * sunrpc/openchild.c: Likewise.
80755         * sunrpc/svc_simple.c: Likewise.
80756         * sunrpc/svc_tcp.c: Likewise.
80757         * sunrpc/svc_udp.c: Likewise.
80758         * sunrpc/svc_unix.c: Likewise.
80759         * sunrpc/xdr.c: Likewise.
80760         * sunrpc/xdr_array.c: Likewise.
80761         * sunrpc/xdr_rec.c: Likewise.
80762         * sunrpc/xdr_ref.c: Likewise.
80763         * sunrpc/xdr_stdio.c: Likewise.
80765 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80767         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80769 2011-07-03  Andreas Jaeger  <aj@suse.de>
80771         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80772         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80773         regenerate with gen-libm-tests.pl.
80775 2010-05-12  Petr Baudis  <pasky@suse.cz>
80777         [BZ #11589]
80778         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80779         around j0() zero points by switching to j1().
80780         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80781         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80782         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80783         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80785 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80787         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80788         instead of 0.
80789         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80790         instead of 0.
80791         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80792         Patch in part by Pavel Roskin <proski@gnu.org>.
80794         [BZ #13138]
80795         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80796         realloc.
80797         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
80798         Free memory block if necessary.
80800         [BZ #12847]
80801         * libio/genops.c (INTDEF): For string streams the _lock pointer can
80802         be NULL.  Don't lock in this case.
80804 2011-09-09  Roland McGrath  <roland@hack.frob.com>
80806         * elf/elf.h (ELFOSABI_GNU): New macro.
80807         (ELFOSABI_LINUX): Define to that.
80809 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
80811         * string/strncat.c (strncat): Undef the symbol in case it has been
80812         defined in bits/string.h.
80814 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80816         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80818         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80819         link map.
80821 2011-08-17  Andreas Jaeger  <aj@suse.de>
80823         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80825 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
80826             Ian Lance Taylor  <iant@google.com>
80828         * math/libm-test.inc (lround_test): New testcase.
80829         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80831 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
80833         * Makefile: Remove support for automatic cvs check-ins.
80834         * Makerules: Likewise.
80835         * config.make.in: Likewise.
80836         * configure.in: Likewise.
80837         * intl/Makefile: Likewise.
80838         * locale/Makefile: Likewise.
80839         * po/Makefile: Likewise.
80840         * posix/Makefile: Likewise.
80841         * sysdeps/gnu/Makefile: Likewise.
80842         * sysdeps/mach/hurd/Makefile: Likewise.
80843         * sysdeps/sparc/sparc32/Makefile: Likewise.
80845         [BZ #13118]
80846         * posix/Makefile (bug-regex32-ENV): Define.
80847         Patch by John Stanley <jpsinthemix@verizon.net>.
80849         * misc/Makefile (headers): Add bits/select2.h.
80850         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80851         * misc/bits/select2.h: New file.
80852         * include/bits/select2.h: New file.
80853         * debug/Makefile (routines): Add fdelt_chk.
80854         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80855         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80856         FD_ISSET.
80857         * debug/fdelt_chk.c: New file.
80859         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
80860         * wcsmbs/test-wmemcmp.c: Likewise.
80861         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80862         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80864 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80866         * string/Makefile (strop-tests): Add memcmp.
80867         * string/test-wmemcmp.c: New file.
80868         * string/test-memcmp.c: Add wmemcmp support.
80870 2011-09-08  Roland McGrath  <roland@hack.frob.com>
80872         [BZ #13153]
80873         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
80874         2011-07-19 change.
80876         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
80877         garbage value in a __mach_port_mod_refs call in the cases of the
80878         task-self and thread-self ports.
80880 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80882         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
80884 2011-09-08  Andreas Schwab  <schwab@redhat.com>
80886         * elf/dl-load.c (lose): Check for non-null L.
80888 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
80890         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
80892         * elf/dl-libc.c (dlerror_run): Pass back error code from
80893         dl_catch_error.
80895         [BZ #13123]
80896         * elf/dl-load.c (lose): Free l_origin if it is valid.
80898         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
80899         names.
80900         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
80901         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80902         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80903         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80904         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
80905         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
80907 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80909         * sysdeps/powerpc/fpu/e_hypot.c: New file.
80910         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
80911         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
80912         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
80913         * sysdeps/powerpc/fpu/k_cosf.c: New file.
80914         * sysdeps/powerpc/fpu/k_sinf.c: New file.
80915         * sysdeps/powerpc/fpu/s_cosf.c: New file.
80916         * sysdeps/powerpc/fpu/s_sinf.c: New file.
80917         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
80918         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
80920 2011-08-15  Alan Modra  <amodra@gmail.com>
80922         [BZ #13092]
80923         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
80924         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
80925         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
80926         ppc_mcount to static-only-routines.
80927         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
80928         __mcount_internal.
80929         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
80930         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
80932 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
80934         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
80935         for finite and infinity parameters.
80937 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80939         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
80940         and add nop instructions for throughput optimization.
80941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80943 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
80945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
80946         aligned copy for power7 with vector-scalar instructions.
80947         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
80949 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
80951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
80952         AVX check.
80954 2011-09-07  Andreas Schwab  <schwab@redhat.com>
80956         [BZ #13144]
80957         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
80958         last change.
80960 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
80962         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80963         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
80964         syscall wrapper around clock_gettime in __vdso_clock_gettime.
80965         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
80966         clock_gettime.
80968 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
80970         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
80971         Forgot to demangle the pointer.
80973         * sysdeps/i386/sysdep.h: Define atom_text_section.
80974         * sysdeps/x86_64/sysdep.h: Likewise.
80975         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
80976         section with atom_text_section.
80977         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80978         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80979         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
80980         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80981         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
80983         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
80984         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
80985         already be defined.  Change to take two parameters and don't assign
80986         result to variable.  Adjust all users.
80987         Define INTERNAL_GETTIME if not already defined.
80988         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
80989         call.
80990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
80991         HAVE_CLOCK_GETTIME_VSYSCALL.
80992         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
80994         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
80995         gettimeofday vsyscall, just use time.
80997 2011-09-06  Andreas Schwab  <schwab@redhat.com>
80999         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81000         <errno.h>.
81002 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81004         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81005         syscall on x86-64.
81006         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81007         syscall.
81008         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81009         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81010         syscall if possible.
81012 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81014         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81015         e_ident.  Don't pass to find_mapsXX.
81016         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81018 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81021         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81022         * sysdeps/x86_64/multiarch/strchr.S: Update.
81023         Check bit_slow_BSF bit.
81024         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81025         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81026         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81028 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81030         [BZ #13134]
81031         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81032         before glibc 2.15.
81033         (tryshell): Define.
81034         (__spawni): Change last parameter to be flag.  Test
81035         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81036         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81037         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81038         * posix/spawni.c: Likewise.
81039         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81040         * posix/spawnp.c: Likewise.  Change normal version to use
81041         SPAWN_XFLAGS_USE_PATH.
81042         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81043         SPAWN_XFLAGS_TRY_SHELL.
81045         [BZ #13150]
81046         * posix/glob.h: Remove gcc 1.x support.
81048         [BZ #13068]
81049         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81051 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81054         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81055         strrchr-sse2-bsf
81056         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81057         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81058         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81059         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81060         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81061         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81063 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81065         * sysdeps/x86_64/wcscmp.S: New file.
81067         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81068         wcscmp-c wcscmp-sse2
81069         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81070         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81071         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81072         * wcsmbs/wcscmp.c: Allow renaming.
81074 2011-09-05  David S. Miller  <davem@davemloft.net>
81076         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81077         stack slot, rather than the struct return pointer slot.
81078         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81079         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81081         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81083 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81085         * po/ja.po: Update from translation team.
81087         [BZ #13144]
81088         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81089         kernel in 64-bit binaries.
81091 2011-09-01  David S. Miller  <davem@davemloft.net>
81093         * elf/elf.h (HWCAP_SPARC_*): Move to..
81094         * sysdeps/sparc/sysdep.h: this new file and add new values.
81095         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81096         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81097         _DL_HWCAP_COUNT to 24.
81098         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81099         entries.
81100         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81101         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81102         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81103         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81104         instead of magic constants.
81105         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81107 2011-08-31  David S. Miller  <davem@davemloft.net>
81109         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81110         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81111         Reimplement to do errno handling inline.
81112         (SYSCALL_ERROR_HANDLER): New macro.
81113         (__SYSCALL_STRING): Do not do errno handling in asm.
81114         (__CLONE_SYSCALL_STRING): Delete.
81115         (__INTERNAL_SYSCALL_STRING): Delete.
81116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81117         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81118         (PSEUDO): Reimplement to do errno handling inline.
81119         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81120         (SYSCALL_ERROR_HANDLER): New macro.
81121         (__SYSCALL_STRING): Do not do errno handling in asm.
81122         (__CLONE_SYSCALL_STRING): Delete.
81123         (__INTERNAL_SYSCALL_STRING): Delete.
81124         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81125         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81126         i386.
81127         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81128         (inline_syscall*): Add 'err' argument.
81129         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81130         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81131         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81132         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81134         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81135         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81137 2011-08-30  Andreas Schwab  <schwab@redhat.com>
81139         * elf/rtld.c (dl_main): Relocate objects in dependency order.
81141 2011-08-29  Jiri Olsa <jolsa@redhat.com>
81143         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81144         directive.
81146 2011-08-24  David S. Miller  <davem@davemloft.net>
81148         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81150 2011-08-24  Andreas Schwab  <schwab@redhat.com>
81152         * elf/Makefile: Add rules to build and run unload8 test.
81153         * elf/unload8.c: New file.
81154         * elf/unload8mod1.c: New file.
81155         * elf/unload8mod1x.c: New file.
81156         * elf/unload8mod2.c: New file.
81157         * elf/unload8mod3.c: New file.
81159         * elf/dl-close.c (_dl_close_worker): Reset private search list if
81160         it wasn't used.
81162 2011-08-23  David S. Miller  <davem@davemloft.net>
81164         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81165         subtract stack bias.
81166         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81167         %sp not %fp in calculations.
81168         (_JMPBUF_UNWINDS_ADJ): Likewise.
81170         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81171         (aio_suspend): Call it to force an exception region around the
81172         AIO_MISC_WAIT() invocation.
81174 2011-08-23  Andreas Schwab  <schwab@redhat.com>
81176         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81177         backslash.
81179 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
81181         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81182         protection macro.
81183         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81184         and <dl-machine.h>.
81185         (Elf64_FuncDesc): Remove.
81187 2011-08-22  David S. Miller  <davem@davemloft.net>
81189         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81190         sigaltstack check, add missing cfi directives.
81191         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81192         missing cfi directives, and sigaltstack handling.
81194 2011-08-16  Andreas Schwab  <schwab@redhat.com>
81196         [BZ #11724]
81197         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81198         object is seen twice.
81199         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81201         * elf/Makefile (distribute): Add tst-initorder2.c.
81202         (tests): Add tst-initorder2.
81203         (modules-names): Add tst-initorder2a tst-initorder2b
81204         tst-initorder2c tst-initorder2d.  Add rules to build them.
81205         ($(objpfx)tst-initorder2.out): New rule.
81206         * elf/tst-initorder2.c: New file.
81207         * elf/tst-initorder2.exp: New file.
81209 2011-08-22  Andreas Schwab  <schwab@redhat.com>
81211         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81213         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81214         dependencies back to end of function.
81216         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81217         $(elfobjdir)/ld.so.
81219 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
81221         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81222         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81223         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81224         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81225         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81226         of __vdso_gettimeofday.
81227         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81228         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
81229         attribute_hidden.
81230         (_libc_vdso_platform_setup): Remove initialization of
81231         __vdso_gettimeofday and __vdso_time.
81233 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81235         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81236         and fgetc_unlocked.
81237         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81238         getc_unlocked.
81240         * elf/dl-open.c (add_to_global): Report additions to the global scope
81241         for LD_DEBUG=scopes.
81242         (dl_open_worker): Also print scope of newly loaded dependencies.
81243         (_dl_show_scope): Indicate if there is no scope.
81245         [BZ #13114]
81246         * stdio-common/Makefile (tests): Add bug24.
81247         * stdio-common/bug24.c: New file.
81249 2011-08-19  Andreas Jaeger  <aj@suse.de>
81251         [BZ #13114]
81252         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81253         non-existant file when using close-on-exec mode.
81255 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81258         the very first instruction.
81260         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81261         the CFI state in the end.
81262         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81263         inclusion of dl-trampoline.h.
81264         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81266 2011-08-19  Andreas Schwab  <schwab@redhat.com>
81268         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81269         expectations for long double.
81271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81272         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81274 2011-08-14  David S. Miller  <davem@davemloft.net>
81276         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81277         artificual limit depends upon the system page size.
81279 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81281         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81282         * resolv/Makefile: Define CFLAGS-libresolv.
81284 2011-08-17  Andreas Schwab  <schwab@redhat.com>
81286         * nss/makedb.c (compute_tables): Make variables used in nested
81287         function static.
81289 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81291         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81292         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81293         if buffer was too small.
81295         * elf/pldd.c (main): Attach to all threads in the process.
81296         Rewrite /proc handling to use *at functions.
81298 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
81300         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81301         specifies first scope to show.
81302         (dl_open_worker): Update callers.  Move printing scope of new
81303         object to before the relocation.
81304         * elf/rtld.c (dl_main): Update _dl_show_scope call.
81305         * sysdeps/generic/ldsodefs.h: Update declaration.
81307         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81308         string for the scope number.
81310 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
81312         * nscd/servicescache.c (cache_addserv): Make sure written is always
81313         initialized.
81315 2011-08-14  Roland McGrath  <roland@hack.frob.com>
81317         * sysdeps/i386/i486/bits/atomic.h
81318         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81319         statement expression, so as to suppress "set but not used" warning.
81320         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81322         * string/strncat.c (STRNCAT): Use prototype definition.
81324         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81325         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81326         -Iprograms here.
81327         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81328         (localedef-modules): Add localedef.
81329         (locale-modules): Add locale.
81331         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81332         * elf/rtld.c (dl_main): Invert order of assignment in last change,
81333         to avoid a warning.
81335 2011-08-14  David S. Miller  <davem@davemloft.net>
81337         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81338         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81340 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
81342         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81343         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81344         * elf/rtld.c (dl_main): Set l_name of vDSO.
81345         Call _dl_show_scope when DL_DEBUG_SCOPES.
81346         (process_dl_debug): Recognize scopes flag and also set it for all.
81347         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81348         Declare _dl_show_scope.
81350         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81351         (do_dlopen): Pass caller_dlopen to dl_open.
81352         (__libc_dlopen_mode): Initialize caller_dlopen.
81354         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81355         of libc.  Make tolower call locale-independent.  Optimize a bit by
81356         using isdigit instead of isalnum.
81357         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81359 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
81361         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81362         was a dependency or dynamically loaded.
81364 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
81366         * intl/l10nflist.c: Allow architecture-specific pop function.
81367         * sysdeps/x86_64/l10nflist.c: New file.
81369         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81370         classification.
81372 2011-08-10  Andreas Schwab  <schwab@redhat.com>
81374         * include/dirent.h: Add libc_hidden_proto for scandirat and
81375         scandirat64.  Don't declare __scandirat64.
81376         * dirent/scandirat.c: Add libc_hidden_def.
81377         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81378         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81380 2011-08-10  David S. Miller  <davem@davemloft.net>
81382         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81383         enum.
81384         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81386         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81388 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
81390         * Versions.def [libc]: Add GLIBC_2.15.
81391         * dirent/Makefile (routines): Add scandirat and scandirat64.
81392         * dirent/Versions [libc]: Export scandirat and scandirat64 for
81393         GLIBC_2.15.
81394         * dirent/dirent.h: Declare scandirat and scandirat64.
81395         * dirent/scandirat.c: New file.
81396         * dirent/scandirat64.c: New file.
81397         * sysdeps/wordsize-64/scandirat.c: New file.
81398         * sysdeps/wordsize-64/scandirat64.c: New file.
81399         * dirent/opendir.c: Define opendirat.
81400         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
81401         using scandirat.
81402         * dirent/scandir64.c: Adjust for scandir.c change.
81403         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
81404         __scandirat64, and __scandir_cancel_handler.
81405         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
81406         additional parameter and use openat instead of open (outside of ld.so).
81407         Add new __opendir as wrapper around __opendirat.
81408         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81409         here without requiring old scandirat implementation.
81411 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
81413         * dirent/scandir.c (cancel_handler): Renamed to
81414         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
81415         defined.  Adjust users.
81416         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81417         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81419 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
81421         * string/test-string.h (IMPL): Use __STRING to expand name and then
81422         stringify it.
81424         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
81425         of cleanups.
81427 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81429         * string/Makefile: Update.
81430         (strop-tests): Append strncat.
81431         * string/test-wcscmp.c: New file.
81432         New comprehensive test for wcscmp.
81433         * string/test-strcmp.c: Update.
81434         (WIDE): New define.
81436 2011-07-22  Andreas Schwab  <schwab@redhat.com>
81438         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81439         line.
81441 2011-07-26  Andreas Schwab  <schwab@redhat.com>
81443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81444         encoding to ACE if AI_IDN.
81446 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
81448         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81449         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81451 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81453         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81454         Fix overflow bug in strncat.
81455         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81457         * string/test-strncat.c: Update.
81458         Add new tests for checking overflow bugs.
81460 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81463         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81464         * sysdeps/i386/i686/multiarch/strcat.S: New file.
81465         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81466         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81467         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81468         * sysdeps/i386/i686/multiarch/strncat.S: New file.
81469         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81470         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81472         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81473         (USE_AS_STRCAT): Define.
81474         Add strcat and strncat support.
81475         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81477 2011-07-25  Andreas Schwab  <schwab@redhat.com>
81479         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81480         __n bigger than INT_MAX+1.
81481         (__strncmp_g): Likewise.
81483 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
81485         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81486         * libio/stido.h: Likewise.
81488         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81489         (AF_NFC): Define.
81490         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81491         (AF_NFC): Define.
81493         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81495         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81496         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81497         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81499         [BZ #13021]
81500         * scripts/test-installation.pl: Don't expect libnss_test1 to be
81501         installed.
81503         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81504         typo.
81505         (_dl_x86_64_save_sse): Likewise.
81507 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
81509         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81510         OSXSAVE.
81511         (_dl_x86_64_save_sse): Likewise.
81513         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81515         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81517 2011-07-21  Andreas Schwab  <schwab@redhat.com>
81519         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81520         change.
81521         (_dl_x86_64_save_sse): Use correct AVX check.
81523 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81525         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81526         bug in strncpy/strncat.
81527         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81529 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
81531         * string/tester.c (test_strcat): Add tests for different alignments
81532         of source and destination.
81533         (test_strncat): Likewise.
81535 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81537         [BZ #12852]
81538         * posix/glob.c (glob): Check passed in values before using them in
81539         expressions to avoid some overflows.
81540         (glob_in_dir): Likewise.
81542         [BZ #13007]
81543         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81544         check for AVX enablement so that we don't crash with old kernels and
81545         new hardware.
81546         * elf/tst-audit4.c: Add same checks here.
81547         * elf/tst-audit6.c: Likewise.
81549         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81551 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
81553         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81555 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81557         * po/cs.po: Update from translation team.
81558         * po/bg.po: Likewise.
81560 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
81562         * misc/sys/cdefs.h: Add support for const attribute.
81563         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81564         to gnu_dev_{major,minor,makedev} functions.
81566 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
81568         * intl/dcigettext.c (get_output_charset): Add missing bracket.
81570 2011-07-20  Andreas Schwab  <schwab@redhat.com>
81572         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81573         strlen results.
81575 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81577         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81578         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81579         register in order to avoid conflicts with the soft frame pointer
81580         being held in r11 when necessary.
81581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81582         (INTERNAL_VSYSCALL_NCS): Likewise.
81584 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
81586         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81587         * elf/dl-fini.c (_dl_fini): Adjust caller.
81588         * elf/dl-close.c (_dl_close_worker): Likewise.
81589         * sysdeps/generic/ldsodefs.h: Adjust declaration.
81591 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81593         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81594         "aux_cache->nlibs < 0".
81596         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81597         in the reload-count case.
81599 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81602         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81603         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81604         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81605         * sysdeps/x86_64/multiarch/strcat.S: New file.
81606         * sysdeps/x86_64/multiarch/strncat.S: New file.
81607         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81608         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81609         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81610         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81611         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81612         (USE_AS_STRCAT): Define.
81613         Add strcat and strncat support.
81614         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81615         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81616         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81617         * string/strncat.c: Update.
81618         (USE_AS_STRNCAT): Define.
81619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81620         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81621         and i7.
81622         * sysdeps/x86_64/multiarch/init-arch.h
81623         (bit_Prefer_PMINUB_for_stringop): New.
81624         (index_Prefer_PMINUB_for_stringop): Likewise.
81625         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81626         bit_Prefer_PMINUB_for_stringop.
81628 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81630         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81631         buffer64.
81632         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81633         of casting of buffer.
81634         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81635         buffer32 and buffer64.
81636         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81637         writes instead of casting of buffer.
81638         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81639         buffer32.
81640         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81641         casting of buffer.
81643 2011-07-19  Andreas Schwab  <schwab@redhat.com>
81645         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81647 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81649         * nscd/nscd.c (termination_handler): Don't do anything for a database
81650         if it has not yet been initialized.
81652 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81654         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81656 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81658         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81660 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81662         * po/nl.po: Update from translation team.
81663         * po/sv.po: Likewise.
81665 2011-07-16  Roland McGrath  <roland@hack.frob.com>
81667         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81668         now disallowed by GCC.
81670         * configure.in (use-default-link): Default to yes if a test -shared
81671         link meets our qualifications.
81672         * configure: Regenerated.
81674         * config.make.in (output-format): New variable.
81675         * configure.in: Check for ld --print-output-format support.
81676         * configure: Regenerated.
81677         * Makerules ($(common-objpfx)format.lds)
81678         [$(output-format) != unknown]: Just use $(output-format),
81679         instead of the linker-script munging.
81681 2011-07-14  Roland McGrath  <roland@hack.frob.com>
81683         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81684         of $(common-objpfx)shlib.lds.
81685         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81687         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81688         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81690         * configure.in (-z relro check): Adjust test code to add a large
81691         writable data section after it.
81692         * configure: Regenerated.
81694 2011-07-11  Roland McGrath  <roland@hack.frob.com>
81696         * configure.in (-z relro check): Fix test code to make the variable
81697         truly const.
81698         * configure: Regenerated.
81700 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
81702         * nscd/nscd.h (struct traced_file): Define.
81703         (struct database_dyn): Remove inotify_descr, reset_res, and filename
81704         elements.  Add traced_files.
81705         (inotify_fd): Declare.
81706         (register_traced_file): Declare.
81707         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81708         (inotify_fd): Export.
81709         (resolv_conf_descr): Remove.
81710         (nscd_init): Move inotify descriptor creation to main.
81711         Don't register files for notification here.
81712         (register_traced_file): New function.
81713         (invalidate_cache): Don't use reset_res to determine whether to call
81714         res_init, go through the list of registered files.
81715         (main_loop_poll): The inotify descriptors are now stored in the
81716         structures for the traced files.
81717         (main_loop_epoll): Likewise.
81718         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
81719         to __nss_disable_nscd.
81720         * nscd/cache.c (prune_cache): There is no single inotify descriptor
81721         for a database anymore.  Check the records for all the registered
81722         files instead.
81723         * nss/Makefile (libnss_files-routines): Add files-init.
81724         (libnss_db-routines): Add db-init.
81725         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81726         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81727         * nss/nss_db/db-init.c: New file.
81728         * nss/nss_files/files-init.c: New file.
81729         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
81730         __nss_lookup_function.
81731         (__nss_lookup_function): Call nss_load_library.
81732         (nss_load_all_libraries): New function.
81733         (__nss_disable_nscd): Take parameter with callback function for files
81734         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
81735         used for the cached services.
81736         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81737         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81738         options for features to all the files in nscd.
81740         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81742 2011-07-10  Roland McGrath  <roland@hack.frob.com>
81744         * csu/elf-init.c (__libc_csu_init): Comment typo.
81746 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
81748         * po/pl.po: Update from translation team.
81749         * po/ja.po: Likewise.
81750         * po/ru.po: Likewise.
81751         * po/ko.po: Likewise.
81752         * po/fr.po: Likewise.
81754 2011-07-09  Roland McGrath  <roland@hack.frob.com>
81756         * configure.in (.ctors/.dtors header and trailer check):
81757         Use an empirical test on a built program.
81758         * configure: Regenerated.
81760         * configure.in (-z relro check): Use an empirical test on a built DSO.
81761         Detect, but do not require, on ia64.
81762         * configure: Regenerated.
81764         * configure.in (READELF): Find it with AC_CHECK_TOOL.
81765         Update tests that use readelf to use $READELF instead.
81766         * configure: Regenerated.
81768 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
81770         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81771         if the result is not used.
81773 2011-07-05  Andreas Jaeger  <aj@suse.de>
81775         [BZ#9696]
81776         * stdlib/tst-strtod.c: Add testcase.
81778 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
81780         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81781         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81782         The latter has a higher limit.  Take additional parameter to pass to
81783         the new function.
81784         (__pathconf): Pass file to __statfs_link_max.
81785         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81786         __statfs_link_max.
81787         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81788         __statfs_link_max.
81790         [BZ #12868]
81791         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81792         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81793         Handle Lustre.
81794         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81795         (__statfs_filesize_max): Likewise.
81796         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81798 2011-07-05  Andreas Jaeger  <aj@suse.de>
81800         * resolv/res_comp.c (dn_skipname): Remove unused variable.
81802 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
81804         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81805         `status' variable.
81806         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81807         Likewise.
81809 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
81811         * Makefile (strop-tests): Add strncat.
81812         * string/test-strncat.c: New file.
81814 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
81816         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81818 2011-06-21  Andreas Jaeger  <aj@suse.de>
81820         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81821         Copy rule from iconvdata/Makefile.
81823 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81825         [BZ #12922]
81826         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81827         but no long options are defined, just return 'W'.
81829 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
81831         [BZ #9696]
81832         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81834 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81836         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81837         netgroups to read.
81838         (innetgr): Likewise.
81840 2011-07-05  Roland McGrath  <roland@hack.frob.com>
81842         * config.make.in (install_root): Default to $(DESTDIR).
81844 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
81846         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81848 2011-07-02  Roland McGrath  <roland@hack.frob.com>
81850         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81852         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81853         containing directory rather than embedding absolute directory names.
81855         * scripts/check-local-headers.sh: Rewritten using awk.
81856         Match by word, not by line.  Print error messages for matches.
81857         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81859         * Makerules [shlib-lds-flags empty]:
81860         ($(common-objpfx)libc_pic.opts): New target.
81861         ($(common-objpfx)libc_pic.os.clean): New target.
81862         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81864         * config.make.in (OBJCOPY): New variable.
81865         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81866         * configure: Regenerated.
81868         * config.make.in (use-default-link): New variable.
81869         * configure.in (use_default_link): Grok --with-default-link to set it.
81870         * configure: Regenerated.
81871         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
81872         (shlib-lds, shlib-lds-flags): Define to empty.
81874         * Makerules (shlib-lds): New variable.
81875         (shlib-lds-flags): New variable.
81876         (build-shlib, build-moduile, build-module-asneeded): Use it.
81877         ($(common-objpfx)libc.so): Use $(shlib-lds).
81878         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
81879         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
81881         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
81882         DT_FLAGS/DT_FLAGS_1 with zero flags.
81884         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
81885         linker script munging.
81887 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
81889         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
81890         as 128-bit value.
81891         * crypt/sha512.c (sha512_process_block): Perform total addition using
81892         128-bit if possible.
81893         (__sha512_finish_ctx): Likewise.
81894         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
81895         as 64-bit value.
81896         * crypt/sha256.c (SWAP64): Define.
81897         (sha256_process_block): Perform total addition using 64-bit if
81898         possible.
81899         (__sha256_finish_ctx): Likewise.
81901 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
81903         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
81904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81905         * nscd/hstcache.c (cache_addhst): Likewise.
81906         * nscd/grpcache.c (cache_addgr): Likewise.
81907         * nscd/aicache.c (addhstaiX): Likewise.
81908         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
81910 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
81912         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
81913         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81914         * nscd/hstcache.c (cache_addhst): Likewise.
81915         * nscd/grpcache.c (cache_addgr): Likewise.
81916         * nscd/aicache.c (addhstaiX): Likewise.
81918 2011-07-01  Andreas Schwab  <schwab@redhat.com>
81920         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
81921         domain only when needed.
81923 2011-06-30  Andreas Schwab  <schwab@redhat.com>
81925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
81926         is always restored.
81928 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
81930         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
81931         are re-adding the entry.
81932         * nscd/servicescache.c (cache_addserv): Likewise.
81934 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
81936         * sysdeps/generic/dl-irel.h: fix protection against multiple
81937         inclusions.
81938         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
81940 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
81942         [BZ #12935]
81943         * malloc/memusage.sh: Fix quoting in message.
81944         * debug/xtrace.sh: Likewise.
81946         * configure.in: Remove support for --experimental-malloc option, make
81947         it the default.
81948         * config.make.in: Likewise.
81949         * malloc/Makefile: Likewise.
81951 2011-06-27  Andreas Schwab  <schwab@redhat.com>
81953         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
81954         two-byte characters.
81956 2011-06-27  Roland McGrath  <roland@hack.frob.com>
81958         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
81959         AC_CACHE_CHECK invocation.
81960         * configure: Regenerated.
81962         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
81964 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
81966         [BZ #12350]
81967         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
81968         bit from old_res_options.
81970         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
81972         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
81973         value type for setfct.
81975 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
81977         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
81978         __gettimeofday instead of gettimeofday.
81980 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
81982         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
81984 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
81986         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
81988         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
81989         info.
81991 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
81993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81994         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
81995         strcpy-sse2-unaligned strncpy-sse2-unaligned
81996         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
81997         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
81998         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
81999         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82000         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82001         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82002         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82003         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82004         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82005         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82006         (STRCPY): Support SSE2 and SSSE3 versions.
82008 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82010         [BZ #12874]
82011         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82012         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82013         kernels which artificially limit size of requests.
82015 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82018         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82019         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82020         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82021         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82022         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82023         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82024         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82025         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82026         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82027         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82028         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82029         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82030         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82031         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82033         Enable unaligned load optimization for Intel Core i3, i5 and i7
82034         processors.
82035         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82036         Define.
82037         (index_Fast_Unaligned_Load): Define.
82038         (HAS_FAST_UNALIGNED_LOAD): Define.
82040 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82042         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82044 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82046         [BZ #12907]
82047         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82048         until it is clear that the information is realy needed.
82049         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82051 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82055 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82058         /sys/devices/system/cpu/online if it is usable.
82060         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82061         reading the information from the /proc filesystem to once a second.
82063 2011-06-21  Andreas Jaeger  <aj@suse.de>
82065         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82066         NULL after inclusion of kernel headers.
82068 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82070         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82071         calls to internal_setent.
82073         [BZ #12885]
82074         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82075         addresses using gethostbyname4_r ignore IPv4 addresses.
82077         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82078         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
82080         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82082 2011-06-20  David S. Miller  <davem@davemloft.net>
82084         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82085         inclusions.
82086         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82088         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82089         (elf_irel): Use it.
82090         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82091         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82092         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82093         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82094         * sysdeps/x86_64/dl-irel.h: Likewise.
82096         * elf/dl-runtime.c: Use elf_ifunc_invoke.
82097         * elf/dl-sym.c: Likewise.
82099 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82101         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
82102         need to dereference resplen2.
82104 2011-06-14  Andreas Schwab  <schwab@redhat.com>
82106         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82108 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82110         * Makeconfig: Define vardbdir and inst_vardbdir.
82111         * nss/Makefile: Add rules to install db-Makefile.
82113         * nss/nss_db/db-XXX.c: Cleanup.
82115         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82116         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82117         GLIBC_PRIVATE.
82118         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82119         * nss/makedb.c: Implement -g option to specify that value strings
82120         are generated and should not be added to table iterated over for
82121         get*ent calls.
82122         * nss/nss_db/db-initgroups.c: New file.
82124         * nss/getent.c: Add support for initgroups lookups through getgrouplist
82125         interface.
82127         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82128         (internal_getgrouplist): Adjust to name change.
82129         Update use_initgroups_entry if this is not the first call.
82130         * nss/databases.def: Add initgroups entry.
82132         * nss/makedb.c (compute_tables): Check result of multiple hash table
82133         sizes to minimize maximum chain length.
82135 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
82137         * Versions.def: Add entry for libnss_db.
82138         * shlib-versions: Likewise.
82139         * nss/Makefile: Add rules to build libnss_db.
82140         * nss/Versions: Add libnss_db information.  Organize libnss_files
82141         entries better.
82142         * nss/db-Makefile: Add gshadow support.  Change rules for the new
82143         makedb progra.  Some minor improvements to generate smaller files.
82144         * nss/nss_db/nss_db.h: Move NSS database header data structures to
82145         here from...
82146         * nss/makedb.c: ...here.
82147         Improve database format to be smaller and require less memory at
82148         runtime.
82149         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
82150         db anymore.
82151         * nss/nss_db/db-netgrp.c: Likewise.
82152         * nss/nss_db/db-open.c: Likewise.
82153         * nss/nss_files/flies-XXX.x: Adjust comments.
82154         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82155         * nss/nss_files/files-grp.c: Likewise.
82156         * nss/nss_files/files-hosts.c: Likewise.
82157         * nss/nss_files/files-network.c: Likewise.
82158         * nss/nss_files/files-proto.c: Likewise.
82159         * nss/nss_files/files-pwd.c: Likewise.
82160         * nss/nss_files/files-rpc.c: Likewise.
82161         * nss/nss_files/files-service.c: Likewise.
82162         * nss/nss_files/files-sgrp.c: Likewise.
82163         * nss/nss_files/files-spwd.c: Likewise.
82164         * nss/nss_db/db-alias.c: Removed.
82165         * nss/nss_db/dummy-db.h: Removed.
82167 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
82169         * nss/makedb.c: Rewritten to not use database library.
82170         * nss/Makefile: Update to build new makedb program.
82172 2011-06-14  Andreas Jaeger  <aj@suse.de>
82174         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82175         memset declaration.
82177 2011-06-10  Andreas Schwab  <schwab@redhat.com>
82179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82180         tmpbuf.
82182 2011-06-10  Roland McGrath  <roland@hack.frob.com>
82184         * Makerules (shlib.lds): Fail if the linker script comes out empty.
82185         * elf/Makefile ($(objpfx)ld.so): Likewise.
82187         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82188         Don't list ld.so twice in dependencies.
82190         * posix/bug-regex31.c: Include <stdlib.h>.
82192         * nscd/hstcache.c (cache_addhst): Remove unused variable.
82194         * nis/nss_compat/compat-spwd.c
82195         (getspent_next_nss_netgr): Remove unused variable.
82196         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82198         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82199         nonmembers" output to use the right array.
82201         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82203         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82205         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82206         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82207         * catgets/gencat.c (read_input_file): Likewise.
82208         * locale/programs/locarchive.c (enlarge_archive): Likewise.
82210         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82211         variable definition inside #if's controlling its use.
82213         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82215         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82217         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82219         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82220         unreachable code.
82222         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82224         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82225         * configure: Regenerated.
82227         * Makerules: Revert last change.
82228         * elf/Makefile: Likewise.
82230 2011-06-09  Roland McGrath  <roland@hack.frob.com>
82232         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82233         * elf/Makefile ($(objpfx)librtld.os): Likewise.
82234         (reloc-link): Likewise.
82236 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
82238         * elf/Makefile: Add rules to build pldd.
82239         * elf/pldd.c: New file.
82240         * elf/pldd-xx.c: New file.
82242 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
82244         * version.h: Update for 2.15 development version.
82246 2011-06-07  David S. Miller  <davem@davemloft.net>
82248         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82249         ifuncs.
82250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82251         elf_machine_lazy_rel): Likewise.
82252         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82254         elf_machine_lazy_rel): Likewise.
82255         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82256         dl_hwcap via passed in argument.
82257         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82258         Likewise.
82260 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82262         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
82264 2011-06-06  Roland McGrath  <roland@hack.frob.com>
82266         [BZ #12849]
82267         * manual/fdl-1.1.texi: New file, verbatim from:
82268         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82269         * manual/lgpl-2.1.texi: New file, verbatim from:
82270         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82271         * manual/Makefile (licenses): New variable, list those new file names.
82272         (texis): Use it.
82273         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82275         * manual/fdl.texi: File removed.
82276         * manual/lesser.texi: File removed.
82277         * manual/libc.texinfo (Copying, Documentation License):
82278         Use new @include file names, put @appendix directive before @include.
82280 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
82282         [BZ #12841]
82283         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82284         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82285         (mq_open): Add __NTH.
82287 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
82289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82290         Assume Intel Core i3/i5/i7 processor if AVX is available.
82292 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82294         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82295         typo.
82297 2011-05-31  Andreas Schwab  <schwab@redhat.com>
82299         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82300         memory.  Use alloca_account.  Fix memory leak when retrying.
82302 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82304         * version.h (RELEASE): Bump for 2.14 release.
82305         * include/features.h (__GLIBC_MINOR__): Bump to 14.
82307         * config.make.in (RANLIB): Remove entry.
82309 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
82311         * po/Makefile (po-sed-cmd): Add ksh to extensions.
82312         (libc.pot): Work around missing support for .ksh extension in xgettext.
82314         [BZ #12684]
82315         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82316         if both request failed.
82317         (send_dg): In case of server errors clear resplen or *resplen2.
82319         [BZ #12454]
82320         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82321         when there are multiple maps.
82322         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82323         (_dl_fini): Remove test here.
82325         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82327 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
82329         [BZ #12350]
82330         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82331         bit from old_res_options.
82332         (gaih_inet): Likewise.
82334         [BZ #11099]
82335         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82336         as signed.
82338         * resolv/res_init.c (res_setoptions): Make the code more compact.
82340         [BZ #11558]
82341         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82342         set RES_USEVC.
82344         [BZ #11634]
82345         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82347         * malloc/malloc.h: Mark malloc hook variables as deprecated.
82349         [BZ #11781]
82350         * malloc/malloc.h: Declare malloc hook variables as volatile.
82352         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82353         in last patch.
82355         [BZ #11799]
82356         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82357         raise in the comment.
82358         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82359         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82360         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82362 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
82364         [BZ #12811]
82365         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82366         grow the buffers more if it already has to be sufficient.
82367         (build_wcs_upper_buffer): Likewise.
82368         * posix/regexec.c (check_matching): Likewise.
82369         (clean_state_log_if_needed): Likewise.
82370         (extend_buffers): Don't enlarge buffers beyond size of the input
82371         buffer.
82372         Patches mostly by Emil Wojak <emil@wojak.eu>.
82373         * posix/bug-regex32.c: New file.
82374         * posix/Makefile (tests): Add bug-regex32.
82376         * locale/findlocale.c (_nl_find_locale): Return right away if
82377         _nl_explode_name failed.
82378         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82380         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82382         * debug/xtrace.sh: Unify messages.
82383         * malloc/memusage.sh: Likewise.
82385         [BZ #12813]
82386         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82387         time symbol from vDSO.  Substitute with vsyscall if not available.
82388         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82389         __vdso_time.
82391         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82392         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82393         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82394         Add sendmmsg and internal_sendmmsg.
82395         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82396         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82397         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82399         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82400         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82401         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82403 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
82405         [BZ #12813]
82406         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82407         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
82408         available.
82409         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82410         __vdso_getcpu.
82412         [BZ #12814]
82413         * iconvdata/Makefile (tests): Add bug-iconv9.
82414         * iconvdata/bug-iconv9.c: New file.
82416 2011-05-27  Andreas Schwab  <schwab@redhat.com>
82418         [BZ #12814]
82419         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82421 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
82423         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82424         (struct user_regs_struct): Change intcs field back to cs.
82426 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
82428         * po/ja.po: Update from translation team.
82430 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
82432         [BZ #12795]
82433         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82434         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82436 2011-05-20  Andreas Schwab  <schwab@redhat.com>
82438         * stdlib/longlong.h: Update from GCC.
82440 2011-05-23  Andreas Schwab  <schwab@redhat.com>
82442         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82443         parameter name.
82444         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82445         Add parameter name.
82446         (__sysconf): Pass it down.
82448 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
82450         [BZ #12671]
82451         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82452         some situations.
82453         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82454         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82455         add in in __libc_use_alloca calls.  Adjust callers.
82456         (glob): Use malloc in some situations.
82458         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82459         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82460         pltexit.
82462 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
82464         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82465         and CLOCK_BOOTTIME_ALARM.
82467         [BZ #12782]
82468         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82469         is returned.
82471         * string/_strerror.c (__strerror_r): Print negative errors as signed
82472         numbers.
82474         [BZ #12777]
82475         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82476         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82477         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82479         * configure.in: Fix typo in redirection and correct removal of test
82480         files in two cases.
82482         [BZ #12788]
82483         * locale/setlocale.c (new_composite_name): Fix test to check for
82484         identical name of all categories.
82486         [BZ #12792]
82487         * libio/filedoalloc.c (local_isatty): New function.
82488         (_IO_file_doallocate): Use local_isatty.
82489         * stdio-common/perror.c (perror): In case a new stream is used
82490         forward the stream error.
82491         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82492         error flag.
82494 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
82496         [BZ #11884]
82497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82498         alloca.
82499         * include/alloca.h (extend_alloca_account): Define.
82501         [BZ #11857]
82502         * posix/regex.h: Fix comments with documentation of user-accessible
82503         fields after compilation and describe correct free'ing of pattern
82504         after re_compile_pattern.
82505         Patch by Reuben Thomas <rrt@sc3d.org>.
82507 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
82509         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82510         and -mno-altivec to prevent the compiler from using Altivec and/or
82511         VSX instructions when the corresponding registers are not available.
82513 2011-05-19  Andreas Schwab  <schwab@redhat.com>
82515         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82517 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
82519         * libio/freopen.c (freopen): Use __dup2, not dup2.
82520         * libio/freopen64.c (freopen64): Likewise.
82522 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82524         [BZ #12775]
82525         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82526         * math/Makefile (tests): Add test-powl.
82527         (CFLAGS-test-powl.c): Define.
82528         * math/test-powl.c: New file.
82530 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82532         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82534 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
82536         [BZ #11837]
82537         * iconvdata/gb18030.c: Update to GB18020-2005.
82539 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
82541         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82542         RE_SYNTAX_POSIX_AWK): Update to match recent development.
82543         Patch by Aharon Robbins <arnold@skeeve.com>.
82545         [BZ #11892]
82546         * stdlib/putenv.c (putenv): Don't always create copy of the variable
82547         on the stack.
82549         [BZ #11895]
82550         * misc/pselect.c (__pselect): Handle timeout value errors hidden
82551         through underflows.
82553         [BZ #12766]
82554         * misc/error.c (error_at_line): Ensure file_name and old_file_name
82555         point to strings before performing equality test for error_one_per_line
82556         mode.
82558         [BZ #11697]
82559         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82561         [BZ #11820]
82562         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82563         (struct user_fpregs_struct): Avoid __uint*_t types.
82565         [BZ #6420]
82566         * malloc/mtrace.c (tr_where): Add additional parameter to point to
82567         symbol info.  Use it instead of calling _dl_addr locally.
82568         (lock_and_info): New function.
82569         (tr_freehook): Call lock_and_info and pass symbol info as additional
82570         parameter to tr_where.
82571         (tr_mallochook): Likewise.
82572         (tr_reallochook): Likewise.
82573         (tr_memalignhook): Likewise.
82575         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
82576         used and couldn't be at all thread-safe.
82578 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
82580         * libio/freopen.c (freopen): Don't close old file descriptor
82581         before the new one is opened.  Instead dup the new file descriptor
82582         to the old one after the new stream is created.
82583         * libio/freopen64.c (freopen64): Likewise.
82584         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82585         * libio/fileops.c (_IO_new_file_close_it): Handle new
82586         _IO_FLAGS2_NOCLOSE flag.
82587         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82588         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82589         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82590         _IO_FLAGS2_NOCLOSE flag.
82591         * include/unistd.h: Add hidden_proto for dup3.
82592         Define __have_dup3.
82593         * io/dup3.c: Define hidden symbol.
82594         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82596         [BZ #7101]
82597         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82598         when an incomplete long option is used.
82599         * posix/tst-getopt_long1.c: New file.
82600         * posix/Makefile (tests): Add tst-getopt_long1.
82602         [BZ #10138]
82603         * scripts/config.guess: Update from autoconf-2.68.
82604         * scripts/config.sub: Likewise.
82606         [BZ #10157]
82607         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82608         tests into ...
82609         (has_cpuclock): ...this.  New function.
82610         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82611         macro here based on has_cpuclock code.
82613         [BZ #10149]
82614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82615         First byte (not low byte) is now always NUL.
82616         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82618         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82619         Use non-cancelable interfaces.
82621         [BZ #9809]
82622         * locale/iso-639.def: Add entry for Sorani.
82624         [BZ #11901]
82625         * include/stdlib.h: Move include protection to the right place.
82626         Define abort_msg_s.  Declare __abort_msg with it.
82627         * stdlib/abort.c (__abort_msg): Adjust type.
82628         * assert/assert.c (__assert_fail_base): New function.  Majority
82629         of code from __assert_fail.  Allocate memory for __abort_msg with
82630         mmap.
82631         (__assert_fail): Now call __assert_fail_base.
82632         * assert/assert-perr.c: Remove bulk of implementation.  Use
82633         __assert_fail_base.
82634         * include/assert.hL Declare __assert_fail_base.
82635         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82636         mmap.
82637         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82639 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
82641         [BZ #11952]
82642         [BZ #12453]
82643         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82644         until all modules are registered in the DTV.
82645         * elf/Makefile: Add rules to build and run tst-tls19.
82646         * elf/tst-tls19.c: New file.
82647         * elf/tst-tls19mod1.c: New file.
82648         * elf/tst-tls19mod2.c: New file.
82649         * elf/tst-tls19mod3.c: New file.
82650         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82652         [BZ #12083]
82653         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82654         correctly.
82656         [BZ #12601]
82657         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82658         two-byte sequence errors.
82659         * iconvdata/Makefile (tests): Add bug-iconv8.
82660         * iconvdata/bug-iconv8.c: New file.
82662         [BZ #12626]
82663         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82664         buf2 definition.
82666         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82668         [BZ #12432]
82669         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82670         (dummy_getcfa): New function.
82671         (init): Get _Unwind_GetCFA address, use dummy if not found.
82672         (backtrace_helper): In recursion check, also check whether CFA changes.
82673         (__backtrace): Completely initialize arg.
82675         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82676         storing incomplete byte sequence in state object.  Avoid testing for
82677         guaranteed too small input if we know there is enough data available.
82679 2011-05-11  Andreas Schwab  <schwab@redhat.com>
82681         * Makeconfig (+link-pie): Indent.
82682         * Rules (binaries-pie): Define if $(have-fpie) and
82683         $(build-shared).
82684         (binaries-shared): Also filter out $(binaries-pie).
82685         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82686         * nscd/Makefile (others-pie): Add nscd.
82687         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82688         ($(objpfx)nscd): Remove command override.
82689         * login/Makefile (others-pie): Add pt_chown.
82690         ($(objpfx)pt_chown): Remove command override.
82691         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82692         remove command overrides.
82694 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
82696         * libio/tst_putwc.c: Fix error messages.
82698         [BZ #12724]
82699         * libio/fileops.c (_IO_new_file_close_it): Always flush when
82700         currently writing and seek to current position when not.
82701         * libio/Makefile (tests): Add bug-fclose1.
82702         * libio/bug-fclose1.c: New file.
82704 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
82706         [BZ #12511]
82707         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82708         don't set DF_1_NODELETE here.
82709         (do_lookup_x): When entering new entry test for copy relocation
82710         and if necessary set DF_1_NODELETE flag.
82711         * elf/tst-unique4.cc: New file.
82712         * elf/tst-unique4.h: New file.
82713         * elf/tst-unique4lib.cc: New file.
82714         * elf/Makefile: Add rules to build and run tst-unique4.
82715         Patch by Piotr Bury <pbury@goahead.com>.
82717 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
82719         [BZ #12052]
82720         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82722         [BZ #12625]
82723         * misc/mntent_r.c (addmntent): Flush the stream after the output
82725         [BZ #12393]
82726         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82727         (is_trusted_path_normalize): Skip initial colon.  Append slash
82728         to empty buffer.  Duplicate is_trusted_path code but allow
82729         constructed patch to be prefix.
82730         (is_dst): Allow $ORIGIN followed by /.
82731         (_dl_dst_substitute): Correct clearing of check_for_trusted.
82732         Correct testing of result of is_trusted_path_normalize
82733         (decompose_rpath): Fix warning.
82735 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
82737         [BZ #11257]
82738         * grp/initgroups.c (internal_getgrouplist): When we found the service
82739         list through the initgroups entry in nsswitch.conf do not always
82740         continue on a successful lookup.  Don't always use the
82741         __nss_group_database value if it is set.
82742         * nss/nsswitch.conf (initgroups): Change action for successful db
82743         lookup to continue for compatibility.
82745 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
82747         [BZ #11532]
82748         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82749         and CP774 modules.
82750         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82751         and CP774 modules.
82752         * iconvdata/tst-tables.sh: Likewise.
82753         * iconvdata/cp770.c: New file.
82754         * iconvdata/cp771.c: New file.
82755         * iconvdata/cp772.c: New file.
82756         * iconvdata/cp773.c: New file.
82757         * iconvdata/cp774.c: New file.
82758         * iconvdata/testdata/CP770: New file.
82759         * iconvdata/testdata/CP770..UTF8: New file.
82760         * iconvdata/testdata/CP771: New file.
82761         * iconvdata/testdata/CP771..UTF8: New file.
82762         * iconvdata/testdata/CP772: New file.
82763         * iconvdata/testdata/CP772..UTF8: New file.
82764         * iconvdata/testdata/CP773: New file.
82765         * iconvdata/testdata/CP773..UTF8: New file.
82766         * iconvdata/testdata/CP774: New file.
82767         * iconvdata/testdata/CP774..UTF8: New file.
82769         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82770         END CHARMAP line.
82771         * iconvdata/gen-8bit-gap.sh: Likewise.
82772         * iconvdata/gen-8bit.sh: Likewise.
82774         * locale/iso-639.def: Add ary entry.
82776         [BZ #11258]
82777         * locale/C-translit.h.in: Add U20A1 transliteration.
82779         [BZ #12178]
82780         * locale/iso-639.def: Add wae entry.
82781         Patch by Kevin Bortis <bortis@translate-wae.ch>.
82783         [BZ #12545]
82784         * locale/programs/localedef.c (construct_output_path): Use ssize_t
82785         for n.
82787         [BZ #12711]
82788         * locale/C-translit.h.in: Add entry for U20B9.
82789         Patch by pravin.d.s@gmail.com.
82791 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
82793         [BZ #12713]
82794         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82795         ENAMETOOLONG use generic getcwd.
82796         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
82797         in rtld.  Use *stat64.
82798         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82799         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82800         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82801         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82802         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82803         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82804         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82805         __fstatat64 macros.
82806         * include/dirent.h: Add libc_hidden_proto for rewinddir.
82807         * dirent/rewinddir.c: Add libc_hidden_def.
82808         * sysdeps/mach/hurd/rewinddir.c: Likewise.
82809         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
82811         * include/dirent.h (__alloc_dir): Add flags parameter.
82812         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82813         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82814         __alloc_dir.
82815         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
82816         from fdopendir if O_CLOEXEC is already set.
82818 2011-03-15  Alan Modra  <amodra@gmail.com>
82820         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82821         l_tls_firstbyte_offset non-zero.  Save padding offset in
82822         l_tls_firstbyte_offset for later use.
82823         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82824         freeing static tls block.
82826 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
82828         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82829         where #ifdef was intended.  The intent is to prevent ARG_MAX from
82830         being defined by the kernel headers.
82832 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
82834         [BZ #12734]
82835         * resolv/resolv.h: Define RES_NOTLDQUERY.
82836         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82837         no-tld-query and set RES_NOTLDQUERY.
82838         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82839         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82840         modern BIND to search name as TLD unless forbidden.
82842 2011-05-07  Petr Baudis  <pasky@suse.cz>
82843             Ulrich Drepper  <drepper@gmail.com>
82845         [BZ #12393]
82846         * elf/dl-load.c (fillin_rpath): Move trusted path check...
82847         (is_trusted_path): ...to here.
82848         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82849         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82850         using is_trusted_path_normalize() in setuid scripts.
82852 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82854         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82855         __BEGIN/__END_DECLS.
82857 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
82859         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82860         NSS_STATUS_NOTFOUND if no record was found.
82862 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82864         * sunrpc/Makefile (headers): Add rpc/netdb.h.
82865         (headers-not-in-tirpc): Remove rpc/netdb.h
82866         * resolv/netdb.h: Revert last change.
82868 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82870         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
82871         circular dependency between libgcc.a and libc.a.
82873 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82875         * resolv/netdb.h: Don't include <rpc/netdb.h>.
82876         * nis/Makefile: Don't install rpcsvc/*.
82877         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
82878         instead of <rpc/types.h>.
82879         (MAXHOSTNAMELEN): Define.
82881 2011-05-03  Andreas Schwab  <schwab@redhat.com>
82883         * elf/ldconfig.c (add_dir): Don't crash on empty path.
82885 2011-04-28  Maciej Babinski  <mbabinski@google.com>
82887         [BZ #12714]
82888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
82889         gethostbyname4_r when IPv6 results are possible.
82891 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
82893         [BZ #12723]
82894         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
82895         _PC_PIPE_BUF handling.
82897 2011-04-30  Bruno Haible  <bruno@clisp.org>
82899         [BZ #12717]
82900         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
82901         * resolv/netdb.h (getnameinfo): Change type of flags parameter
82902         to 'int'.
82903         * inet/getnameinfo.c (getnameinfo): Likewise.
82905 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
82907         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
82908         to groups setting in database lookup.
82909         * nss/nsswitch.conf: Add initgroups entry.
82911 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
82913         [BZ #12685]
82914         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
82915         mode string.
82916         Patch by Eric Blake <eblake@redhat.com>.
82918 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
82920         * sunrpc/Makefile (need-export-routines): Add svc_run.
82921         (routines): Remove svc_run.
82922         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
82923         * sunrpc/clnt_perr.c (clnt_perrno): Export.
82924         * sunrpc/svc_run.c (svc_run): Likewise.
82925         * sunrpc/svc_udp.c (svcudp_create): Likewise.
82927 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
82929         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
82930         problem in reallocation in last patch.
82932 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
82934         * sunrpc/Makefile: Move inclusion of Rules.
82936 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
82938         * nss/nss_files/files-initgroups.c: New file.
82939         * nss/Makefile (libnss_files-routines): Add files-initgroups.
82940         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
82941         _nss_files_initgroups_dyn.
82943 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
82945         * elf/elf.h (R_ARM_IRELATIVE): Define.
82947 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
82949         * po/ru.po: Update from translation team.
82951 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
82953         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
82954         dependencies.
82956 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
82958         [BZ #12653]
82959         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
82960         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
82961         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82962         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
82963         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
82965 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
82967         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
82968         differing bytes.
82969         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
82970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
82971         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
82973 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
82975         [BZ #12420]
82976         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
82977         storing it.
82978         * stdlib/bug-getcontext.c: New file.
82979         * stdlib/Makefile: Add rules to build and run bug-getcontext.
82981 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82983         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
82984         instructions into .machine "z9-109".
82985         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
82986         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
82988 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82990         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
82991         between environment variables and auxiliary vector.
82993 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
82995         * Makefile: Add rules to build linkobj/libc.so.
82996         * include/libc-symbols.h: Define libc_hidden_nolink.
82997         * include/rpc/auth.h: Mark functions which are to be hidden.
82998         * include/rpc/auth_des.h: Likewise.
82999         * include/rpc/auth_unix.h: Likewise.
83000         * include/rpc/clnt.h: Likewise.
83001         * include/rpc/des_crypt.h: Likewise.
83002         * include/rpc/key_prot.h: Likewise.
83003         * include/rpc/pmap_clnt.h: Likewise.
83004         * include/rpc/pmap_prot.h: Likewise.
83005         * include/rpc/pmap_rmt.h: Likewise.
83006         * include/rpc/rpc_msg.h: Likewise.
83007         * include/rpc/svc.h: Likewise.
83008         * include/rpc/svc_auth.h: Likewise.
83009         * include/rpc/xdr.h: Likewise.
83010         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83011         * nss/Makefile: Likewise.
83012         * sunrpc/Makefile: Don't install headers.  Build library with normal
83013         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83014         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83015         for the compat linking library.  Remove use of INTDEF/INTUSE.
83016         * sunrpc/auth_none.c: Likewise.
83017         * sunrpc/auth_unix.c: Likewise.
83018         * sunrpc/authdes_prot.c: Likewise.
83019         * sunrpc/authuxprot.c: Likewise.
83020         * sunrpc/clnt_gen.c: Likewise.
83021         * sunrpc/clnt_perr.c: Likewise.
83022         * sunrpc/clnt_raw.c: Likewise.
83023         * sunrpc/clnt_simp.c: Likewise.
83024         * sunrpc/clnt_tcp.c: Likewise.
83025         * sunrpc/clnt_udp.c: Likewise.
83026         * sunrpc/clnt_unix.c: Likewise.
83027         * sunrpc/des_crypt.c: Likewise.
83028         * sunrpc/des_soft.c: Likewise.
83029         * sunrpc/get_myaddr.c: Likewise.
83030         * sunrpc/key_call.c: Likewise.
83031         * sunrpc/key_prot.c: Likewise.
83032         * sunrpc/netname.c: Likewise.
83033         * sunrpc/pm_getmaps.c: Likewise.
83034         * sunrpc/pm_getport.c: Likewise.
83035         * sunrpc/pmap_clnt.c: Likewise.
83036         * sunrpc/pmap_prot.c: Likewise.
83037         * sunrpc/pmap_prot2.c: Likewise.
83038         * sunrpc/pmap_rmt.c: Likewise.
83039         * sunrpc/publickey.c: Likewise.
83040         * sunrpc/rpc_cmsg.c: Likewise.
83041         * sunrpc/rpc_common.c: Likewise.
83042         * sunrpc/rpc_dtable.c: Likewise.
83043         * sunrpc/rpc_prot.c: Likewise.
83044         * sunrpc/rpc_thread.c: Likewise.
83045         * sunrpc/rtime.c: Likewise.
83046         * sunrpc/svc.c: Likewise.
83047         * sunrpc/svc_auth.c: Likewise.
83048         * sunrpc/svc_authux.c: Likewise.
83049         * sunrpc/svc_raw.c: Likewise.
83050         * sunrpc/svc_run.c: Likewise.
83051         * sunrpc/svc_simple.c: Likewise.
83052         * sunrpc/svc_tcp.c: Likewise.
83053         * sunrpc/svc_udp.c: Likewise.
83054         * sunrpc/svc_unix.c: Likewise.
83055         * sunrpc/svcauth_des.c: Likewise.
83056         * sunrpc/xcrypt.c: Likewise.
83057         * sunrpc/xdr.c: Likewise.
83058         * sunrpc/xdr_array.c: Likewise.
83059         * sunrpc/xdr_float.c: Likewise.
83060         * sunrpc/xdr_intXX_t.c: Likewise.
83061         * sunrpc/xdr_mem.c: Likewise.
83062         * sunrpc/xdr_rec.c: Likewise.
83063         * sunrpc/xdr_ref.c: Likewise.
83064         * sunrpc/xdr_sizeof.c: Likewise.
83065         * sunrpc/xdr_stdio.c: Likewise.
83067 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83069         [BZ #12650]
83070         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83071         * sysdeps/ia64/dl-tls.h: Likewise.
83072         * sysdeps/powerpc/dl-tls.h: Likewise.
83073         * sysdeps/s390/dl-tls.h: Likewise.
83074         * sysdeps/sh/dl-tls.h: Likewise.
83075         * sysdeps/sparc/dl-tls.h: Likewise.
83076         * sysdeps/x86_64/dl-tls.h: Likewise.
83077         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83079 2011-03-14  Andreas Schwab  <schwab@redhat.com>
83081         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83082         rpath element also skip the following colon.
83083         (expand_dynamic_string_token): Add is_path parameter and pass
83084         down to DL_DST_REQUIRED and _dl_dst_substitute.
83085         (decompose_rpath): Call expand_dynamic_string_token with
83086         non-zero is_path.  Ignore empty rpaths.
83087         (_dl_map_object_from_fd): Call expand_dynamic_string_token
83088         with zero is_path.
83090 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
83092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83093         Make cancelable.
83095 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
83097         [BZ #12655]
83098         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83099         Patch by Filipe David Manana <fdmanana@apache.org>.
83101 2011-04-07  Andreas Schwab  <schwab@redhat.com>
83103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83104         Maintain aligned stack.
83105         (CHECK_RSP): Remove unused macro.
83107 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
83109         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83110         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83112 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
83114         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83116         * include/features.h: Mention __USE_XOPEN2K8 in comment.
83118 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
83120         [BZ #12518]
83121         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83122         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83123         * sysdeps/x86_64/memmove.c: New file.
83124         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83125         (memcpy): Renamed to ...
83126         (__new_memcpy): This.
83127         (memcpy): Provide GLIBC_2_14 memcpy.
83128         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83129         (memcpy): Provide GLIBC_2_2_5 memcpy.
83131 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83133         [BZ #12631]
83134         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83136 2011-03-30  Andreas Schwab  <schwab@redhat.com>
83138         * misc/syncfs.c: New file.
83139         * misc/Makefile (routines): Add syncfs.
83140         * posix/unistd.h: Declare syncfs.
83141         * sysdeps/unix/syscalls.list: Add syncfs.
83143 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83145         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83146         open_by_handle_at.
83147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83148         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83150         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83151         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83152         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83153         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83155 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83157         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83158         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83159         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83160         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83161         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83162         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83163         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83165         * io/Makefile: Compile fallocate.c, fallocate64.c, and
83166         sync_file_range.c with -fexceptions.
83167         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83168         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83169         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83170         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83171         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83172         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83173         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83174         sync_file_range as cancellation point
83175         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
83176         now a wrapper around __call_sync_file_range with cancellation handling.
83177         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83178         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
83179         function name to __call_sync_file_range.
83180         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83181         Add call_sync_file_range.
83183 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83186         bits/timex.h.
83188 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83190         * iconv/iconv.h: Fix typo in comment.
83191         * io/fcntl.h: Likewise.
83192         * libio/stdio.h: Likewise.
83193         * posix/spawn.h: Likewise.
83194         * posix/unistd.h: Likewise.
83195         * stdlib/stdlib.h: Likewise.
83196         * time/time.h: Likewise.
83197         * wcsmbs/wchar.h: Likewise.
83199         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83200         open_by_handle): Add.
83201         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83202         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
83203         Augment a few comments.
83204         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83206         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83208         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83209         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83210         open_by_handle.
83212         * io/fcntl.h (AT_EMPTY_PATH): Define.
83214 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
83216         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83217         * sysdeps/unix/sysv/linux/bits/time.h: New file.
83218         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83219         to...
83220         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
83221         * Versions.def: Add GLIBC_2.14.
83222         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83223         Export.
83225 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
83227         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83228         round counter.
83229         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83231 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83233         [BZ #12597]
83234         * string/test-strncmp.c (do_page_test): New function.
83235         (check2): Likewise.
83236         (test_main): Call check2.
83237         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83239 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
83241         [BZ #12587]
83242         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83243         Handle cache information in CPU leaf 4.
83244         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83246 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
83248         [BZ #12583]
83249         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83250         character representation.
83251         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83253 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
83255         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83256         END(__isnan) to END(__isnanf) to match function entry point/label
83257         EALIGN(__isnanf,...).
83259 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
83261         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83263 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
83265         [BZ #12510]
83266         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83267         copy from the symbol referenced in the relocation to initialize the
83268         used variable.
83269         Patch by Piotr Bury <pbury@goahead.com>.
83270         * elf/Makefile: Add rules to build and tst-unique3.
83271         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83272         * elf/tst-unique3.cc: New file.
83273         * elf/tst-unique3.h: New file.
83274         * elf/tst-unique3lib.cc: New file.
83275         * elf/tst-unique3lib2.cc: New file.
83277         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83279 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
83281         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83282         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
83283         to _start.
83285 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
83287         * elf/dl-load.c (_dl_map_object): If we are looking for the first
83288         to-be-loaded object along a path to loader is ld.so.
83290 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83291             Ulrich Drepper  <drepper@gmail.com>
83293         * sysdeps/x86_64/memset.S: After aligning destination, code
83294         branches to different locations depending on the value of
83295         misalignment, when multiarch is enabled. Fix this.
83297 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83299         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83300         Set _x86_64_preferred_memory_instruction for AMD processsors.
83301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83302         Set bit_Prefer_SSE_for_memop for AMD processors.
83304 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
83306         * libio/fmemopen.c (fmemopen): Optimize a bit.
83308 2011-03-03  Andreas Schwab  <schwab@redhat.com>
83310         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83312 2011-03-03  Roland McGrath  <roland@redhat.com>
83314         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83316 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
83318         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83319         __bzero_ultra1 instead of __memset_ultra1.
83321 2011-02-23  Andreas Schwab  <schwab@redhat.com>
83322             Ulrich Drepper  <drepper@gmail.com>
83324         [BZ #12509]
83325         * include/link.h (struct link_map): Add l_orig_initfini.
83326         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83327         returning unsuccessfully.
83328         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83329         close of a file loaded at startup, restore the original l_initfini
83330         list.
83331         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83332         list, store the pointer.
83333         * elf/Makefile ($(objpfx)noload-mem): New rule.
83334         (noload-ENV): Define.
83335         (tests): Add $(objpfx)noload-mem.
83336         * elf/noload.c: Include <memcheck.h>.
83337         (main): Call mtrace.  Close all opened handles.
83339 2011-02-17  Andreas Schwab  <schwab@redhat.com>
83341         [BZ #12454]
83342         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83343         dependencies are missing.
83345 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83347         Fix __if_freereq crash: Unlike the generic version which uses free,
83348         Hurd needs munmap.
83349         * sysdeps/mach/hurd/ifreq.h: New file.
83351 2011-01-27  Petr Baudis  <pasky@suse.cz>
83352             Ulrich Drepper  <drepper@gmail.com>
83354         [BZ 12445]#
83355         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83356         to extend_alloca().
83357         * stdio-common/bug23.c: New file.
83358         * stdio-common/Makefile (tests): Add bug23.
83360 2010-09-28  Andreas Schwab  <schwab@redhat.com>
83361             Ulrich Drepper  <drepper@gmail.com>
83363         [BZ #12489]
83364         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83365         before performing relro protection.  At old place add assertion
83366         to make sure nothing changed.
83368 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
83369             Glauber de Oliveira Costa  <glommer@gmail.com>
83371         * elf/elf.h: Add new ARM TLS relocs.
83373 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
83375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83376         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83377         cast from r3.
83378         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
83379         'tests' variable.
83380         * sysdeps/wordsize-64/tst-writev.c: New file.
83382 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
83384         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83385         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83386         insns in _dl_start to prevent a TOC reference before relocs are
83387         resolved.
83389 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
83391         [BZ #12469]
83392         * Makeconfig: Remove RANLIB definition.
83393         * Makerules: Don't use RANLIB.
83394         * aclocal.m4: Remove ranlib test.
83395         * configure.in: No need to check for ranlib.
83396         * elf/rtld-Rules: Don't use RANLIB.
83398 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83400         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83401         protection macro.
83402         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83403         inclusion protection macro.
83405         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83406         SIGRTMIN and SIGRTMAX and print information in that case only when
83407         SIGRTMIN is defined.
83409 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
83411         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83412         arginfo fn returning -1.
83414         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83415         and thousands string is zero terminated.
83417 2011-02-03  Andreas Schwab  <schwab@redhat.com>
83419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83420         sysdeps/unix/sysv/linux/bits/socket.h.
83422 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83424         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83425         (__CPU_COUNT): Remove old macros.
83426         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83427         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83428         (__CPU_ALLOC, __CPU_FREE): Add macros.
83429         (__sched_cpualloc, __sched_cpufree): Add declarations.
83431 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
83433         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83434         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83435         * nscd/aicache.c (addhstaiX): Return timeout of added value.
83436         (readdhstai): Return value of addhstaiX call.
83437         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83438         (addgrbyX): Return value returned by cache_addgr.
83439         (readdgrbyname): Return value returned by addgrbyX.
83440         (readdgrbygid): Likewise.
83441         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83442         (addpwbyX): Return value returned by cache_addpw.
83443         (readdpwbyname): Return value returned by addhstbyX.
83444         (readdpwbyuid): Likewise.
83445         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83446         (addservbyX): Return value returned by cache_addserv.
83447         (readdservbyname): Return value returned by addservbyX:
83448         (readdservbyport): Likewise.
83449         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83450         (addhstbyX): Return value returned by cache_addhst.
83451         (readdhstbyname): Return value returned by addhstbyX.
83452         (readdhstbyaddr): Likewise.
83453         (readdhstbynamev6): Likewise.
83454         (readdhstbyaddrv6): Likewise.
83455         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83456         (readdinitgroups): Return value returned by addinitgroupsX.
83457         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83458         (prune_cache): Keep track of timeout value of re-added entries.
83459         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83460         * nscd/nscd.h: Adjust prototypes of readd* functions.
83462 2011-02-04  Roland McGrath  <roland@redhat.com>
83464         * nis/nis_server.c (nis_servstate): Use the right name for 0.
83465         (nis_stats): Likewise.
83466         * nis/nis_modify.c (nis_modify): Likewise.
83467         * nis/nis_remove.c (nis_remove): Likewise.
83468         * nis/nis_add.c (nis_add): Likewise.
83470         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83472         * posix/fnmatch_loop.c: Add some consts.
83474         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83476 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
83478         [BZ #12460]
83479         * config.make.in (config-cflags-novzeroupper): Define.
83480         * configure.in: Substitute libc_cv_cc_novzeroupper.
83481         * elf/Makefile (AVX-CFLAGS): Define.
83482         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83483         (CFLAGS-tst-auditmod4a.c): Likewise.
83484         (CFLAGS-tst-auditmod4b.c): Likewise.
83485         (CFLAGS-tst-auditmod6b.c): Likewise.
83486         (CFLAGS-tst-auditmod6c.c): Likewise.
83487         (CFLAGS-tst-auditmod7b.c): Likewise.
83488         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83490 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
83492         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83493         function to the callback.
83494         Patch partly by Jiri Olsa <jolsa@redhat.com>.
83496 2011-02-02  Andreas Schwab  <schwab@redhat.com>
83498         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83499         of errno.
83501 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
83503         [BZ #11724]
83504         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83505         of constructors.
83506         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83507         of destructors.
83508         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83510         [BZ #11724]
83511         * elf/Makefile: Add rules to build and run new test.
83512         * elf/tst-initorder.c: New file.
83513         * elf/tst-initorder.exp: New file.
83514         * elf/tst-initordera1.c: New file.
83515         * elf/tst-initordera2.c: New file.
83516         * elf/tst-initordera3.c: New file.
83517         * elf/tst-initordera4.c: New file.
83518         * elf/tst-initorderb1.c: New file.
83519         * elf/tst-initorderb2.c: New file.
83520         * elf/tst-order-a1.c: New file.
83521         * elf/tst-order-a2.c: New file.
83522         * elf/tst-order-a3.c: New file.
83523         * elf/tst-order-a4.c: New file.
83524         * elf/tst-order-b1.c: New file.
83525         * elf/tst-order-b2.c: New file.
83526         * elf/tst-order-main.c: New file.
83527         New test case by George Gensure <werkt0@gmail.com>.
83529 2010-10-01  Andreas Schwab  <schwab@redhat.com>
83531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83532         decoding ACE if AI_CANONIDN.
83534 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
83536         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83538 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
83540         * version.h (RELEASE): Bump for 2.13 release.
83541         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83543         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83545         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83546         MADV_NOHUGEPAGE.
83547         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83548         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83549         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83550         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83551         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83552         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83554         * posix/getconf.c: Update copyright year.
83555         * catgets/gencat.c: Likewise.
83556         * csu/version.c: Likewise.
83557         * debug/catchsegv.sh: Likewise.
83558         * debug/xtrace.sh: Likewise.
83559         * elf/ldconfig.c: Likewise.
83560         * elf/ldd.bash.in: Likewise.
83561         * elf/sprof.c (print_version): Likewise.
83562         * iconv/iconv_prog.c: Likewise.
83563         * iconv/iconvconfig.c: Likewise.
83564         * locale/programs/locale.c: Likewise.
83565         * locale/programs/localedef.c: Likewise.
83566         * malloc/memusage.sh: Likewise.
83567         * malloc/mtrace.pl: Likewise.
83568         * nscd/nscd.c (print_version): Likewise.
83569         * nss/getent.c: Likewise.
83571         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83572         PF_CAIF, and PF_ALG.
83573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83575 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
83577         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83578         (modules-names): Use them.
83579         (ifunc-test-modules, ifunc-pie-tests): Define.
83580         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83581         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83582         (test-extras): Likewise.
83583         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83584         $(compile-command.c).
83585         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83586         (all-built-dso): Define.
83587         (check-textrel.out, check-execstack.out): Depend on it.
83589         * configure.in: Don't override --enable-multi-arch.
83591 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
83593         [BZ #6812]
83594         * nscd/hstcache.c (tryagain): Define.
83595         (cache_addhst): Return tryagain not notfound for temporary errors.
83596         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83597         failed.
83599 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
83601         [BZ #10563]
83602         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83603         to make the syscall.
83604         * sysdeps/unix/sysv/linux/setgroups.c: New file.
83606         [BZ #12378]
83607         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83608         and fall back to matching as normal character if the string ends before
83609         the matching ']' is found.  This is what POSIX requires.
83610         * posix/testfnm.c: Adjust test result.
83611         * posix/globtest.sh: Adjust test result.  Add new test.
83612         * posix/tst-fnmatch.input: Likewise.
83613         * posix/tst-fnmatch2.c: Add new test.
83615 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
83617         * elf/Makefile (check-execstack): Revert last change.  Depend on
83618         check-execstack.h.
83619         (check-execstack.h): New target.
83620         (generated): Add check-execstack.h.
83621         * elf/check-execstack.c: Include "check-execstack.h".
83622         (main): Revert last change.
83623         (handle_file): Return zero if GNU_STACK is absent and
83624         DEFAULT_STACK_PERMS doesn't include PF_X.
83626 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
83628         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83629         in child fails because the descriptor is already closed.
83630         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83631         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83632         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83634         [BZ #12397]
83635         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83636         syscall.
83638         [BZ #10484]
83639         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83640         temporary buffer used to handle multi lookups locally.
83641         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83643 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83645         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83646         loader is ld.so.
83648 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
83650         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83651         alignment for SSE2.
83653 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83655         [BZ #12394]
83656         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83657         characters.  When rounding increased number of integer digits recompute
83658         number of groups.
83659         * stdio-common/tst-grouping.c: New file.
83660         * stdio-common/Makefile: Add rules to build and run tst-grouping.
83662 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
83664         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83665         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
83667         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83668         void.
83669         * bits/select.h: Likewise.
83671 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
83673         * po/ja.po: Update from translation team.
83675 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
83677         [BZ #11155]
83678         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83679         implementation just like for lxstat, fxstatat, et al.
83681 2010-12-27  Jim Meyering  <meyering@redhat.com>
83683         [BZ #12348]
83684         * posix/regexec.c (build_trtable): Return failure indication upon
83685         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
83687 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
83689         [BZ #12201]
83690         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83691         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83692         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83693         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83695         [BZ #12207]
83696         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83698         [BZ #12204]
83699         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83700         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83702 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
83704         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83705         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83706         script has SORT_BY_INIT_PRIORITY.
83707         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83708         NO_CTORS_DTORS_SECTIONS is defined.
83709         * elf/soinit.c: Likewise.
83710         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83711         NO_CTORS_DTORS_SECTIONS is defined.
83712         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83713         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83714         * sysdeps/sh/init-first.c: Likewise.
83715         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83717 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
83719         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83720         always use the slow path.
83722 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
83724         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83725         similar rule which adds the sysdep directories to the header search in
83726         order to pick up the correct platform stackinfo.h.
83727         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83728         perform test if it is, otherwise return successfully without testing.
83729         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83730         DEFAULT_STACK_PERMS define in stackinfo.h.
83731         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83732         defined in stackinfo.h.
83733         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83734         DEFAULT_STACK_PERMS defined in stackinfo.h.
83735         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83736         * sysdeps/ia64/stackinfo.h: Likewise.
83737         * sysdeps/s390/stackinfo.h: Likewise.
83738         * sysdeps/sh/stackinfo.h: Likewise.
83739         * sysdeps/sparc/stackinfo.h: Likewise.
83740         * sysdeps/x86_64/stackinfo.h: Likewise.
83741         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83742         PF_X for powerpc64.  Retain PF_X for powerpc32.
83744 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
83746         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83747         accurately.
83748         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83749         GETDENTS_64BIT_ALIGNED.
83751 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
83753         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83755 2010-12-10  Andreas Schwab  <schwab@redhat.com>
83757         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83758         _GNU_SOURCE.
83760         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83761         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83762         Remove __restrict.
83763         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83764         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83766 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
83768         [BZ #11655]
83769         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83770         are initialized.
83772 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
83774         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83776 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
83778         * po/it.po: Update from translation team.
83780 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
83782         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83783         unused codes.
83785 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
83787         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83789 2010-11-24  Andreas Schwab  <schwab@redhat.com>
83791         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83792         specially.
83793         (gaih_getanswer_slice): Likewise.
83795 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
83797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83799 2010-05-31  Petr Baudis  <pasky@suse.cz>
83801         [BZ #11149]
83802         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83803         silently even in the chroot mode.
83805 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
83807         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83808         last patch a bit.  Pretty printing
83810 2010-05-31  Petr Baudis <pasky@suse.cz>
83812         [BZ #10085]
83813         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83814         initialization of skip_initgroups_dyn.
83816 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
83818         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83819         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83821 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
83823         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83825 2010-11-11  Andreas Schwab  <schwab@redhat.com>
83827         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83828         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83829         (tst-fnmatch-ENV): Set MALLOC_TRACE.
83830         ($(objpfx)tst-fnmatch-mem): New rule.
83831         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83832         * posix/tst-fnmatch.c (main): Call mtrace.
83834 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
83836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83837         Support Intel processor model 6 and model 0x2c.
83839 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
83841         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83842           signed comparison.
83844 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
83846         [BZ #12205]
83847         * string/test-strncasecmp.c (check_result): New function.
83848         (do_one_test): Use it.
83849         (check1): New function.
83850         (test_main): Use it.
83851         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83852         Support strcasecmp and strncasecmp.
83854 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
83856         [BZ #12194]
83857         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83858         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83860 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
83862         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83863         IFUNC support.
83864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83865         memset-x86-64.
83866         * sysdeps/x86_64/multiarch/bzero.S: New file.
83867         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83868         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83869         * sysdeps/x86_64/multiarch/memset.S: New file.
83870         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
83871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83872         Set bit_Prefer_SSE_for_memop for Intel processors.
83873         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
83874         Define.
83875         (index_Prefer_SSE_for_memop): Define.
83876         (HAS_PREFER_SSE_FOR_MEMOP): Define.
83878 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
83880         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
83881         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
83883 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
83885         [BZ #12191]
83886         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83887         (__x86_64_raw_data_cache_size_half): Likewise.
83888         (__x86_64_raw_shared_cache_size): Likewise.
83889         (__x86_64_raw_shared_cache_size_half): Likewise.
83891         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83892         (__x86_64_raw_data_cache_size_half): Likewise.
83893         (__x86_64_raw_shared_cache_size): Likewise.
83894         (__x86_64_raw_shared_cache_size_half): Likewise.
83895         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
83896         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
83897         and __x86_64_raw_shared_cache_size_half.  Round
83898         __x86_64_data_cache_size_half, __x86_64_data_cache_size
83899         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
83900         to multiple of 256 bytes.
83902 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
83904         [BZ #12167]
83905         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
83906         of inacessible symlinks.  Verify result of symlink before returning it.
83907         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
83908         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
83910 2010-10-28  Erich Ritz  <erichritz@gmail.com>
83912         * math/math.h (isinf): Fix typo in comment.
83914 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
83916         * po/da.po: Update from translation team.
83918 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
83920         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
83921         is added to the list.
83923 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83924             Ulrich Drepper  <drepper@gmail.com>
83926         * elf/dl-object.c (_dl_new_object): Don't append the new object to
83927         the global list here.  Move code to...
83928         (_dl_add_to_namespace_list): ...here.  New function.
83929         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
83930         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
83931         * elf/dl-load.c (lose): Don't remove the element from the list.
83932         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
83933         (_dl_map_object): Likewise.
83935 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
83937         [BZ #12159]
83938         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
83939         into all bytes of SSE register.
83940         Patch by Richard Li <richardpku@gmail.com>.
83942 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
83944         [BZ #12140]
83945         * malloc/malloc.c (_int_free): Fill correct number of bytes when
83946         perturbing.
83948 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
83950         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
83951         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
83952         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
83953         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
83955         submachine.
83956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
83958 2010-10-22  Andreas Schwab  <schwab@redhat.com>
83960         * include/dlfcn.h (__RTLD_SECURE): Define.
83961         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
83962         mode & __RTLD_SECURE instead.
83963         (open_path): Rename preloaded parameter to secure.
83964         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
83965         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
83966         * elf/dl-deps.c (openaux): Likewise.
83967         * elf/rtld.c (struct map_args): Remove is_preloaded.
83968         (map_doit): Don't use it.
83969         (dl_main): Likewise.
83970         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
83971         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
83973 2010-09-09  Andreas Schwab  <schwab@redhat.com>
83975         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
83976         (sysd-rules-targets): Remove duplicates.
83977         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
83978         rtld-%.$o dependency.
83980 2010-10-18  Andreas Schwab  <schwab@redhat.com>
83982         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
83983         _dl_map_object do it.
83985 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
83987         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
83988         fast fma builtins, define the macros in the C99 standard.
83989         (FP_FAST_FMAF): Likewise.
83990         (FP_FAST_FMAL): Likewise.
83991         * sysdeps/x86_64/bits/mathdef.h: Likewise.
83993         * bits/mathdef.h: Update copyright year.
83994         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83996 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
83998         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
83999         builtins, define the macros in the C99 standard.
84000         (FP_FAST_FMAF): Likewise.
84001         (FP_FAST_FMAL): Likewise.
84002         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84003         multiply/add.
84004         (FP_FAST_FMAF): Likewise.
84006 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84008         [BZ #3268]
84009         * math/libm-test.inc (fma_test): Some new testcases.
84010         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84011         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84012         y and infinite z.  Do multiplication by C already in long double.
84013         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84015         y and infinite z.  Do bitwise or of inexact bit into u.d.
84016         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84017         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84018         * sysdeps/i386/fpu/s_fma.S: Removed.
84019         * sysdeps/i386/fpu/s_fmal.S: Removed.
84021 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84023         [BZ #3268]
84024         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84026         computation is not scheduled after fetestexcept.  Fix value
84027         of minimum denormal long double.
84029 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84031         [BZ #3268]
84032         * math/libm-test.inc (fma_test): Add some more tests.
84033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84034         correctly.
84036 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84038         * scripts/data/localplt-s390-linux-gnu.data: New file.
84039         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84041 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84043         [BZ #3268]
84044         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84045         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84046         instead of dbl-64.
84047         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84048         inlines.
84049         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84051         if one of x and y is very large and the other is subnormal.
84052         * sysdeps/s390/fpu/s_fmaf.c: New file.
84053         * sysdeps/s390/fpu/s_fma.c: New file.
84054         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84055         * sysdeps/powerpc/fpu/s_fma.S: New file.
84056         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84057         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84058         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84060 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84062         [BZ #3268]
84063         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84064         fma tests.
84065         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84066         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84067         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84068         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84069         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84070         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84071         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84073 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84075         [BZ #12078]
84076         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84077         * posix/bug-regex31.input: Add test case.
84079 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84081         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84082         * posix/bug-regex31.input: New file.
84084         [BZ #12078]
84085         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84086         (parse_sub_exp): Fix last change, use postorder.
84088         * posix/bug-regex31.c: New file.
84089         * posix/Makefile: Add rules to build and run bug-regex31.
84091         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84093         [BZ #12078]
84094         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84096         [BZ #12108]
84097         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84098         to have entries in sys_siglist.
84100         [BZ #12093]
84101         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84102         be NULL.
84104 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
84106         [BZ #3268]
84107         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84108         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84109         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84110         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84111         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84112         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84113         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84114         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84115         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84116         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84117         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84118         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84119         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84120         * math/ftestexcept.c (fetestexcept): Likewise.
84121         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84122         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84123         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84124         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84125         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84126         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84127         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84129 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84131         [BZ #12107]
84132         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84133         newline.
84135 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
84137         * string/bug-strstr1.c: New file.
84138         * string/Makefile: Add rules to build and run bug-strstr1.
84140 2010-10-05  Eric Blake  <eblake@redhat.com>
84142         [BZ #12092]
84143         * string/str-two-way.h (two_way_long_needle): Always clear memory
84144         when skipping input due to the shift table.
84146 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
84148         [BZ #12005]
84149         * malloc/mcheck.c: Handle large requests.
84151         [BZ #12077]
84152         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84153         for strncmp and strncasecmp.
84154         * string/stratcliff.c: Add tests for strcmp and strncmp.
84155         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84157 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84159         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84160         __set_fpscr.
84162 2010-09-30  Andreas Jaeger  <aj@suse.de>
84164         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84165         (CGROUP_SUPER_MAGIC): Define.
84166         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84167         Handle btrfs and cgroup file systems.
84168         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84169         Likewise.
84171 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
84173         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84174         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84176 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84178         [BZ #12067]
84179         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84180         trying to locate the ELF header.
84182 2010-09-27  Andreas Schwab  <schwab@redhat.com>
84184         [BZ #11611]
84185         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84186         Mask out sign-bit copies when constructing f_fsid.
84188 2010-09-24  Petr Baudis <pasky@suse.cz>
84190         * debug/stack_chk_fail_local.c: Add missing licence exception.
84191         * debug/warning-nop.c: Likewise.
84193 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
84195         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84196         implementing getdents64 using getdents syscall, set d_type if
84197         __ASSUME_GETDENTS32_D_TYPE.
84199 2010-09-16  Andreas Schwab  <schwab@redhat.com>
84201         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84202         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84204 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
84206         [BZ #12037]
84207         * posix/unistd.h: Undo change of feature selection for ftruncate from
84208         2010-01-11.
84210 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
84212         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84213         detection.
84215 2010-09-20  Andreas Schwab  <schwab@redhat.com>
84217         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84218         fanotify_mark.
84219         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84221 2010-09-14  Andreas Schwab  <schwab@redhat.com>
84223         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84224         variables after CHECK_SP call.
84225         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84227 2010-09-13  Andreas Schwab  <schwab@redhat.com>
84228             Ulrich Drepper  <drepper@redhat.com>
84230         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84231         re-relocationg ld.so.
84232         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84233         _dl_init_paths call.
84234         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
84235         here anymore.
84237 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
84239         * resolv/res_init.c (__res_vinit): Count the default server we added.
84241 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
84242             Ulrich Drepper  <drepper@redhat.com>
84244         [BZ #11968]
84245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84246         (____longjmp_chk): Use %ebx for saving value across system call.
84247         Add unwind info.
84249 2010-09-06  Andreas Schwab  <schwab@redhat.com>
84251         * manual/Makefile: Don't mix pattern rules with normal rules.
84253 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
84255         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84256         operation.
84257         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84258         * libio/iofopncook.c (_IO_cookie_init): Likewise.
84259         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84260         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84262         Likewise.
84264 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
84266         [BZ #11979]
84267         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84268         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84270 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
84272         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84273         * sysdeps/x86_64/addmul_1.S: Likewise.
84274         * sysdeps/x86_64/lshift.S: Likewise.
84275         * sysdeps/x86_64/mul_1.S: Likewise.
84276         * sysdeps/x86_64/rshift.S: Likewise.
84277         * sysdeps/x86_64/sub_n.S: Likewise.
84278         * sysdeps/x86_64/submul_1.S: Likewise.
84280 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84282         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84283         Define __sched_param instead of SCHED_* and sched_param when
84284         <bits/sched.h> is included with __need_schedparam defined.
84285         * bits/sched.h [__need_schedparam]
84286         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84287         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84288         (__defined_schedparam): Define to 1.
84289         (__sched_param): New structure, identical to sched_param.
84290         (__need_schedparam): Undefine.
84292 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
84294         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84295         (epoll_create1): Declare.
84297         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84299 2010-08-31  Andreas Schwab  <schwab@redhat.com>
84301         [BZ #7066]
84302         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84303         shifting retval into place.
84305 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
84307         * nis/rpcsvc/nis.h: Update copyright notice.
84308         * nis/rpcsvc/nis.x: Likewise.
84309         * nis/rpcsvc/nis_callback.h: Likewise.
84310         * nis/rpcsvc/nis_callback.x: Likewise.
84311         * nis/rpcsvc/nis_object.x: Likewise.
84312         * nis/rpcsvc/nis_tags.h: Likewise.
84313         * nis/rpcsvc/yp.h: Likewise.
84314         * nis/rpcsvc/yp.x: Likewise.
84315         * nis/rpcsvc/ypupd.h: Likewise.
84316         * nis/yp_xdr.c: Likewise.
84317         * nis/ypupdate_xdr.c: Likewise.
84319         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
84320         mainly the body of pmap_getport.  Add parameters to specify timeouts.
84321         (pmap_getport): Use __libc_rpc_getport.
84322         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84323         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84324         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84326 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
84328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84329         fanotify_mark.
84331 2010-08-27  Roland McGrath  <roland@redhat.com>
84333         * sysdeps/i386/i686/multiarch/Makefile
84334         (CFLAGS-varshift.c): New variable.
84336 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
84338         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84339         * sysdeps/i386/i686/multiarch/varshift.c: New file.
84341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84343         * sysdeps/x86_64/strlen.S: Minimal code improvement.
84345 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
84347         * sysdeps/x86_64/strlen.S: Unroll the loop.
84348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84349         strlen-sse2 strlen-sse2-bsf.
84350         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84351         __strlen_no_bsf if bit_Slow_BSF is set.
84352         (__strlen_sse42): Removed.
84353         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84354         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84356 2010-08-25  Roland McGrath  <roland@redhat.com>
84358         * sysdeps/x86_64/multiarch/varshift.S: File removed.
84359         * sysdeps/x86_64/multiarch/varshift.c: New file.
84360         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84361         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84362         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84363         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84365 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
84367         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84368         strlen-sse2 strlen-sse2-bsf.
84369         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84370         __strlen_sse2_bsf if bit_Slow_BSF is unset.
84371         (__strlen_sse2): Removed.
84372         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84373         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84375         bit_Slow_BSF for Atom.
84376         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84377         (index_Slow_BSF): Define.
84378         (HAS_SLOW_BSF): Define.
84380 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
84382         [BZ #10851]
84383         * resolv/res_init.c (__res_vinit): When no server address at all
84384         is given default to loopback.
84386 2010-08-24  Roland McGrath  <roland@redhat.com>
84388         * configure.in: Remove config-name.h generation.
84389         * configure: Regenerated.
84390         * config-name.in: File removed.
84391         * scripts/config-uname.sh: New file.
84392         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84393         ($(objdir)config-name.h): New target.
84395         * sunrpc/rpc_parse.h: Avoid nested comment.
84397 2010-08-24  Richard Henderson  <rth@redhat.com>
84398             Ulrich Drepper  <drepper@redhat.com>
84399             H.J. Lu  <hongjiu.lu@intel.com>
84401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84403         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84404         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
84405         _mm_alignr_epi8 with _mm_loadu_si128.
84406         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84407         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84408         (__m128i_shift_right): Removed.
84409         * sysdeps/i386/i686/multiarch/varshift.h: New file.
84410         * sysdeps/i386/i686/multiarch/varshift.S: New file.
84411         * sysdeps/x86_64/multiarch/varshift.h: New file.
84412         * sysdeps/x86_64/multiarch/varshift.S: New file.
84414 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
84416         * configure.in: Move assembler checks to before sysdep dir checking.
84418 2010-08-20  Petr Baudis  <pasky@suse.cz>
84420         * LICENSES: Sync the sunrpc license.
84422 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
84424         * sunrpc/auth_des.c: Update copyright notice once again.
84425         * sunrpc/auth_none.c: Likewise.
84426         * sunrpc/auth_unix.c: Likewise.
84427         * sunrpc/authdes_prot.c: Likewise.
84428         * sunrpc/authuxprot.c: Likewise.
84429         * sunrpc/bindrsvprt.c: Likewise.
84430         * sunrpc/clnt_gen.c: Likewise.
84431         * sunrpc/clnt_perr.c: Likewise.
84432         * sunrpc/clnt_raw.c: Likewise.
84433         * sunrpc/clnt_simp.c: Likewise.
84434         * sunrpc/clnt_tcp.c: Likewise.
84435         * sunrpc/clnt_udp.c: Likewise.
84436         * sunrpc/clnt_unix.c: Likewise.
84437         * sunrpc/des_crypt.c: Likewise.
84438         * sunrpc/des_soft.c: Likewise.
84439         * sunrpc/get_myaddr.c: Likewise.
84440         * sunrpc/getrpcport.c: Likewise.
84441         * sunrpc/key_call.c: Likewise.
84442         * sunrpc/key_prot.c: Likewise.
84443         * sunrpc/openchild.c: Likewise.
84444         * sunrpc/pm_getmaps.c: Likewise.
84445         * sunrpc/pm_getport.c: Likewise.
84446         * sunrpc/pmap_clnt.c: Likewise.
84447         * sunrpc/pmap_prot.c: Likewise.
84448         * sunrpc/pmap_prot2.c: Likewise.
84449         * sunrpc/pmap_rmt.c: Likewise.
84450         * sunrpc/rpc/auth.h: Likewise.
84451         * sunrpc/rpc/auth_unix.h: Likewise.
84452         * sunrpc/rpc/clnt.h: Likewise.
84453         * sunrpc/rpc/des_crypt.h: Likewise.
84454         * sunrpc/rpc/key_prot.h: Likewise.
84455         * sunrpc/rpc/netdb.h: Likewise.
84456         * sunrpc/rpc/pmap_clnt.h: Likewise.
84457         * sunrpc/rpc/pmap_prot.h: Likewise.
84458         * sunrpc/rpc/pmap_rmt.h: Likewise.
84459         * sunrpc/rpc/rpc.h: Likewise.
84460         * sunrpc/rpc/rpc_des.h: Likewise.
84461         * sunrpc/rpc/rpc_msg.h: Likewise.
84462         * sunrpc/rpc/svc.h: Likewise.
84463         * sunrpc/rpc/svc_auth.h: Likewise.
84464         * sunrpc/rpc/types.h: Likewise.
84465         * sunrpc/rpc/xdr.h: Likewise.
84466         * sunrpc/rpc_clntout.c: Likewise.
84467         * sunrpc/rpc_cmsg.c: Likewise.
84468         * sunrpc/rpc_common.c: Likewise.
84469         * sunrpc/rpc_cout.c: Likewise.
84470         * sunrpc/rpc_dtable.c: Likewise.
84471         * sunrpc/rpc_hout.c: Likewise.
84472         * sunrpc/rpc_main.c: Likewise.
84473         * sunrpc/rpc_parse.c: Likewise.
84474         * sunrpc/rpc_parse.h: Likewise.
84475         * sunrpc/rpc_prot.c: Likewise.
84476         * sunrpc/rpc_sample.c: Likewise.
84477         * sunrpc/rpc_scan.c: Likewise.
84478         * sunrpc/rpc_scan.h: Likewise.
84479         * sunrpc/rpc_svcout.c: Likewise.
84480         * sunrpc/rpc_tblout.c: Likewise.
84481         * sunrpc/rpc_util.c: Likewise.
84482         * sunrpc/rpc_util.h: Likewise.
84483         * sunrpc/rpcinfo.c: Likewise.
84484         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84485         * sunrpc/rpcsvc/key_prot.x: Likewise.
84486         * sunrpc/rpcsvc/klm_prot.x: Likewise.
84487         * sunrpc/rpcsvc/mount.x: Likewise.
84488         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84489         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84490         * sunrpc/rpcsvc/rex.x: Likewise.
84491         * sunrpc/rpcsvc/rstat.x: Likewise.
84492         * sunrpc/rpcsvc/rusers.x: Likewise.
84493         * sunrpc/rpcsvc/sm_inter.x: Likewise.
84494         * sunrpc/rpcsvc/spray.x: Likewise.
84495         * sunrpc/rpcsvc/yppasswd.x: Likewise.
84496         * sunrpc/rtime.c: Likewise.
84497         * sunrpc/svc.c: Likewise.
84498         * sunrpc/svc_auth.c: Likewise.
84499         * sunrpc/svc_authux.c: Likewise.
84500         * sunrpc/svc_raw.c: Likewise.
84501         * sunrpc/svc_run.c: Likewise.
84502         * sunrpc/svc_simple.c: Likewise.
84503         * sunrpc/svc_tcp.c: Likewise.
84504         * sunrpc/svc_udp.c: Likewise.
84505         * sunrpc/svc_unix.c: Likewise.
84506         * sunrpc/svcauth_des.c: Likewise.
84507         * sunrpc/xcrypt.c: Likewise.
84508         * sunrpc/xdr.c: Likewise.
84509         * sunrpc/xdr_array.c: Likewise.
84510         * sunrpc/xdr_float.c: Likewise.
84511         * sunrpc/xdr_mem.c: Likewise.
84512         * sunrpc/xdr_rec.c: Likewise.
84513         * sunrpc/xdr_ref.c: Likewise.
84514         * sunrpc/xdr_sizeof.c: Likewise.
84515         * sunrpc/xdr_stdio.c: Likewise.
84517         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84518         handling.
84520 2010-08-19  Andreas Schwab  <schwab@redhat.com>
84522         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84524 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
84526         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84527         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84528         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84529         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84530         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84531         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84532         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84533         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84535         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84536         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84537         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84538         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84539         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84541 2010-07-26  Anton Blanchard  <anton@samba.org>
84543         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84544         * malloc/arena.c (heap_trim): Likewise.
84546 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
84548         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84549         here.  Not...
84550         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84551         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84553 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
84555         * sysdeps/i386/elf/Makefile: New file.
84557 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84559         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84560         from fanotify_init.
84561         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84564 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
84566         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84567         of strncasecmp_l.
84568         * sysdeps/multiarch/strcmp.S: Likewise.
84570 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
84572         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84573         strncase_l-nonascii.
84574         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84575         Add strncase_l-ssse3.
84576         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84577         * sysdeps/x86_64/strcmp.S: Likewise.
84578         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84579         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84580         * sysdeps/x86_64/strncase.S: New file.
84581         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84582         * sysdeps/x86_64/strncase_l.S: New file.
84583         * string/Makefile (strop-tests): Add strncasecmp.
84584         * string/test-strncasecmp.c: New file.
84586         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84587         warning.
84589         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84590         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84592 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84594         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84596 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
84598         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84599         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84600         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84602 2010-05-01  Alan Modra  <amodra@gmail.com>
84604         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84605         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84606         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84607         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84608         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84609         tidying.  Don't tail-call __sigjmp_save for static lib.
84610         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84611         save location.
84612         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84613         (CALL_MCOUNT): Add eh info, and nop after bl.
84614         (TAIL_CALL_SYSCALL_ERROR): New macro.
84615         (PSEUDO_RET): Use it.
84616         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84617         Correct save location of integer regs and cr.
84618         (_dl_profile_resolve): Correct cr save location.  Delete nops
84619         after bl when SHARED.  Reduce cfi size a little by better
84620         placement of cfi directives.
84621         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84622         make a stack frame.  Instead use parm save area as a temp.
84623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84624         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
84625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84626         Don't make a stack frame for parent, use parm save area.
84627         Increase child stack frame to 112 bytes.  Don't save unused reg,
84628         and adjust reg usage.  Set up cfi on error recovery and
84629         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84631         (__makecontext): Add dummy nop after jump to exit.
84632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84633         Use correct parm save area and cr save, reduce stack frame.
84634         Correct cfi for possible PSEUDO_RET frame setup.
84635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84636         Branch to local label emitted by PSEUDO_RET rather than
84637         __syscall_error.
84639 2010-08-12  Andreas Schwab  <schwab@redhat.com>
84641         [BZ #11904]
84642         * locale/programs/locale.c (print_assignment): New function.
84643         (show_locale_vars): Use it.
84645 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
84647         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84648         field.
84649         (struct statfs64): Likewise.
84650         (_STATFS_F_FLAGS): Define.
84651         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84653         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84654         (ST_VALID): Define locally.
84655         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84656         __statvfs_getflags, use the provided value.
84657         * sysdeps/unix/sysv/linux/kernel-features.h: Define
84658         __ASSUME_STATFS_F_FLAGS.
84660         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84662         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84663         Add sys/fanotify.h.
84664         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84665         fanotify_mask for GLIBC_2.13.
84666         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84667         fanotify_init and fanotify_mark.
84668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84669         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84671         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84672         Add prlimit.
84673         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84674         prlimit64 for GLIBC_2.13.
84675         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84676         prlimit64.
84677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84678         syscall.
84679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84680         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84681         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84682         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
84684         add prlimit alias.
84685         * sysdeps/unix/sysv/linux/prlimit.c: New file.
84687         [BZ #11903]
84688         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84689         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84691         * nss/Makefile: Add rules to build and run tst-nss-test1.
84692         * shlib-versions: Add entry for libnss_test1.
84693         * nss/nss_test1.c: New file.
84694         * nss/tst-nss-test1.c: New file.
84696         * nss/nsswitch.c (__nss_database_custom): Define new variable.
84697         (__nss_configure_lookup): Set appropriate entry in
84698         __nss_configure_lookup to true.
84699         * nss/nsswitch.h: Define enum with indeces of databases in
84700         databases and __nss_database_custom arrays.  Declare
84701         __nss_database_custom.
84702         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84703         to avoid using nscd when custom rules are installed.
84704         * nss/getXXbyYY_r.c: Likewise.
84705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84707         * nss/nss_files/files-parse.c: Whitespace fixes.
84709 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
84711         [BZ #11883]
84712         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84713         * posix/fnmatch_loop.c: Likewise.
84715 2010-07-17  Andi Kleen  <ak@linux.intel.com>
84717         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84718         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84719         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84720         * Versions.def [GLIBC_2.13]: Add.
84722 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
84724         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84725         Also fail if tpwd after pwuid call is NULL.
84727 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84729         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84730         when converting to ms.
84732 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84734         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84735         EOPNOTSUPP errors with ENOTTY.
84736         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84737         EOPNOTSUPP errors with ENOTTY.
84739 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
84741         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84742         Add strcasecmp_l-ssse3.
84743         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84744         strcasecmp.
84745         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84746         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84747         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84749 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
84751         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84753         * string/Makefile (strop-tests): Add strcasecmp.
84754         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84755         strcasecmp_l-nonascii.
84756         (gen-as-const-headers): Add locale-defines.sym.
84757         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84758         * sysdeps/x86_64/strcasecmp.S: New file.
84759         * sysdeps/x86_64/strcasecmp_l.S: New file.
84760         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84761         * sysdeps/x86_64/locale-defines.sym: New file.
84762         * string/test-strcasecmp.c: New file.
84764         * string/test-strcasestr.c: Test both ends of the range of characters.
84765         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84767 2010-07-29  Roland McGrath  <roland@redhat.com>
84769         [BZ #11856]
84770         * manual/locale.texi (Yes-or-No Questions): Fix example code.
84772 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
84774         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84775         for ld.so.
84777 2010-07-27  Andreas Schwab  <schwab@redhat.com>
84779         * manual/memory.texi (Malloc Tunable Parameters): Document
84780         M_PERTURB.
84782 2010-07-26  Roland McGrath  <roland@redhat.com>
84784         [BZ #11840]
84785         * configure.in (-fgnu89-inline check): Set and substitute
84786         gnu89_inline, not libc_cv_gnu89_inline.
84787         * configure: Regenerated.
84788         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84790 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
84792         * string/test-strnlen.c: New file.
84793         * string/Makefile (strop-tests): Add strnlen.
84794         * string/tester.c (test_strnlen): Add a few more test cases.
84795         * string/tst-strlen.c: Better error reporting.
84797         * sysdeps/x86_64/strnlen.S: New file.
84799 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
84801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84802         lower-latency instructions.
84804 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
84806         * string/test-strcasestr.c: New file.
84807         * string/test-strstr.c: New file.
84808         * string/Makefile (strop-tests): Add strstr and strcasestr.
84809         * string/str-two-way.h: Don't undefine MAX.
84810         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84812 2010-07-21  Andreas Schwab  <schwab@redhat.com>
84814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84815         strcasestr-nonascii.
84816         (CFLAGS-strcasestr-nonascii.c): Define.
84817         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84819         Remove unused attribute.
84821 2010-07-20  Roland McGrath  <roland@redhat.com>
84823         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84824         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
84825         ld.so.cache was broken.  With it, there is no way to disable dsocaps
84826         like LD_HWCAP_MASK can disable hwcaps.
84828 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84830         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84832 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
84834         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84835         call in strcasestr.
84836         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84837         __strcasestr_sse42_nonascii.
84838         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84839         strcasestr-nonascii.c.
84840         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84842 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
84844         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84845         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84846         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84847         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84849 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
84851         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84852         fcntl.
84854 2010-07-06  Andreas Schwab  <schwab@redhat.com>
84856         [BZ #11577]
84857         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84858         dl_signal_cerror.
84860 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
84862         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84863         _PC_PIPE_BUF using F_GETPIPE_SZ.
84865 2010-07-05  Roland McGrath  <roland@redhat.com>
84867         * manual/arith.texi (Rounding Functions): Fix rint description
84868         implicit in round description.
84870 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
84872         * elf/Makefile: Fix linking for a few tests to make recent linker
84873         happy.
84875 2010-06-30  Andreas Schwab  <schwab@redhat.com>
84877         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84878         $(common-objpfx)libc_nonshared.a.
84880 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
84882         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
84883         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
84884         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84885         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84886         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
84887         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
84888         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84889         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
84891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
84892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
84893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
84895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
84897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
84898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
84899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
84900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
84902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
84904         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
84905         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
84906         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
84907         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
84908         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
84909         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
84910         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
84911         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
84912         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
84913         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
84914         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
84915         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
84916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
84917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
84918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
84919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
84920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
84921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
84922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
84923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
84924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
84925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
84926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
84927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
84928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
84929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
84931 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
84933         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
84934         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
84935         * string/memmove.c (memmove): Renamed to ...
84936         (MEMMOVE): ...this.  Default to memmove.
84937         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
84938         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
84939         (END_CHK): Define.
84940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84941         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
84942         mempcpy-ssse3-back memmove-ssse3-back.
84943         * sysdeps/x86_64/multiarch/bcopy.S: New file .
84944         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
84945         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
84946         * sysdeps/x86_64/multiarch/memcpy.S: New file.
84947         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
84948         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
84949         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
84950         * sysdeps/x86_64/multiarch/memmove.c: New file.
84951         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
84952         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
84953         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
84954         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
84955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
84956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
84957         Define.
84958         (index_Fast_Copy_Backward): Define.
84959         (HAS_ARCH_FEATURE): Define.
84960         (HAS_FAST_REP_STRING): Define.
84961         (HAS_FAST_COPY_BACKWARD): Define.
84963 2010-06-21  Andreas Schwab  <schwab@redhat.com>
84965         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84966         Restore proper fallback handling.
84968 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
84970         [BZ #11701]
84971         * posix/group_member.c (__group_member): Correct checking loop.
84973         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
84974         OOM in getpwuid_r correctly.  Return error number when the caller
84975         should return, otherwise -1.
84976         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
84977         call returning > 0 value.
84978         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
84980 2010-06-07  Andreas Schwab  <schwab@redhat.com>
84982         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
84983         libc_nonshared.a from targets in modules-names.
84985 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
84987         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
84988         requires it.
84990 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
84992         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
84993         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
84994         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
84995         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
84997 2010-06-02  Andreas Schwab  <schwab@redhat.com>
84999         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85001 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85003         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85004         and F_GETPIPE_SZ.
85005         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85006         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85009         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85010         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85012 2010-06-14  Roland McGrath  <roland@redhat.com>
85014         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85016 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85018         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85019         __REDIRECT followed by __THROW.
85020         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85021         * posix/getopt.h (getopt): Likewise.
85023 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85025         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85026         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85027         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85028         in AT_FLAGS.
85029         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85030         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85032 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85034         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85036 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85038         [BZ #11640]
85039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85040         Properly check family and model.
85042 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85044         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85046 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85048         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85050 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85052         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85053         symbol reference.
85055 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85057         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85058         symbol reference.
85060 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85062         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85063         and internal_recvmmsg.
85064         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85065         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85066         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85067         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85069         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85070         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85071         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85073 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85075         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85077 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
85079         POWER7 optimizations.
85080         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85081         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85083 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
85085         * version.h: Update for 2.13 development version.
85087 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
85089         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85090         exceptions.  Return 0.
85092 2010-05-07  Roland McGrath  <roland@redhat.com>
85094         * elf/ldconfig.c (main): Add a const.
85096 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
85098         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85099         (args_options): Add no-idn option.
85100         (ahosts_keys_int): Add idn_flags to ai_flags.
85101         (parse_option): Handle 'i' option to clear idn_flags.
85103         * malloc/malloc.c (_int_free): Possible race in the most recently
85104         added check.  Only act on the data if no current modification
85105         happened.
85107 See ChangeLog.17 for earlier changes.